Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002282/0.002282, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002791/0.002791, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.711e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007166/0.007193, allocations: 4.859 MB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.02185, allocations: 10.16 MB / 287.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007368/0.02259, allocations: 39.56 kB / 287.2 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.02483, allocations: 0.6298 MB / 287.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.02823, allocations: 1.051 MB / 288.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.02995, allocations: 0.6172 MB / 289.5 MB, free: 372 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1091/0.139, allocations: 1.426 MB / 291 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.1393, allocations: 113.8 kB / 291.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.1398, allocations: 422.3 kB / 291.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.1401, allocations: 232.5 kB / 291.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.1402, allocations: 31.5 kB / 291.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.1416, allocations: 0.6675 MB / 292.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.1417, allocations: 111.4 kB / 292.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.142, allocations: 219.8 kB / 292.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.1435, allocations: 1.343 MB / 294.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1436, allocations: 0.6094 kB / 294.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1436, allocations: 0 / 294.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1436, allocations: 0 / 294.1 MB, free: 15.36 MB / 266.7 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.001861/0.1454, allocations: 1.443 MB / 295.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1455, allocations: 14.48 kB / 295.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.1456, allocations: 142.1 kB / 295.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.1466, allocations: 0.7469 MB / 296.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1466, allocations: 23.25 kB / 296.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1467, allocations: 26.44 kB / 296.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.1472, allocations: 288 kB / 296.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1473, allocations: 7.5 kB / 296.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1473, allocations: 10.38 kB / 296.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1473, allocations: 7.984 kB / 296.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.1478, allocations: 234.6 kB / 297 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.1497, allocations: 1.403 MB / 298.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.1502, allocations: 241.1 kB / 298.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.1506, allocations: 191.8 kB / 298.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002651/0.1532, allocations: 1.486 MB / 300.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.1536, allocations: 200 kB / 300.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.1536, allocations: 1.172 kB / 300.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001226/0.1548, allocations: 0.542 MB / 301.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.1548, allocations: 61.95 kB / 301.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.1557, allocations: 1.068 MB / 302.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1558, allocations: 31.27 kB / 302.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.1561, allocations: 0.541 MB / 302.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.1561, allocations: 121.1 kB / 302.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1562, allocations: 87.75 kB / 303 MB, free: 11.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.1563, allocations: 0.4988 MB / 303.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.1565, allocations: 107.6 kB / 303.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.1568, allocations: 253 kB / 303.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.1575, allocations: 0.491 MB / 304.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1575, allocations: 1.625 kB / 304.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007397/0.1582, allocations: 0.5199 MB / 304.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1582, allocations: 10.72 kB / 304.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.462e-05/0.1583, allocations: 32.28 kB / 304.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.1584, allocations: 42.03 kB / 304.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.1588, allocations: 83.39 kB / 305 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000772/0.1595, allocations: 1.848 MB / 306.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.1598, allocations: 38.56 kB / 306.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1598, allocations: 24.38 kB / 306.9 MB, free: 8.473 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.1601, allocations: 242.6 kB / 307.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.1602, allocations: 123.4 kB / 307.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/0.161, allocations: 488.4 kB / 307.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.161, allocations: 2.906 kB / 307.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.161, allocations: 0 / 307.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.161, allocations: 3.188 kB / 307.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.1615, allocations: 0.6059 MB / 308.3 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.713e-05/0.1616, allocations: 37.45 kB / 308.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.1619, allocations: 48.78 kB / 308.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-05/0.1619, allocations: 38.08 kB / 308.5 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.162, allocations: 15.12 kB / 308.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006426/0.1626, allocations: 1.833 MB / 310.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1626, allocations: 0 / 310.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.1635, allocations: 0.6091 MB / 310.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.1637, allocations: 111.9 kB / 311 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.1637, allocations: 7.031 kB / 311 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.1639, allocations: 14.08 kB / 311.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.164, allocations: 25.38 kB / 311.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.1641, allocations: 14 kB / 311.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005034/0.1646, allocations: 0.6471 MB / 311.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1646, allocations: 0 / 311.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005685/0.1651, allocations: 246.4 kB / 312 MB, free: 5.086 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0005004/0.1656, allocations: 397 kB / 312.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.1663, allocations: 0.53 MB / 312.9 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1663, allocations: 4.062 kB / 312.9 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.1667, allocations: 375.7 kB / 313.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.1672, allocations: 123 kB / 313.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1693, allocations: 1.624 MB / 315 MB, free: 2.973 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.1695, allocations: 368.3 kB / 315.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.1697, allocations: 87.69 kB / 315.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.1698, allocations: 48.5 kB / 315.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1698, allocations: 0 / 315.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01669/0.1865, allocations: 8.285 MB / 323.8 MB, free: 10.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.815608656965196]