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.0007853/0.0007853, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001869, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007129/0.0007129, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009519/0.001665, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8923/0.8923, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07601/0.9683, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.092e-06/1.092e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.18e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004106/0.004118, allocations: 5.01 MB / 249.7 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007722/0.01184, allocations: 6.487 MB / 256.2 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.0123, allocations: 63.31 kB / 256.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.0133, allocations: 496.5 kB / 256.7 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.01503, allocations: 0.8259 MB / 257.6 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.01589, allocations: 406.1 kB / 258 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.01854, allocations: 2.098 MB / 260.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.01877, allocations: 103.2 kB / 260.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007284/0.0195, allocations: 0.6201 MB / 260.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.01983, allocations: 239.1 kB / 261 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.0199, allocations: 36 kB / 261 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.0208, allocations: 0.5033 MB / 261.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.02089, allocations: 95.25 kB / 261.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.02112, allocations: 219.2 kB / 261.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.02216, allocations: 0.9067 MB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.02218, allocations: 4 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02218, allocations: 0 / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.02219, allocations: 0 / 262.8 MB, free: 12.04 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.001611/0.0238, allocations: 1.597 MB / 264.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.02383, allocations: 8.031 kB / 264.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.02414, allocations: 188.9 kB / 264.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.02506, allocations: 0.7445 MB / 265.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.02508, allocations: 20.5 kB / 265.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.02513, allocations: 27.98 kB / 265.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.02572, allocations: 286.7 kB / 265.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.02574, allocations: 7.922 kB / 265.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.02576, allocations: 8 kB / 265.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.02577, allocations: 8 kB / 265.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.02596, allocations: 112.5 kB / 265.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.02668, allocations: 0.6101 MB / 266.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.02686, allocations: 215 kB / 266.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.02707, allocations: 222.3 kB / 266.8 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.02754, allocations: 255.4 kB / 267 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.02756, allocations: 42.5 kB / 267.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.423e-06/0.02756, allocations: 0 / 267.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001289/0.02885, allocations: 0.9299 MB / 268 MB, free: 6.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.02887, allocations: 59.34 kB / 268.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.0293, allocations: 0.8374 MB / 268.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.02932, allocations: 29.7 kB / 268.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.02942, allocations: 219.6 kB / 269.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.02948, allocations: 138.7 kB / 269.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.02957, allocations: 105.7 kB / 269.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.02963, allocations: 322 kB / 269.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.0297, allocations: 76.78 kB / 269.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.02978, allocations: 134.5 kB / 269.9 MB, free: 4.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.02994, allocations: 219.9 kB / 270.1 MB, free: 4.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.02995, allocations: 0 / 270.1 MB, free: 4.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002836/0.03023, allocations: 329.1 kB / 270.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.03026, allocations: 45.62 kB / 270.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.03028, allocations: 8.062 kB / 270.5 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.0304, allocations: 57.67 kB / 270.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.03051, allocations: 47.89 kB / 270.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.03187, allocations: 2.767 MB / 273.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.03198, allocations: 12 kB / 273.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.03201, allocations: 11.98 kB / 273.4 MB, free: 0.8398 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.0001325/0.03215, allocations: 167.5 kB / 273.6 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.03221, allocations: 79.84 kB / 273.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.0327, allocations: 478.7 kB / 274.1 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0327, allocations: 4 kB / 274.1 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.0327, allocations: 7.938 kB / 274.1 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.03271, allocations: 3.984 kB / 274.1 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.03301, allocations: 347.3 kB / 274.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.03303, allocations: 11.92 kB / 274.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.03312, allocations: 39.97 kB / 274.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.0333, allocations: 171 kB / 274.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.0334, allocations: 61.67 kB / 274.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.03342, allocations: 15.98 kB / 274.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.03449, allocations: 2.759 MB / 277.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.03449, allocations: 0 / 277.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.03496, allocations: 0.6281 MB / 278.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.03501, allocations: 8 kB / 278.1 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.03513, allocations: 8 kB / 278.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.03518, allocations: 27.95 kB / 278.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.0352, allocations: 11.98 kB / 278.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002502/0.03545, allocations: 435.9 kB / 278.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03545, allocations: 0 / 278.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004923/0.03594, allocations: 227.5 kB / 278.8 MB, free: 11.11 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.0003675/0.03631, allocations: 323.1 kB / 279.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.03693, allocations: 0.6615 MB / 279.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.03695, allocations: 15.94 kB / 279.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.03727, allocations: 0.5837 MB / 280.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.03789, allocations: 0.8642 MB / 281.3 MB, free: 8.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.04223, allocations: 1.464 MB / 282.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.926e-05/0.04233, allocations: 174.2 kB / 282.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.0425, allocations: 93.64 kB / 283 MB, free: 6.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.04271, allocations: 183.3 kB / 283.2 MB, free: 6.398 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04271, allocations: 0 / 283.2 MB, free: 6.398 MB / 282.7 MB Notification: Performance of Templates: time 0.1065/0.1492, allocations: 10.41 MB / 293.6 MB, free: 26.86 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.758377380669117]