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.0011/0.0011, allocations: 80.62 kB / 22.21 MB, free: 2.297 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.001071/0.001071, allocations: 146.2 kB / 25.59 MB, free: 8.605 MB / 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 0.919/0.919, allocations: 173.4 MB / 202.3 MB, free: 8.297 MB / 186.7 MB " [Timeout remaining time 179] 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.243e-06/1.243e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.462e-05, allocations: 2.312 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003753/0.003768, allocations: 4.789 MB / 274 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007883/0.01165, allocations: 9.971 MB / 284 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003513/0.012, allocations: 43.56 kB / 284 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.01309, allocations: 0.6259 MB / 284.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.01455, allocations: 1.051 MB / 285.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.01542, allocations: 0.6137 MB / 286.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.01668, allocations: 1.436 MB / 287.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.01685, allocations: 121.7 kB / 287.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.01731, allocations: 0.5652 MB / 288.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.01754, allocations: 243.1 kB / 288.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.01758, allocations: 32 kB / 288.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007427/0.01832, allocations: 0.6673 MB / 289.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.0184, allocations: 111.3 kB / 289.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.01856, allocations: 223.3 kB / 289.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.01944, allocations: 1.07 MB / 290.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01944, allocations: 0 / 290.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01944, allocations: 4 kB / 290.7 MB, free: 4.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.01945, allocations: 0 / 290.7 MB, free: 4.148 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.001122/0.02057, allocations: 1.424 MB / 292.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.0206, allocations: 8.031 kB / 292.2 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.02072, allocations: 144.2 kB / 292.3 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.0213, allocations: 0.7134 MB / 293 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.02132, allocations: 24.97 kB / 293.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.02136, allocations: 28.31 kB / 293.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.02163, allocations: 230.7 kB / 293.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.02164, allocations: 0 / 293.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.02166, allocations: 16 kB / 293.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.02167, allocations: 8 kB / 293.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.02182, allocations: 119.1 kB / 293.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.02285, allocations: 1.109 MB / 294.6 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.02306, allocations: 167.1 kB / 294.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.02319, allocations: 141.4 kB / 294.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/0.02496, allocations: 1.549 MB / 296.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.02512, allocations: 141.3 kB / 296.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.362e-06/0.02512, allocations: 4 kB / 296.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005975/0.02571, allocations: 416.1 kB / 297 MB, free: 13.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.02574, allocations: 67.33 kB / 297 MB, free: 13.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.02625, allocations: 0.8798 MB / 297.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.02627, allocations: 25.7 kB / 297.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.02655, allocations: 0.5386 MB / 298.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.02661, allocations: 103.1 kB / 298.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.02669, allocations: 83.61 kB / 298.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.02679, allocations: 0.4926 MB / 299.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.02685, allocations: 44.8 kB / 299.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.02697, allocations: 198.9 kB / 299.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.02717, allocations: 267.3 kB / 299.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.02718, allocations: 11.94 kB / 299.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003725/0.02755, allocations: 408.3 kB / 300 MB, free: 10.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.02756, allocations: 12.38 kB / 300.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.0276, allocations: 32 kB / 300.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.02772, allocations: 59.28 kB / 300.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.02788, allocations: 67.89 kB / 300.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.02918, allocations: 3.482 MB / 303.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.02932, allocations: 35.73 kB / 303.7 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.02935, allocations: 16 kB / 303.7 MB, free: 6.469 MB / 282.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.0001384/0.02949, allocations: 180.4 kB / 303.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.02956, allocations: 123.3 kB / 304 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.02998, allocations: 380.7 kB / 304.4 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02998, allocations: 4 kB / 304.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.02998, allocations: 0 / 304.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.02999, allocations: 3.984 kB / 304.4 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.03028, allocations: 382 kB / 304.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.03031, allocations: 28 kB / 304.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.03042, allocations: 47.91 kB / 304.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.03053, allocations: 43.33 kB / 304.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.03055, allocations: 15.98 kB / 304.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.03178, allocations: 3.473 MB / 308.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03178, allocations: 4.125 kB / 308.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.03217, allocations: 432.8 kB / 308.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.03228, allocations: 115.2 kB / 308.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.03233, allocations: 4 kB / 308.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.03244, allocations: 15.98 kB / 309 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.03251, allocations: 31.95 kB / 309 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.03252, allocations: 8 kB / 309 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.03282, allocations: 0.5069 MB / 309.5 MB, free: 384 kB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03282, allocations: 0 / 309.5 MB, free: 384 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.03319, allocations: 247.4 kB / 309.7 MB, free: 136 kB / 282.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.0004074/0.03359, allocations: 400.8 kB / 310.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.03403, allocations: 0.5686 MB / 310.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.03403, allocations: 4.062 kB / 310.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.03429, allocations: 481 kB / 311.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.03464, allocations: 124.2 kB / 311.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.03606, allocations: 1.423 MB / 312.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.03616, allocations: 149.6 kB / 312.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000155/0.03631, allocations: 89.19 kB / 313 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.0365, allocations: 186.2 kB / 313.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0365, allocations: 4 kB / 313.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Templates: time 0.01249/0.04899, allocations: 9.808 MB / 323 MB, free: 2.852 MB / 298.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7881643469445407]