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.001344/0.001344, 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.001672/0.001672, 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 0.9014/0.9014, allocations: 177 MB / 204.8 MB, free: 5.578 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 2.024e-06/2.024e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.248e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004182/0.004205, allocations: 5.061 MB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005448/0.009653, allocations: 6.402 MB / 284.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.0101, allocations: 59.38 kB / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.01099, allocations: 476.6 kB / 284.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.01242, allocations: 0.8532 MB / 285.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.0132, allocations: 446.3 kB / 286.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001977/0.01517, allocations: 2.133 MB / 288.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.01539, allocations: 99.27 kB / 288.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.0159, allocations: 0.5065 MB / 288.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.01616, allocations: 235.1 kB / 289.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.01621, allocations: 32 kB / 289.2 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.01691, allocations: 467.4 kB / 289.6 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.01699, allocations: 111.2 kB / 289.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.01717, allocations: 243.2 kB / 290 MB, free: 300 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1034/0.1206, allocations: 0.9802 MB / 290.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1206, allocations: 0 / 290.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1206, allocations: 0 / 290.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.1206, allocations: 0 / 290.9 MB, free: 16.82 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.001388/0.122, allocations: 1.543 MB / 292.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1221, allocations: 14.47 kB / 292.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.1224, allocations: 164.7 kB / 292.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.1231, allocations: 0.8577 MB / 293.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1232, allocations: 17.5 kB / 293.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1232, allocations: 24.91 kB / 293.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1236, allocations: 322.5 kB / 293.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1236, allocations: 1.719 kB / 293.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1236, allocations: 8.875 kB / 293.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1236, allocations: 6.031 kB / 293.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.1238, allocations: 165 kB / 294.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.125, allocations: 1.056 MB / 295.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1253, allocations: 216.4 kB / 295.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1255, allocations: 251.9 kB / 295.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.126, allocations: 179 kB / 295.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.126, allocations: 39.23 kB / 295.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.773e-06/0.126, allocations: 0 / 295.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001641/0.1276, allocations: 1.231 MB / 297 MB, free: 14.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.1277, allocations: 115.7 kB / 297.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008566/0.1285, allocations: 1.014 MB / 298.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1285, allocations: 31.39 kB / 298.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.1288, allocations: 436.5 kB / 298.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.1288, allocations: 133.2 kB / 298.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1289, allocations: 114.9 kB / 298.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.129, allocations: 0.4887 MB / 299.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1291, allocations: 99.55 kB / 299.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1292, allocations: 170.3 kB / 299.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1295, allocations: 259.2 kB / 299.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1295, allocations: 4.781 kB / 299.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004993/0.13, allocations: 484.1 kB / 300.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.13, allocations: 40.81 kB / 300.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.13, allocations: 20.8 kB / 300.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.1302, allocations: 64.05 kB / 300.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1303, allocations: 36.2 kB / 300.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1316, allocations: 4.114 MB / 304.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1317, allocations: 11.5 kB / 304.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.1318, allocations: 18.84 kB / 304.6 MB, free: 8.668 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.0001531/0.1319, allocations: 209.3 kB / 304.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.132, allocations: 144.6 kB / 305 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.1327, allocations: 0.5872 MB / 305.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1327, allocations: 4.578 kB / 305.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1327, allocations: 3.312 kB / 305.6 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1327, allocations: 4.922 kB / 305.6 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.1333, allocations: 0.5653 MB / 306.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.1333, allocations: 16.73 kB / 306.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.1334, allocations: 31.67 kB / 306.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.1336, allocations: 67.25 kB / 306.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.1336, allocations: 15.92 kB / 306.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.1347, allocations: 4.116 MB / 310.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1347, allocations: 0.75 kB / 310.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.1355, allocations: 0.7833 MB / 311.2 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.1357, allocations: 234.2 kB / 311.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.1357, allocations: 7.547 kB / 311.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1359, allocations: 14.33 kB / 311.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.136, allocations: 34 kB / 311.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.136, allocations: 20.23 kB / 311.5 MB, free: 3.156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000531/0.1365, allocations: 0.6028 MB / 312.1 MB, free: 2.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1365, allocations: 0 / 312.1 MB, free: 2.898 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007553/0.1373, allocations: 225.7 kB / 312.3 MB, free: 2.855 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.000422/0.1377, allocations: 321.5 kB / 312.6 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.1383, allocations: 0.8178 MB / 313.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1383, allocations: 0 / 313.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.1386, allocations: 0.7052 MB / 314.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.139, allocations: 124.5 kB / 314.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1403, allocations: 1.484 MB / 315.7 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.385e-05/0.1404, allocations: 166.5 kB / 315.9 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1406, allocations: 92.61 kB / 316 MB, free: 412 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.1406, allocations: 50.28 kB / 316 MB, free: 404 kB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1406, allocations: 0 / 316 MB, free: 404 kB / 266.7 MB Notification: Performance of Templates: time 0.01328/0.1539, allocations: 10.8 MB / 326.8 MB, free: 8.621 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: 2.834566018078476]