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.001184/0.001184, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001971/0.003156, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001094/0.001094, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002512, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9167/0.9167, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08355/1, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.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.693e-06/1.693e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.159e-05, allocations: 6.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006533/0.006554, allocations: 4.998 MB / 250.2 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005951/0.01251, allocations: 6.49 MB / 256.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.01292, allocations: 67.31 kB / 256.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.01375, allocations: 492.6 kB / 257.2 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.01515, allocations: 0.8298 MB / 258.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.0159, allocations: 406.1 kB / 258.5 MB, free: 268 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.0177, allocations: 2.09 MB / 260.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.01788, allocations: 107.2 kB / 260.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.01845, allocations: 0.6201 MB / 261.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.01871, allocations: 239.1 kB / 261.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.01875, allocations: 32 kB / 261.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.01945, allocations: 0.5033 MB / 262 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.01953, allocations: 99.25 kB / 262.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.01968, allocations: 211.3 kB / 262.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008056/0.02049, allocations: 0.9067 MB / 263.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.0205, allocations: 0 / 263.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0205, allocations: 0 / 263.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.02052, allocations: 0 / 263.2 MB, free: 11.42 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.001225/0.02174, allocations: 1.612 MB / 264.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.02177, allocations: 12.62 kB / 264.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.02198, allocations: 180.9 kB / 265 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.02265, allocations: 0.7484 MB / 265.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.02266, allocations: 16.5 kB / 265.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.0227, allocations: 24 kB / 265.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.02296, allocations: 294.7 kB / 266.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.02297, allocations: 0 / 266.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.02299, allocations: 15.94 kB / 266.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.02299, allocations: 4 kB / 266.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.02311, allocations: 116.5 kB / 266.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.02386, allocations: 0.6023 MB / 266.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.02405, allocations: 218.9 kB / 267.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.02424, allocations: 218.4 kB / 267.3 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004717/0.02471, allocations: 251.4 kB / 267.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.02474, allocations: 42.5 kB / 267.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.392e-06/0.02474, allocations: 3.938 kB / 267.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001335/0.02607, allocations: 0.9266 MB / 268.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.0261, allocations: 59.34 kB / 268.6 MB, free: 5.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.02654, allocations: 0.8335 MB / 269.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.02656, allocations: 33.7 kB / 269.4 MB, free: 4.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.979e-05/0.02666, allocations: 219.6 kB / 269.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.02673, allocations: 142.7 kB / 269.8 MB, free: 4.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.02681, allocations: 105.7 kB / 269.9 MB, free: 4.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.02689, allocations: 325.9 kB / 270.2 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.02696, allocations: 72.8 kB / 270.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.02704, allocations: 139 kB / 270.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.0272, allocations: 215.5 kB / 270.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.02721, allocations: 0 / 270.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002853/0.02749, allocations: 333 kB / 270.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.02753, allocations: 49.69 kB / 271 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.02754, allocations: 4 kB / 271 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.02767, allocations: 53.69 kB / 271 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.02778, allocations: 43.91 kB / 271.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.02897, allocations: 2.767 MB / 273.9 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.02909, allocations: 8 kB / 273.9 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.02912, allocations: 12 kB / 273.9 MB, free: 232 kB / 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.0001354/0.02926, allocations: 167.5 kB / 274 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.02934, allocations: 83.83 kB / 274.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.02984, allocations: 474.5 kB / 274.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.02984, allocations: 4 kB / 274.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02985, allocations: 0 / 274.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.02985, allocations: 0 / 274.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.03015, allocations: 359.2 kB / 274.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.03017, allocations: 8 kB / 275 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.03026, allocations: 39.95 kB / 275 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.03044, allocations: 175 kB / 275.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.03055, allocations: 57.67 kB / 275.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.03057, allocations: 12 kB / 275.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.03168, allocations: 2.767 MB / 278 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03168, allocations: 0 / 278 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.03215, allocations: 0.6247 MB / 278.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.0322, allocations: 8 kB / 278.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.03232, allocations: 12 kB / 278.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.03237, allocations: 27.95 kB / 278.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.03239, allocations: 7.984 kB / 278.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.03265, allocations: 439.9 kB / 279.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03265, allocations: 0 / 279.1 MB, free: 10.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.0331, allocations: 223.5 kB / 279.3 MB, free: 10.5 MB / 282.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.0003792/0.03348, allocations: 324.3 kB / 279.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.03401, allocations: 0.6652 MB / 280.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.03402, allocations: 15.94 kB / 280.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.03434, allocations: 0.5801 MB / 280.9 MB, free: 8.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.0349, allocations: 0.8612 MB / 281.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.03934, allocations: 1.468 MB / 283.2 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.797e-05/0.03943, allocations: 170.2 kB / 283.4 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.0396, allocations: 93.64 kB / 283.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.03981, allocations: 183.3 kB / 283.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.03981, allocations: 4 kB / 283.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of Templates: time 0.1047/0.1446, allocations: 10.41 MB / 294.1 MB, free: 30.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.763608162291348]