Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.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.000968/0.000968, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009592/0.0009592, allocations: 164.4 kB / 24.99 MB, free: 8.285 MB / 18.57 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.9535/0.9535, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.042e-05, allocations: 6.25 kB / 273 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004261/0.004281, allocations: 5.042 MB / 278.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005804/0.01009, allocations: 6.379 MB / 284.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.01051, allocations: 67.31 kB / 284.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008571/0.01137, allocations: 468.7 kB / 285 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.01274, allocations: 0.8532 MB / 285.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.01349, allocations: 446.3 kB / 286.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.01548, allocations: 2.106 MB / 288.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.01567, allocations: 95.25 kB / 288.5 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.01611, allocations: 0.5103 MB / 289 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.01634, allocations: 231.1 kB / 289.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.01638, allocations: 32 kB / 289.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.01699, allocations: 467.4 kB / 289.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.01707, allocations: 119.2 kB / 289.8 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.01725, allocations: 231.2 kB / 290 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1042/0.1215, allocations: 0.9817 MB / 291 MB, free: 17.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1215, allocations: 0 / 291 MB, free: 17.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1215, allocations: 0 / 291 MB, free: 17.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.576e-05/0.1215, allocations: 0 / 291 MB, free: 17.4 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.001366/0.1229, allocations: 1.544 MB / 292.6 MB, free: 16.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1229, allocations: 11.33 kB / 292.6 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.1232, allocations: 163.3 kB / 292.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.124, allocations: 0.8487 MB / 293.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.124, allocations: 19.56 kB / 293.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.1241, allocations: 24.59 kB / 293.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.1244, allocations: 319.6 kB / 293.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1244, allocations: 0 / 293.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1245, allocations: 10.84 kB / 294 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1245, allocations: 11.25 kB / 294 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.1247, allocations: 166.9 kB / 294.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1259, allocations: 1.047 MB / 295.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1262, allocations: 207.5 kB / 295.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.1265, allocations: 255.9 kB / 295.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/0.1269, allocations: 174.9 kB / 295.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1269, allocations: 46.2 kB / 295.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.1269, allocations: 0 / 295.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001646/0.1286, allocations: 1.238 MB / 297.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1286, allocations: 113.7 kB / 297.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008708/0.1295, allocations: 1.015 MB / 298.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1295, allocations: 31.73 kB / 298.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.1297, allocations: 436 kB / 298.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.1298, allocations: 141 kB / 298.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1299, allocations: 122.3 kB / 298.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.1299, allocations: 0.491 MB / 299.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1301, allocations: 98.69 kB / 299.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1302, allocations: 176.6 kB / 299.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.1306, allocations: 384.3 kB / 300.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1306, allocations: 3.938 kB / 300.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005317/0.1312, allocations: 0.4892 MB / 300.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.1312, allocations: 40.61 kB / 300.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.1312, allocations: 13 kB / 300.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.1314, allocations: 68 kB / 300.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1315, allocations: 42.66 kB / 300.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1329, allocations: 4.122 MB / 304.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1331, allocations: 13.66 kB / 304.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.1331, allocations: 18.78 kB / 304.9 MB, free: 9.223 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real 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 (29): * Single equations (assignments): 22 * 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.0002204/0.1334, allocations: 220.1 kB / 305.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1335, allocations: 141.3 kB / 305.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007435/0.1342, allocations: 0.5833 MB / 305.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1342, allocations: 4.438 kB / 305.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1342, allocations: 1.219 kB / 305.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1342, allocations: 10.64 kB / 305.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.1348, allocations: 0.5634 MB / 306.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.1348, allocations: 15.61 kB / 306.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.1349, allocations: 34.78 kB / 306.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.1351, allocations: 63.86 kB / 306.5 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.1351, allocations: 18.75 kB / 306.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.1363, allocations: 4.113 MB / 310.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1363, allocations: 1.375 kB / 310.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.137, allocations: 0.7872 MB / 311.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.1373, allocations: 232.5 kB / 311.6 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.1373, allocations: 8.516 kB / 311.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1375, allocations: 9.609 kB / 311.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.1375, allocations: 33.73 kB / 311.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.1376, allocations: 19.16 kB / 311.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005446/0.1381, allocations: 0.607 MB / 312.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1381, allocations: 0 / 312.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006747/0.1388, allocations: 228.5 kB / 312.5 MB, free: 3.398 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.0004277/0.1392, allocations: 319.8 kB / 312.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006262/0.1398, allocations: 0.8391 MB / 313.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1398, allocations: 0 / 313.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.1402, allocations: 0.6947 MB / 314.4 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1406, allocations: 126.6 kB / 314.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.142, allocations: 1.483 MB / 316 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.1422, allocations: 165.2 kB / 316.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002597/0.1424, allocations: 93.52 kB / 316.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.1425, allocations: 47.83 kB / 316.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1425, allocations: 4 kB / 316.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of Templates: time 0.01349/0.156, allocations: 9.134 MB / 325.4 MB, free: 10.58 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9543410278856754]