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.001404/0.001404, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001527/0.001527, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9829/0.9829, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.422e-06/1.422e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.781e-05, allocations: 2.312 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003926/0.003944, allocations: 4.895 MB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007832/0.01178, allocations: 10.19 MB / 288 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.0121, allocations: 43.56 kB / 288 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.01319, allocations: 0.6224 MB / 288.7 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.01479, allocations: 1.058 MB / 289.7 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.123/0.1378, allocations: 0.6044 MB / 290.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.1403, allocations: 1.464 MB / 291.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.1406, allocations: 114 kB / 291.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.1413, allocations: 418.8 kB / 292.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.1416, allocations: 233.7 kB / 292.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.1417, allocations: 33 kB / 292.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1432, allocations: 0.6736 MB / 293.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.1433, allocations: 107.4 kB / 293.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.1436, allocations: 225.6 kB / 293.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.1452, allocations: 1.053 MB / 294.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1452, allocations: 1.688 kB / 294.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1452, allocations: 0.5312 kB / 294.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.1452, allocations: 0 / 294.6 MB, free: 15.34 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.00175/0.1469, allocations: 1.404 MB / 296 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.147, allocations: 12.77 kB / 296 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.1472, allocations: 141.9 kB / 296.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/0.1481, allocations: 0.7408 MB / 296.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1481, allocations: 22.62 kB / 296.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.1482, allocations: 26.03 kB / 297 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.1486, allocations: 247.8 kB / 297.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1486, allocations: 4.906 kB / 297.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.1486, allocations: 18.25 kB / 297.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1487, allocations: 7.562 kB / 297.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.1489, allocations: 140 kB / 297.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1503, allocations: 1.259 MB / 298.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1507, allocations: 175 kB / 298.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1509, allocations: 155.5 kB / 298.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/0.1529, allocations: 1.426 MB / 300.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.1531, allocations: 157.4 kB / 300.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.1531, allocations: 0 / 300.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.000757/0.1539, allocations: 430.2 kB / 300.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1539, allocations: 57.17 kB / 301 MB, free: 12.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.1547, allocations: 0.8921 MB / 301.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1547, allocations: 35.36 kB / 301.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.1549, allocations: 0.5039 MB / 302.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.155, allocations: 118.6 kB / 302.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1551, allocations: 80.58 kB / 302.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.1551, allocations: 0.4917 MB / 303.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.1552, allocations: 64.02 kB / 303.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1554, allocations: 196 kB / 303.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.1557, allocations: 360.3 kB / 303.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1557, allocations: 3.844 kB / 303.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004867/0.1562, allocations: 428.9 kB / 304.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1562, allocations: 7.5 kB / 304.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/0.1563, allocations: 38.69 kB / 304.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.1564, allocations: 28.94 kB / 304.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.1566, allocations: 91.61 kB / 304.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006701/0.1573, allocations: 1.773 MB / 306.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.1575, allocations: 36.64 kB / 306.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1575, allocations: 20.19 kB / 306.1 MB, free: 8.969 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.0001753/0.1577, allocations: 180.5 kB / 306.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.1578, allocations: 117.4 kB / 306.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.1583, allocations: 396 kB / 306.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1583, allocations: 3.125 kB / 306.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1583, allocations: 0.8125 kB / 306.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1583, allocations: 5.203 kB / 306.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1587, allocations: 0.5142 MB / 307.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/0.1587, allocations: 33.91 kB / 307.4 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.1589, allocations: 52.28 kB / 307.4 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.159, allocations: 37.03 kB / 307.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.159, allocations: 11.38 kB / 307.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004506/0.1594, allocations: 1.761 MB / 309.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1594, allocations: 0 / 309.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.1599, allocations: 461.3 kB / 309.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.16, allocations: 112.7 kB / 309.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.16, allocations: 6.938 kB / 309.8 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1601, allocations: 13.27 kB / 309.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.1602, allocations: 26.97 kB / 309.8 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1602, allocations: 14 kB / 309.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003311/0.1606, allocations: 0.5263 MB / 310.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1606, allocations: 4.031 kB / 310.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.1611, allocations: 249.5 kB / 310.6 MB, free: 5.887 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.0004703/0.1616, allocations: 394.3 kB / 311 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.1621, allocations: 446.2 kB / 311.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1621, allocations: 3.938 kB / 311.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.1623, allocations: 337.3 kB / 311.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1626, allocations: 118.8 kB / 311.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1642, allocations: 1.544 MB / 313.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.1643, allocations: 153.7 kB / 313.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.1645, allocations: 82.77 kB / 313.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.1645, allocations: 45.38 kB / 313.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1645, allocations: 0 / 313.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of Templates: time 0.01178/0.1763, allocations: 8.316 MB / 322 MB, free: 12.71 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","",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.161122946999967]