Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 87.58 kB / 21.18 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 161 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.062/1.062, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.37e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006792/0.006826, allocations: 4.899 MB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.02138, allocations: 10.2 MB / 288.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.02246, allocations: 39.56 kB / 288.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.02468, allocations: 0.6224 MB / 288.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.02901, allocations: 1.055 MB / 289.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.03105, allocations: 0.6057 MB / 290.4 MB, free: 8 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1394/0.1705, allocations: 1.464 MB / 291.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.1708, allocations: 106.7 kB / 291.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/0.1715, allocations: 420.7 kB / 292.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.1719, allocations: 233.8 kB / 292.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.172, allocations: 31.62 kB / 292.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.1736, allocations: 0.6692 MB / 293.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1737, allocations: 113.1 kB / 293.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.174, allocations: 224.2 kB / 293.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.1759, allocations: 1.057 MB / 294.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1759, allocations: 1.281 kB / 294.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1759, allocations: 0.5625 kB / 294.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.888e-05/0.1759, allocations: 0 / 294.7 MB, free: 15.43 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.002442/0.1784, allocations: 1.396 MB / 296.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1784, allocations: 9.938 kB / 296.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.1787, allocations: 141 kB / 296.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.1796, allocations: 0.7545 MB / 297 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.1797, allocations: 19.31 kB / 297 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.1797, allocations: 26.58 kB / 297 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.1802, allocations: 248.5 kB / 297.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1802, allocations: 3.938 kB / 297.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1802, allocations: 13.42 kB / 297.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.1802, allocations: 6.422 kB / 297.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.1805, allocations: 148 kB / 297.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.1822, allocations: 1.251 MB / 298.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.1827, allocations: 174 kB / 298.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.1829, allocations: 153.3 kB / 299 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/0.1852, allocations: 1.431 MB / 300.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.1854, allocations: 155.2 kB / 300.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.297e-06/0.1854, allocations: 0 / 300.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008855/0.1863, allocations: 437 kB / 301 MB, free: 12.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1863, allocations: 59.61 kB / 301.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009161/0.1873, allocations: 0.8858 MB / 302 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1873, allocations: 31.08 kB / 302 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.1876, allocations: 0.511 MB / 302.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.1877, allocations: 113.2 kB / 302.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1878, allocations: 82.22 kB / 302.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.1878, allocations: 0.4939 MB / 303.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.188, allocations: 62.06 kB / 303.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1881, allocations: 195 kB / 303.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.1885, allocations: 367.4 kB / 303.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1885, allocations: 0.9375 kB / 303.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000505/0.189, allocations: 425.7 kB / 304.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.189, allocations: 6.656 kB / 304.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.926e-05/0.1891, allocations: 39.62 kB / 304.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.1893, allocations: 26.75 kB / 304.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.1895, allocations: 83.64 kB / 304.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007509/0.1902, allocations: 1.781 MB / 306.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1904, allocations: 39.52 kB / 306.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1904, allocations: 18.56 kB / 306.2 MB, free: 9.098 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.000185/0.1906, allocations: 181.6 kB / 306.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.1907, allocations: 116.8 kB / 306.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.1912, allocations: 398.4 kB / 306.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1912, allocations: 3.25 kB / 306.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1912, allocations: 3.938 kB / 306.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1912, allocations: 3.125 kB / 306.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.1917, allocations: 0.5146 MB / 307.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/0.1917, allocations: 30.59 kB / 307.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.1919, allocations: 56.95 kB / 307.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.297e-05/0.192, allocations: 30.03 kB / 307.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.192, allocations: 10.22 kB / 307.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004952/0.1925, allocations: 1.763 MB / 309.3 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1925, allocations: 1.062 kB / 309.3 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.1929, allocations: 463.4 kB / 309.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.193, allocations: 106.6 kB / 309.8 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.1931, allocations: 7.25 kB / 309.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1932, allocations: 13.94 kB / 309.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.1933, allocations: 30.11 kB / 309.9 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1933, allocations: 18.31 kB / 309.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004362/0.1937, allocations: 0.5264 MB / 310.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1937, allocations: 4.031 kB / 310.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007057/0.1945, allocations: 247.8 kB / 310.7 MB, free: 6.012 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.0005225/0.195, allocations: 392.6 kB / 311.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1954, allocations: 458.2 kB / 311.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1954, allocations: 4.062 kB / 311.5 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.1957, allocations: 328.4 kB / 311.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1961, allocations: 114.6 kB / 312 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.1981, allocations: 1.549 MB / 313.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1982, allocations: 156.8 kB / 313.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.1984, allocations: 85.08 kB / 313.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.1985, allocations: 46.16 kB / 313.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1985, allocations: 0 / 313.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of Templates: time 0.01343/0.2119, allocations: 8.324 MB / 322.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.332434882875532]