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.001873/0.001873, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002221/0.002221, allocations: 156.9 kB / 24.27 MB, free: 172 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.521/1.521, allocations: 177 MB / 204.4 MB, free: 5.633 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.653e-06/1.653e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.525e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.008765/0.00879, allocations: 4.479 MB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01976/0.02855, allocations: 9.314 MB / 286 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.02961, allocations: 39.56 kB / 286 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.03242, allocations: 0.6298 MB / 286.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.03771, allocations: 1.059 MB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.0405, allocations: 0.6133 MB / 288.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00412/0.04462, allocations: 1.432 MB / 289.8 MB, free: 176 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.04503, allocations: 113.7 kB / 289.9 MB, free: 48 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1174/0.1624, allocations: 412.5 kB / 290.3 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1627, allocations: 223.9 kB / 290.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.415e-05/0.1628, allocations: 31.62 kB / 290.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1642, allocations: 0.668 MB / 291.2 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.1643, allocations: 111.5 kB / 291.3 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.1645, allocations: 222 kB / 291.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.1661, allocations: 1.337 MB / 292.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1661, allocations: 0.9062 kB / 292.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1661, allocations: 1.734 kB / 292.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1661, allocations: 0 / 292.9 MB, free: 15.95 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.00179/0.1679, allocations: 1.273 MB / 294.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1679, allocations: 13.2 kB / 294.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.1681, allocations: 143.5 kB / 294.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009984/0.1691, allocations: 0.7468 MB / 295 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1691, allocations: 22.44 kB / 295.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.1692, allocations: 25.17 kB / 295.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.1698, allocations: 322.3 kB / 295.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1698, allocations: 4.5 kB / 295.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.1699, allocations: 14.16 kB / 295.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1699, allocations: 7.922 kB / 295.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.1705, allocations: 278.2 kB / 295.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.1723, allocations: 1.207 MB / 296.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.1729, allocations: 273.2 kB / 297.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.1733, allocations: 220.8 kB / 297.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00277/0.1761, allocations: 1.389 MB / 298.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.1765, allocations: 199.2 kB / 299 MB, free: 13.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.1765, allocations: 0 / 299 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001375/0.1779, allocations: 0.5703 MB / 299.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1779, allocations: 62.7 kB / 299.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.1787, allocations: 0.7972 MB / 300.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1787, allocations: 31.17 kB / 300.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.179, allocations: 444.2 kB / 300.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.1791, allocations: 115.9 kB / 301 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.1792, allocations: 74.48 kB / 301 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.1792, allocations: 319 kB / 301.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.1795, allocations: 122.3 kB / 301.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.1798, allocations: 226.9 kB / 301.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.1813, allocations: 0.7118 MB / 302.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1813, allocations: 1.375 kB / 302.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009533/0.1823, allocations: 0.5307 MB / 302.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1823, allocations: 6.156 kB / 302.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.324e-05/0.1823, allocations: 34.59 kB / 303 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.1825, allocations: 33.14 kB / 303 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1828, allocations: 94.45 kB / 303.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007266/0.1836, allocations: 1.32 MB / 304.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.1839, allocations: 40.47 kB / 304.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.184, allocations: 19.41 kB / 304.5 MB, free: 10.53 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.000247/0.1842, allocations: 212.8 kB / 304.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1843, allocations: 115.3 kB / 304.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/0.1853, allocations: 495.2 kB / 305.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1853, allocations: 3.188 kB / 305.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1853, allocations: 3.938 kB / 305.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1853, allocations: 3.484 kB / 305.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.1858, allocations: 460.7 kB / 305.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/0.1859, allocations: 39.92 kB / 305.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.1862, allocations: 63.09 kB / 305.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.1863, allocations: 29.17 kB / 305.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.1863, allocations: 17.67 kB / 305.9 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006175/0.1869, allocations: 1.31 MB / 307.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1869, allocations: 0.875 kB / 307.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.188, allocations: 0.6203 MB / 307.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.1881, allocations: 113.9 kB / 307.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.1882, allocations: 0 / 307.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.1885, allocations: 16.59 kB / 307.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.1886, allocations: 25.34 kB / 308 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.1886, allocations: 26 kB / 308 MB, free: 8.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004839/0.1891, allocations: 0.5357 MB / 308.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1891, allocations: 0 / 308.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000647/0.1897, allocations: 247.4 kB / 308.8 MB, free: 7.859 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.0005314/0.1902, allocations: 389.5 kB / 309.2 MB, free: 7.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007976/0.191, allocations: 474.6 kB / 309.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.191, allocations: 0 / 309.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.1914, allocations: 313.2 kB / 309.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.192, allocations: 122.6 kB / 310 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.1943, allocations: 1.629 MB / 311.7 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1945, allocations: 366.1 kB / 312 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.1947, allocations: 86.28 kB / 312.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.1948, allocations: 46.97 kB / 312.2 MB, free: 6.227 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1948, allocations: 0 / 312.2 MB, free: 6.227 MB / 266.7 MB Notification: Performance of Templates: time 0.01439/0.2092, allocations: 8.268 MB / 320.4 MB, free: 14.17 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] 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.673262736061588]