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.0009351/0.0009351, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001117/0.001117, allocations: 165 kB / 24.91 MB, free: 9.195 MB / 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.9572/0.9572, allocations: 177 MB / 205.2 MB, free: 5.477 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.383e-06/1.383e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.805e-05, allocations: 6.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004215/0.004233, allocations: 4.982 MB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006621/0.01085, allocations: 6.451 MB / 284.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.01139, allocations: 63.38 kB / 284.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.01233, allocations: 496.5 kB / 285.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.01385, allocations: 0.8336 MB / 286.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.01467, allocations: 406.2 kB / 286.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.01666, allocations: 2.117 MB / 288.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.01683, allocations: 107.2 kB / 288.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.01726, allocations: 0.5103 MB / 289.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.0175, allocations: 235.1 kB / 289.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.01754, allocations: 28 kB / 289.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.01824, allocations: 0.4994 MB / 290.1 MB, free: 444 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.0183, allocations: 119.2 kB / 290.2 MB, free: 324 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.01846, allocations: 239.2 kB / 290.5 MB, free: 84 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1004/0.1189, allocations: 0.9821 MB / 291.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1189, allocations: 0.7969 kB / 291.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1189, allocations: 0 / 291.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.1189, allocations: 0 / 291.4 MB, free: 16.88 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.001442/0.1204, allocations: 1.387 MB / 292.8 MB, free: 16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1204, allocations: 13.95 kB / 292.8 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.1207, allocations: 112.3 kB / 292.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.1215, allocations: 0.7466 MB / 293.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1215, allocations: 18.06 kB / 293.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.1215, allocations: 19.59 kB / 293.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1218, allocations: 294.5 kB / 294 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1218, allocations: 2.344 kB / 294 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1219, allocations: 10.64 kB / 294 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1219, allocations: 6.5 kB / 294 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.122, allocations: 120.9 kB / 294.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.1229, allocations: 0.5977 MB / 294.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1231, allocations: 211.8 kB / 295 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.1233, allocations: 220 kB / 295.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.1239, allocations: 260.2 kB / 295.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1239, allocations: 34.95 kB / 295.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.964e-06/0.1239, allocations: 0 / 295.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001348/0.1253, allocations: 0.867 MB / 296.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.1253, allocations: 110.6 kB / 296.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.1259, allocations: 0.8356 MB / 297.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1259, allocations: 30.33 kB / 297.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.126, allocations: 221.4 kB / 297.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.1261, allocations: 134.8 kB / 297.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1263, allocations: 102.8 kB / 297.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.1263, allocations: 323.7 kB / 298.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.1264, allocations: 71.97 kB / 298.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1265, allocations: 140.8 kB / 298.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1267, allocations: 209.3 kB / 298.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1267, allocations: 1.156 kB / 298.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003638/0.1271, allocations: 340.4 kB / 298.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.1271, allocations: 40.17 kB / 298.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.1271, allocations: 5.688 kB / 298.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.1273, allocations: 54.27 kB / 298.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1274, allocations: 46.03 kB / 299 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.1284, allocations: 2.765 MB / 301.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1286, allocations: 10.14 kB / 301.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.1286, allocations: 11.67 kB / 301.7 MB, free: 10.95 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.000132/0.1287, allocations: 164.2 kB / 301.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.1288, allocations: 84.47 kB / 302 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.1294, allocations: 486 kB / 302.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1294, allocations: 5.812 kB / 302.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1294, allocations: 2.531 kB / 302.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1294, allocations: 5.5 kB / 302.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.1298, allocations: 341 kB / 302.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.1298, allocations: 7.891 kB / 302.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.1299, allocations: 33.47 kB / 302.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.13, allocations: 60.06 kB / 302.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1301, allocations: 12.36 kB / 302.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008472/0.1309, allocations: 2.759 MB / 305.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1309, allocations: 4.5 kB / 305.7 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.1314, allocations: 0.6129 MB / 306.3 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.1316, allocations: 177.4 kB / 306.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.1317, allocations: 12.88 kB / 306.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1318, allocations: 8.703 kB / 306.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.1319, allocations: 25.45 kB / 306.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.1319, allocations: 11.14 kB / 306.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003149/0.1322, allocations: 445.4 kB / 307 MB, free: 7.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1322, allocations: 3.75 kB / 307 MB, free: 7.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006307/0.1328, allocations: 221.7 kB / 307.2 MB, free: 7.539 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.0004017/0.1332, allocations: 311.8 kB / 307.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004594/0.1337, allocations: 0.6487 MB / 308.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.1337, allocations: 12.59 kB / 308.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.134, allocations: 0.5566 MB / 308.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1343, allocations: 122.5 kB / 308.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1356, allocations: 1.481 MB / 310.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.1357, allocations: 166.9 kB / 310.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.1359, allocations: 94.64 kB / 310.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.1361, allocations: 180.5 kB / 310.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1361, allocations: 0 / 310.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01209/0.1482, allocations: 10.23 MB / 321 MB, free: 15.08 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 -s gbode -gbm=radauIIA3 -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.7307025138288736]