Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.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.001447/0.001447, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001502/0.001502, allocations: 141.1 kB / 24.54 MB, free: 36 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.021/1.021, allocations: 173.4 MB / 201.1 MB, free: 9.328 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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.975e-05, allocations: 9.625 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004766/0.004786, allocations: 5.043 MB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00822/0.01301, allocations: 6.34 MB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.01365, allocations: 63.38 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.01499, allocations: 476.6 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.01751, allocations: 0.8532 MB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.01886, allocations: 446.3 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002916/0.02178, allocations: 2.082 MB / 283.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.02203, allocations: 91.27 kB / 283.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.02267, allocations: 0.5064 MB / 283.9 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.02303, allocations: 239.1 kB / 284.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.0231, allocations: 32 kB / 284.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009201/0.02402, allocations: 459.4 kB / 284.6 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.02412, allocations: 111.2 kB / 284.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.02438, allocations: 231.2 kB / 284.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.02572, allocations: 0.9728 MB / 285.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.02572, allocations: 4 kB / 285.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02572, allocations: 0 / 285.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.02573, allocations: 0 / 285.9 MB, free: 4.441 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001709/0.02744, allocations: 1.539 MB / 287.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.02749, allocations: 12.92 kB / 287.4 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.02768, allocations: 155.1 kB / 287.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.02851, allocations: 0.8604 MB / 288.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.02852, allocations: 12.5 kB / 288.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.02857, allocations: 28 kB / 288.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.02895, allocations: 325.5 kB / 288.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.02895, allocations: 0 / 288.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.02898, allocations: 12 kB / 288.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.02899, allocations: 4 kB / 288.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.02919, allocations: 164.9 kB / 289 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.03038, allocations: 1.054 MB / 290 MB, free: 132 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1271/0.1575, allocations: 205.8 kB / 290.2 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.158, allocations: 254.3 kB / 290.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.1586, allocations: 168.1 kB / 290.6 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1586, allocations: 38 kB / 290.7 MB, free: 24.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.876e-06/0.1586, allocations: 1.125 kB / 290.7 MB, free: 24.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.002153/0.1608, allocations: 1.245 MB / 291.9 MB, free: 24.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1608, allocations: 113.7 kB / 292 MB, free: 24.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.1618, allocations: 1.013 MB / 293.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1618, allocations: 31.8 kB / 293.1 MB, free: 23.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.1621, allocations: 433.5 kB / 293.5 MB, free: 23.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.1621, allocations: 140.9 kB / 293.6 MB, free: 23.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.1623, allocations: 120.4 kB / 293.8 MB, free: 23.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.1623, allocations: 499.3 kB / 294.3 MB, free: 23.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1624, allocations: 97.52 kB / 294.3 MB, free: 23.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1626, allocations: 176.2 kB / 294.5 MB, free: 23.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1628, allocations: 259.9 kB / 294.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1628, allocations: 0 / 294.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005729/0.1634, allocations: 484.3 kB / 295.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.1635, allocations: 40.42 kB / 295.3 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.1635, allocations: 16.33 kB / 295.3 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/0.1637, allocations: 68.31 kB / 295.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1638, allocations: 38.41 kB / 295.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.1653, allocations: 4.11 MB / 299.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.1655, allocations: 12.31 kB / 299.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.1655, allocations: 19.31 kB / 299.5 MB, free: 18.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.1657, allocations: 211 kB / 299.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.1658, allocations: 138.1 kB / 299.9 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.1667, allocations: 0.5837 MB / 300.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1667, allocations: 7.281 kB / 300.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1667, allocations: 2.125 kB / 300.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1667, allocations: 1.969 kB / 300.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.1673, allocations: 0.5706 MB / 301.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.1673, allocations: 16.44 kB / 301.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.1674, allocations: 29.52 kB / 301.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.1675, allocations: 67.77 kB / 301.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1676, allocations: 16.39 kB / 301.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.1688, allocations: 4.124 MB / 305.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1688, allocations: 4.188 kB / 305.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.1696, allocations: 0.7912 MB / 306.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.1699, allocations: 221.8 kB / 306.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.17, allocations: 7.094 kB / 306.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1701, allocations: 11.08 kB / 306.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.1702, allocations: 30.23 kB / 306.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.1702, allocations: 19.36 kB / 306.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006208/0.1708, allocations: 0.6025 MB / 307 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1708, allocations: 4.031 kB / 307 MB, free: 13.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006845/0.1715, allocations: 222.1 kB / 307.2 MB, free: 13.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004527/0.172, allocations: 326.5 kB / 307.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006883/0.1727, allocations: 0.8269 MB / 308.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1727, allocations: 0 / 308.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.173, allocations: 0.6932 MB / 309 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1735, allocations: 126.8 kB / 309.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.175, allocations: 1.488 MB / 310.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.1751, allocations: 171.7 kB / 310.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.1754, allocations: 94.66 kB / 310.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.1754, allocations: 49.14 kB / 311 MB, free: 11.13 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1754, allocations: 0 / 311 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Templates: time 0.01192/0.1874, allocations: 8.988 MB / 320 MB, free: 6.215 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.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.148132507689297]