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.002489/0.002489, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002848/0.002848, allocations: 165.3 kB / 24.27 MB, free: 156 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.282e-06/1.282e-06, allocations: 0 / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.571e-05, allocations: 2.312 kB / 272.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007997/0.008023, allocations: 4.864 MB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.02286, allocations: 10.16 MB / 287.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.02363, allocations: 39.56 kB / 287.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.02544, allocations: 0.6259 MB / 288 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.02836, allocations: 1.059 MB / 289 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.0299, allocations: 0.6133 MB / 289.7 MB, free: 456 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.115/0.1449, allocations: 1.424 MB / 291.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1452, allocations: 108.9 kB / 291.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.1457, allocations: 420.4 kB / 291.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.146, allocations: 235.1 kB / 291.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.1461, allocations: 31.97 kB / 291.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.1477, allocations: 0.6702 MB / 292.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.1477, allocations: 112.7 kB / 292.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.148, allocations: 221.3 kB / 292.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.1497, allocations: 1.34 MB / 294.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1497, allocations: 4.906 kB / 294.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1497, allocations: 4.531 kB / 294.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1497, allocations: 0 / 294.2 MB, free: 15.39 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.002022/0.1517, allocations: 1.434 MB / 295.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1518, allocations: 10.89 kB / 295.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1519, allocations: 142.8 kB / 295.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.153, allocations: 0.7477 MB / 296.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.153, allocations: 19.8 kB / 296.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.1531, allocations: 25.88 kB / 296.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.1536, allocations: 287.3 kB / 296.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1536, allocations: 4.922 kB / 296.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.1537, allocations: 16.17 kB / 296.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1537, allocations: 7.766 kB / 296.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.1542, allocations: 235.5 kB / 297.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.1562, allocations: 1.405 MB / 298.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.1568, allocations: 242.2 kB / 298.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.1571, allocations: 186.7 kB / 298.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002824/0.16, allocations: 1.481 MB / 300.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.1603, allocations: 206.9 kB / 300.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.1603, allocations: 0.7031 kB / 300.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001245/0.1616, allocations: 0.5423 MB / 301.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.1616, allocations: 59.94 kB / 301.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.1626, allocations: 1.067 MB / 302.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1626, allocations: 31.02 kB / 302.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.1629, allocations: 0.5388 MB / 302.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.163, allocations: 127.6 kB / 303 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1631, allocations: 84.03 kB / 303.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.1631, allocations: 0.4982 MB / 303.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.1634, allocations: 110.1 kB / 303.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.1637, allocations: 253.5 kB / 303.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.1644, allocations: 0.4954 MB / 304.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1644, allocations: 3.438 kB / 304.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007477/0.1651, allocations: 0.507 MB / 304.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1651, allocations: 11.88 kB / 304.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-05/0.1652, allocations: 37.42 kB / 305 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1654, allocations: 35.95 kB / 305 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.1657, allocations: 89.38 kB / 305.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007843/0.1665, allocations: 1.85 MB / 306.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.1668, allocations: 43.95 kB / 307 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.1668, allocations: 19.75 kB / 307 MB, free: 8.52 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.0002646/0.1671, allocations: 253.5 kB / 307.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1672, allocations: 110.2 kB / 307.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.1681, allocations: 484.6 kB / 307.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1681, allocations: 3.25 kB / 307.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.1681, allocations: 3.094 kB / 307.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1681, allocations: 2.625 kB / 307.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.1687, allocations: 0.5997 MB / 308.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/0.1687, allocations: 41.34 kB / 308.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.169, allocations: 51.92 kB / 308.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.854e-05/0.1691, allocations: 35.34 kB / 308.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.1692, allocations: 10.56 kB / 308.6 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006584/0.1698, allocations: 1.843 MB / 310.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1698, allocations: 3.25 kB / 310.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.1707, allocations: 0.608 MB / 311 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1709, allocations: 107.9 kB / 311.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.171, allocations: 6.438 kB / 311.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1713, allocations: 8.094 kB / 311.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.1713, allocations: 30.88 kB / 311.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.1714, allocations: 18.41 kB / 311.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000538/0.1719, allocations: 0.6453 MB / 311.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1719, allocations: 0 / 311.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006869/0.1726, allocations: 246.3 kB / 312.1 MB, free: 5.129 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.0005385/0.1731, allocations: 395.8 kB / 312.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007552/0.1739, allocations: 0.5231 MB / 313 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1739, allocations: 3.312 kB / 313 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.1743, allocations: 378.6 kB / 313.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.1749, allocations: 119.2 kB / 313.5 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.1771, allocations: 1.633 MB / 315.1 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1773, allocations: 367.4 kB / 315.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.1776, allocations: 86.8 kB / 315.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.1776, allocations: 48.3 kB / 315.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1776, allocations: 0 / 315.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of Templates: time 0.01719/0.1948, allocations: 8.295 MB / 323.9 MB, free: 10.57 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.931657882989384]