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.00109/0.00109, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001705/0.002795, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00112/0.00112, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002682, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 0.9511/0.9511, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08864/1.04, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.283e-06/1.283e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.651e-05, allocations: 5.688 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007807/0.007824, allocations: 4.87 MB / 249.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.02731, allocations: 10.22 MB / 259.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.02795, allocations: 43.56 kB / 259.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.02911, allocations: 0.6459 MB / 260.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.03093, allocations: 1.03 MB / 261.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.03186, allocations: 0.5245 MB / 262 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.03323, allocations: 1.436 MB / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.03341, allocations: 122.3 kB / 263.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006292/0.03404, allocations: 0.7057 MB / 264.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.03429, allocations: 255.1 kB / 264.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.03433, allocations: 32 kB / 264.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.0354, allocations: 0.7638 MB / 265.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.03547, allocations: 87.38 kB / 265.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.03563, allocations: 203.4 kB / 265.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.03652, allocations: 0.9808 MB / 266.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.03653, allocations: 4 kB / 266.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.03653, allocations: 0 / 266.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.03655, allocations: 0 / 266.6 MB, free: 8.184 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.001219/0.03777, allocations: 1.523 MB / 268.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.0378, allocations: 8.031 kB / 268.1 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.03789, allocations: 96.83 kB / 268.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.03844, allocations: 0.5976 MB / 268.8 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.03845, allocations: 17.03 kB / 268.8 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.03849, allocations: 28.38 kB / 268.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.03875, allocations: 229.5 kB / 269.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.03876, allocations: 4 kB / 269.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.03878, allocations: 12 kB / 269.1 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.03879, allocations: 7.984 kB / 269.1 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.03891, allocations: 91.19 kB / 269.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.0398, allocations: 0.8603 MB / 270.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.04002, allocations: 194.4 kB / 270.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.04012, allocations: 112.8 kB / 270.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/0.04191, allocations: 1.517 MB / 271.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.04206, allocations: 127.2 kB / 272 MB, free: 2.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.252e-06/0.04206, allocations: 0 / 272 MB, free: 2.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004881/0.04255, allocations: 323 kB / 272.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.04258, allocations: 59.41 kB / 272.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.04296, allocations: 0.7264 MB / 273.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.04298, allocations: 33.7 kB / 273.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.04311, allocations: 290.8 kB / 273.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.04317, allocations: 107 kB / 273.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.04323, allocations: 69.94 kB / 273.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.0433, allocations: 325.9 kB / 273.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.04335, allocations: 32.81 kB / 274 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.591e-05/0.04343, allocations: 144.4 kB / 274.1 MB, free: 380 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.0436, allocations: 233.4 kB / 274.3 MB, free: 100 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0436, allocations: 4 kB / 274.3 MB, free: 96 kB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.1175/0.1611, allocations: 304.5 kB / 274.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1611, allocations: 8.625 kB / 274.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/0.1612, allocations: 11.64 kB / 274.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.1613, allocations: 42.72 kB / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1615, allocations: 91.48 kB / 274.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008794/0.1624, allocations: 2.361 MB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1626, allocations: 40.42 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.1627, allocations: 14 kB / 277.2 MB, free: 12.62 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.0001432/0.1628, allocations: 130.1 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.1629, allocations: 71.22 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.1634, allocations: 318.4 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1634, allocations: 3.391 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1634, allocations: 1.219 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1634, allocations: 10.41 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.1637, allocations: 306 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/0.1637, allocations: 3.844 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1638, allocations: 44.92 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.164, allocations: 101.9 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.1641, allocations: 43.33 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1641, allocations: 6.016 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007076/0.1648, allocations: 2.366 MB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1648, allocations: 2.703 kB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.1652, allocations: 313.4 kB / 280.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.1652, allocations: 10.97 kB / 280.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1653, allocations: 11.36 kB / 280.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.1654, allocations: 23.34 kB / 280.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1654, allocations: 4.781 kB / 280.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003214/0.1657, allocations: 372.9 kB / 281.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1657, allocations: 0.5469 kB / 281.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000503/0.1662, allocations: 250.1 kB / 281.5 MB, free: 9.965 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.0004831/0.1667, allocations: 405 kB / 281.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003896/0.1671, allocations: 429.1 kB / 282.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/0.1671, allocations: 12.34 kB / 282.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.1674, allocations: 356 kB / 282.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.1679, allocations: 0.8494 MB / 283.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.1705, allocations: 1.336 MB / 284.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1706, allocations: 151.1 kB / 285 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.1708, allocations: 87.64 kB / 285.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.1709, allocations: 154.3 kB / 285.3 MB, free: 7.883 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1709, allocations: 0 / 285.3 MB, free: 7.883 MB / 266.7 MB Notification: Performance of Templates: time 0.01275/0.1837, allocations: 9.891 MB / 295.2 MB, free: 5.316 MB / 266.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.789346167817712]