Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00135/0.00135, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001516/0.001516, allocations: 162.5 kB / 25.69 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9076/0.9076, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.478e-06/1.062e-05, allocations: 2.312 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003952/0.003963, allocations: 4.93 MB / 256.4 MB, free: 2.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006533/0.0105, allocations: 6.339 MB / 262.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.01098, allocations: 67.31 kB / 262.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.01213, allocations: 488.5 kB / 263.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.01414, allocations: 0.8532 MB / 264.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.01508, allocations: 454.1 kB / 264.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.017, allocations: 2.059 MB / 266.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.01724, allocations: 103.2 kB / 266.8 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.01782, allocations: 0.4908 MB / 267.3 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.01807, allocations: 235.1 kB / 267.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.01812, allocations: 28 kB / 267.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008846/0.019, allocations: 439.6 kB / 268 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.01908, allocations: 119.2 kB / 268.1 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.01925, allocations: 235.2 kB / 268.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.02006, allocations: 0.9729 MB / 269.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.02006, allocations: 4 kB / 269.3 MB, free: 5.418 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02006, allocations: 0 / 269.3 MB, free: 5.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.02007, allocations: 0 / 269.3 MB, free: 5.418 MB / 250.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.00105/0.02112, allocations: 1.39 MB / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.02115, allocations: 11.98 kB / 270.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.02125, allocations: 95.83 kB / 270.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.0219, allocations: 0.7446 MB / 271.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.02192, allocations: 16.5 kB / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.02196, allocations: 23.98 kB / 271.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.02222, allocations: 298.6 kB / 271.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.02223, allocations: 0 / 271.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.02225, allocations: 8 kB / 271.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.02225, allocations: 7.984 kB / 271.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.02237, allocations: 120.4 kB / 272 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.02311, allocations: 0.5946 MB / 272.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.02329, allocations: 215 kB / 272.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.02348, allocations: 214.5 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.02396, allocations: 263.3 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.02398, allocations: 34.56 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 1.694e-06/0.02398, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001159/0.02514, allocations: 0.8628 MB / 274.2 MB, free: 304 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.02518, allocations: 110.8 kB / 274.3 MB, free: 168 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.02589, allocations: 0.8413 MB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.02591, allocations: 29.7 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.02601, allocations: 219.6 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.02608, allocations: 142.8 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.02617, allocations: 93.75 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.02624, allocations: 325.9 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.0263, allocations: 72.8 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.02639, allocations: 134.2 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.02655, allocations: 215.6 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.02655, allocations: 8.031 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002813/0.02683, allocations: 325.3 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.02686, allocations: 41.69 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.02687, allocations: 4 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.02701, allocations: 61.66 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.0271, allocations: 35.97 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.02834, allocations: 2.759 MB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.02845, allocations: 19.92 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.02848, allocations: 8 kB / 279.6 MB, free: 10.57 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.0001377/0.02862, allocations: 159.5 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.02869, allocations: 83.91 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.02919, allocations: 490.4 kB / 280.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.0292, allocations: 4 kB / 280.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.0292, allocations: 0 / 280.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.0292, allocations: 7.984 kB / 280.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.02951, allocations: 335.3 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.02952, allocations: 8 kB / 280.6 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.02959, allocations: 31.92 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.0297, allocations: 69.66 kB / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.02972, allocations: 11.98 kB / 280.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.0311, allocations: 2.766 MB / 283.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0311, allocations: 3.938 kB / 283.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.03155, allocations: 0.6121 MB / 284.1 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.03173, allocations: 171 kB / 284.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.03179, allocations: 4 kB / 284.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.03191, allocations: 12 kB / 284.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.03196, allocations: 32 kB / 284.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.03198, allocations: 11.94 kB / 284.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.03224, allocations: 435.9 kB / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03224, allocations: 0 / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000447/0.03268, allocations: 223.5 kB / 285 MB, free: 4.859 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.0003687/0.03305, allocations: 320.4 kB / 285.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.03353, allocations: 0.6451 MB / 285.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.03354, allocations: 12 kB / 286 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.03381, allocations: 0.5523 MB / 286.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.03411, allocations: 116.7 kB / 286.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.03537, allocations: 1.474 MB / 288.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.191e-05/0.03546, allocations: 170.3 kB / 288.3 MB, free: 1.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.03561, allocations: 89.64 kB / 288.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.03581, allocations: 183.3 kB / 288.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03581, allocations: 4 kB / 288.5 MB, free: 1.082 MB / 266.7 MB Notification: Performance of Templates: time 0.01289/0.0487, allocations: 10.18 MB / 298.7 MB, free: 6.922 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.821910709142685]