Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 111.3 kB / 16.92 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 44.83 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08511, allocations: 49.43 MB / 350 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006207/0.09136, allocations: 5.074 MB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1032, allocations: 10.79 MB / 365.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.1038, allocations: 7.938 kB / 365.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.1055, allocations: 0.679 MB / 366.6 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.1081, allocations: 1.018 MB / 367.6 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1095, allocations: 0.596 MB / 368.2 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1114, allocations: 1.365 MB / 369.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.1116, allocations: 173.2 kB / 369.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1119, allocations: 286.5 kB / 370 MB, free: 360 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.1122, allocations: 313.9 kB / 370.3 MB, free: 44 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.1123, allocations: 32 kB / 370.4 MB, free: 12 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1595/0.2718, allocations: 0.7359 MB / 371.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.2721, allocations: 109.3 kB / 371.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.2727, allocations: 403.9 kB / 371.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.275, allocations: 1.26 MB / 372.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.275, allocations: 0.5312 kB / 372.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.275, allocations: 2.156 kB / 372.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.275, allocations: 0 / 372.9 MB, free: 11.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002311/0.2774, allocations: 1.322 MB / 374.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2774, allocations: 8.938 kB / 374.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.2776, allocations: 118.1 kB / 374.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.2788, allocations: 0.7502 MB / 375.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2789, allocations: 19 kB / 375.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.2789, allocations: 32.22 kB / 375.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008743/0.2798, allocations: 317.6 kB / 375.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2798, allocations: 1.344 kB / 375.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.2799, allocations: 9 kB / 375.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.2799, allocations: 12.25 kB / 375.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.2809, allocations: 277.1 kB / 375.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.2832, allocations: 1.368 MB / 377.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/0.2841, allocations: 301.5 kB / 377.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.2847, allocations: 246.2 kB / 377.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00465/0.2893, allocations: 3.59 MB / 381.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000543/0.2899, allocations: 197.5 kB / 381.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.665e-06/0.2899, allocations: 1.469 kB / 381.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002029/0.2919, allocations: 0.7236 MB / 382.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.292, allocations: 57.67 kB / 382.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.2932, allocations: 0.8135 MB / 383 MB, free: 6.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.2932, allocations: 32.58 kB / 383 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.2936, allocations: 454.2 kB / 383.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.2937, allocations: 95.55 kB / 383.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.2939, allocations: 74.69 kB / 383.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.2939, allocations: 326 kB / 383.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.2944, allocations: 118.3 kB / 384.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.2949, allocations: 227.7 kB / 384.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/0.2957, allocations: 359.9 kB / 384.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2958, allocations: 1.156 kB / 384.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001411/0.2972, allocations: 0.5218 MB / 385.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2972, allocations: 6.5 kB / 385.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.438e-05/0.2973, allocations: 32.77 kB / 385.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.2976, allocations: 57.95 kB / 385.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.2981, allocations: 68.48 kB / 385.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.3, allocations: 2.857 MB / 388.2 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.3005, allocations: 45.67 kB / 388.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.3006, allocations: 20.31 kB / 388.2 MB, free: 1.742 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003379/0.301, allocations: 200.9 kB / 388.4 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3011, allocations: 114.5 kB / 388.5 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.3027, allocations: 488.9 kB / 389 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3027, allocations: 9.703 kB / 389 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3027, allocations: 0.9375 kB / 389 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3027, allocations: 4.688 kB / 389 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.3036, allocations: 0.5519 MB / 389.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.416e-05/0.3036, allocations: 30.14 kB / 389.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.304, allocations: 40.62 kB / 389.7 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.3042, allocations: 56.2 kB / 389.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.3043, allocations: 18.42 kB / 389.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.3066, allocations: 2.843 MB / 392.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3066, allocations: 3.281 kB / 392.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.3085, allocations: 0.603 MB / 393.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.3088, allocations: 182.8 kB / 393.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.3089, allocations: 6.906 kB / 393.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.3093, allocations: 16.98 kB / 393.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3095, allocations: 26.22 kB / 393.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.3095, allocations: 14.33 kB / 393.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.3105, allocations: 0.5538 MB / 394 MB, free: 13.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3106, allocations: 3.938 kB / 394 MB, free: 13.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3116, allocations: 235.2 kB / 394.2 MB, free: 13.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007531/0.3124, allocations: 361.2 kB / 394.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.3139, allocations: 0.5866 MB / 395.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3139, allocations: 0 / 395.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008759/0.3148, allocations: 448.4 kB / 395.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.3158, allocations: 107 kB / 395.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.3192, allocations: 1.53 MB / 397.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.3198, allocations: 0.9558 MB / 398.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004644/0.3203, allocations: 86.03 kB / 398.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3204, allocations: 47.27 kB / 398.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of SimCode: time 3.677e-06/0.3205, allocations: 0 / 398.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of Templates: time 0.02389/0.3444, allocations: 8.35 MB / 406.7 MB, free: 6.473 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches