Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.001065/0.001065, 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.001217/0.001217, 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 1.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.562 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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.516e-05, allocations: 5.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004653/0.004678, allocations: 5.054 MB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006399/0.01108, allocations: 6.398 MB / 284.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.0117, allocations: 67.31 kB / 284.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.01283, allocations: 468.7 kB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.01479, allocations: 0.8649 MB / 285.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.01585, allocations: 434.2 kB / 286.2 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.0183, allocations: 2.137 MB / 288.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.01856, allocations: 95.25 kB / 288.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.01924, allocations: 0.5103 MB / 288.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01953, allocations: 235.1 kB / 289.1 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.01958, allocations: 32 kB / 289.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.0204, allocations: 463.4 kB / 289.6 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.02049, allocations: 119.2 kB / 289.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.0207, allocations: 231.2 kB / 290 MB, free: 300 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1206/0.1413, allocations: 0.9821 MB / 290.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1413, allocations: 1.281 kB / 290.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1413, allocations: 0.8438 kB / 290.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.623e-05/0.1414, allocations: 0 / 290.9 MB, free: 16.83 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.002025/0.1434, allocations: 1.544 MB / 292.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1435, allocations: 14.09 kB / 292.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.1438, allocations: 162.8 kB / 292.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/0.1448, allocations: 0.8638 MB / 293.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.1448, allocations: 18.69 kB / 293.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.1449, allocations: 21.72 kB / 293.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1453, allocations: 319.3 kB / 293.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1453, allocations: 1.375 kB / 293.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.1453, allocations: 10.09 kB / 293.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1453, allocations: 6.375 kB / 293.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.1456, allocations: 168 kB / 294.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1471, allocations: 1.061 MB / 295.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.1474, allocations: 208.4 kB / 295.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.1477, allocations: 254.5 kB / 295.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/0.1482, allocations: 173.3 kB / 295.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1482, allocations: 39.39 kB / 295.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 3.016e-06/0.1482, allocations: 4.188 kB / 295.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001905/0.1501, allocations: 1.23 MB / 297 MB, free: 14.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1501, allocations: 115.5 kB / 297.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009722/0.1511, allocations: 1.019 MB / 298.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1511, allocations: 30.67 kB / 298.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.1514, allocations: 436.2 kB / 298.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.1515, allocations: 136.4 kB / 298.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1516, allocations: 115.9 kB / 298.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.1516, allocations: 0.4884 MB / 299.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1518, allocations: 92.11 kB / 299.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1519, allocations: 170.5 kB / 299.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1522, allocations: 264.3 kB / 299.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1522, allocations: 3.938 kB / 299.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006027/0.1528, allocations: 482.9 kB / 300.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.1528, allocations: 37.81 kB / 300.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.1529, allocations: 17.86 kB / 300.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.1531, allocations: 70.11 kB / 300.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1533, allocations: 37.08 kB / 300.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.155, allocations: 4.109 MB / 304.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.1553, allocations: 13.33 kB / 304.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.1553, allocations: 15.86 kB / 304.6 MB, free: 8.68 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.0002061/0.1555, allocations: 214.7 kB / 304.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.1557, allocations: 147.1 kB / 305 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009213/0.1566, allocations: 0.5823 MB / 305.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1566, allocations: 4.453 kB / 305.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1566, allocations: 5.812 kB / 305.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1566, allocations: 7.266 kB / 305.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/0.1573, allocations: 0.563 MB / 306.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/0.1574, allocations: 12.45 kB / 306.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1575, allocations: 36.34 kB / 306.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.1577, allocations: 63.48 kB / 306.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.1577, allocations: 18.69 kB / 306.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.1592, allocations: 4.117 MB / 310.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1592, allocations: 0.5625 kB / 310.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009513/0.1602, allocations: 0.7836 MB / 311.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.1605, allocations: 231.8 kB / 311.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.1606, allocations: 9.156 kB / 311.4 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1608, allocations: 8.719 kB / 311.4 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.1609, allocations: 39.25 kB / 311.4 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.1609, allocations: 20.8 kB / 311.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006334/0.1616, allocations: 0.6017 MB / 312.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1616, allocations: 4.031 kB / 312.1 MB, free: 2.918 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000933/0.1625, allocations: 225 kB / 312.3 MB, free: 2.875 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.0005057/0.163, allocations: 316.3 kB / 312.6 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007589/0.1638, allocations: 0.8223 MB / 313.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1638, allocations: 1.406 kB / 313.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.1641, allocations: 0.6956 MB / 314.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.1647, allocations: 127.5 kB / 314.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1665, allocations: 1.485 MB / 315.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1666, allocations: 169.9 kB / 315.9 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.1668, allocations: 92.06 kB / 316 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.1668, allocations: 49.5 kB / 316 MB, free: 424 kB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1668, allocations: 0 / 316 MB, free: 424 kB / 266.7 MB Notification: Performance of Templates: time 0.01803/0.1849, allocations: 9.017 MB / 325.1 MB, free: 10.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.153549286071211]