Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 95.86 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 173.3 MB / 200.8 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.727e-05, allocations: 5.828 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007074/0.007101, allocations: 4.845 MB / 272.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.02217, allocations: 10.14 MB / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008153/0.02299, allocations: 47.5 kB / 282.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.02492, allocations: 0.6143 MB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.02835, allocations: 1.055 MB / 284 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.03022, allocations: 0.6134 MB / 284.6 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.0328, allocations: 1.409 MB / 286 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.03307, allocations: 113.7 kB / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.03367, allocations: 418.9 kB / 286.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/0.03406, allocations: 231.1 kB / 286.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.03413, allocations: 35.94 kB / 286.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.03564, allocations: 0.6712 MB / 287.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.03577, allocations: 111.3 kB / 287.6 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.03619, allocations: 223.2 kB / 287.8 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.03811, allocations: 1.332 MB / 289.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.03811, allocations: 0 / 289.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03811, allocations: 3.938 kB / 289.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.03812, allocations: 0 / 289.1 MB, free: 0.8203 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.1116/0.1497, allocations: 1.437 MB / 290.6 MB, free: 34.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1497, allocations: 11.36 kB / 290.6 MB, free: 34.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.1499, allocations: 143.1 kB / 290.7 MB, free: 34.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1509, allocations: 0.7463 MB / 291.5 MB, free: 33.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.151, allocations: 20.97 kB / 291.5 MB, free: 33.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.151, allocations: 27.66 kB / 291.5 MB, free: 33.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1516, allocations: 282.2 kB / 291.8 MB, free: 33.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1516, allocations: 1.031 kB / 291.8 MB, free: 33.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1516, allocations: 11.08 kB / 291.8 MB, free: 33.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1516, allocations: 13.5 kB / 291.8 MB, free: 33.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.1521, allocations: 243.2 kB / 292.1 MB, free: 33.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.154, allocations: 1.413 MB / 293.5 MB, free: 32.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.1546, allocations: 238.5 kB / 293.7 MB, free: 32.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.1549, allocations: 187.6 kB / 293.9 MB, free: 32.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003356/0.1583, allocations: 1.616 MB / 295.5 MB, free: 32.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.1587, allocations: 191.1 kB / 295.7 MB, free: 31.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.1587, allocations: 1.062 kB / 295.7 MB, free: 31.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001512/0.1602, allocations: 0.5614 MB / 296.3 MB, free: 31.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.1602, allocations: 59.27 kB / 296.3 MB, free: 31.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1613, allocations: 1.075 MB / 297.4 MB, free: 31.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1613, allocations: 31.59 kB / 297.4 MB, free: 31.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.1617, allocations: 0.5487 MB / 298 MB, free: 30.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.1617, allocations: 109.8 kB / 298.1 MB, free: 30.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1618, allocations: 85.64 kB / 298.2 MB, free: 30.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.1619, allocations: 0.4972 MB / 298.7 MB, free: 30.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.1622, allocations: 101.8 kB / 298.8 MB, free: 30.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.1624, allocations: 272.6 kB / 299 MB, free: 29.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.1629, allocations: 400.3 kB / 299.4 MB, free: 29.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1629, allocations: 1.5 kB / 299.4 MB, free: 29.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00088/0.1638, allocations: 0.5247 MB / 299.9 MB, free: 29.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1638, allocations: 10.14 kB / 300 MB, free: 29.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.506e-05/0.1639, allocations: 32.25 kB / 300 MB, free: 29.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002738/0.1642, allocations: 65.94 kB / 300 MB, free: 29.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.1645, allocations: 73.38 kB / 300.1 MB, free: 29.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.1661, allocations: 3.643 MB / 303.8 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1664, allocations: 43.5 kB / 303.8 MB, free: 25.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.1664, allocations: 15.52 kB / 303.8 MB, free: 25.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.1666, allocations: 253.8 kB / 304.1 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1668, allocations: 116.5 kB / 304.2 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.1677, allocations: 480.2 kB / 304.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1677, allocations: 4.219 kB / 304.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1677, allocations: 3.875 kB / 304.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1677, allocations: 1.266 kB / 304.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.1684, allocations: 0.6034 MB / 305.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.402e-05/0.1685, allocations: 34.05 kB / 305.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.1687, allocations: 41.64 kB / 305.3 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.1689, allocations: 59.47 kB / 305.4 MB, free: 24.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.1689, allocations: 10.81 kB / 305.4 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.1705, allocations: 3.643 MB / 309 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1705, allocations: 1.094 kB / 309.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1715, allocations: 0.5985 MB / 309.6 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.1717, allocations: 112.5 kB / 309.8 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.1718, allocations: 12.42 kB / 309.8 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.172, allocations: 7.047 kB / 309.8 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.1721, allocations: 28 kB / 309.8 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.1721, allocations: 13.19 kB / 309.8 MB, free: 20.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006203/0.1728, allocations: 0.6462 MB / 310.5 MB, free: 20.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1728, allocations: 0 / 310.5 MB, free: 20.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.1734, allocations: 248.6 kB / 310.7 MB, free: 20.29 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0005547/0.1739, allocations: 393.7 kB / 311.1 MB, free: 19.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008224/0.1747, allocations: 0.679 MB / 311.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1747, allocations: 0 / 311.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.1752, allocations: 0.5285 MB / 312.3 MB, free: 18.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.1757, allocations: 122.9 kB / 312.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1775, allocations: 1.511 MB / 313.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1777, allocations: 365.3 kB / 314.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.1779, allocations: 81.2 kB / 314.4 MB, free: 16.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.178, allocations: 44.5 kB / 314.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.178, allocations: 0 / 314.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01391/0.1919, allocations: 8.469 MB / 322.9 MB, free: 8.199 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.775216435897164]