Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 139.4 kB / 25.59 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8952/0.8952, allocations: 173.3 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.863e-05, allocations: 2.938 kB / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004114/0.004133, allocations: 4.926 MB / 274.1 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005871/0.01, allocations: 6.25 MB / 280.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.0104, allocations: 67.31 kB / 280.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009309/0.01133, allocations: 476.6 kB / 280.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.01284, allocations: 0.8571 MB / 281.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009004/0.01374, allocations: 438.2 kB / 282.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.01567, allocations: 2.086 MB / 284.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.01583, allocations: 95.2 kB / 284.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.01623, allocations: 0.5065 MB / 284.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.01646, allocations: 239.1 kB / 285.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.0165, allocations: 32 kB / 285.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005744/0.01708, allocations: 459.4 kB / 285.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.01714, allocations: 111.2 kB / 285.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.0173, allocations: 231.2 kB / 285.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.01807, allocations: 0.969 MB / 286.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01807, allocations: 11.92 kB / 286.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01807, allocations: 0 / 286.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01808, allocations: 4 kB / 286.9 MB, free: 8.027 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.001314/0.01939, allocations: 1.543 MB / 288.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.01942, allocations: 16.03 kB / 288.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.01953, allocations: 155.1 kB / 288.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.02021, allocations: 0.8487 MB / 289.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.02023, allocations: 16.5 kB / 289.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.02026, allocations: 27.98 kB / 289.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.02052, allocations: 297.5 kB / 289.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.02053, allocations: 0 / 289.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.02055, allocations: 12 kB / 289.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.02056, allocations: 7.984 kB / 289.8 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.02069, allocations: 137.6 kB / 289.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.02158, allocations: 0.8913 MB / 290.8 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.02178, allocations: 189.1 kB / 291 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.022, allocations: 245.2 kB / 291.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.02232, allocations: 166.8 kB / 291.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.02234, allocations: 41.33 kB / 291.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.383e-06/0.02234, allocations: 3.938 kB / 291.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001218/0.02356, allocations: 1.006 MB / 292.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.0236, allocations: 114.8 kB / 292.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.0242, allocations: 1.001 MB / 293.6 MB, free: 1.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.02423, allocations: 33.7 kB / 293.6 MB, free: 1.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.02468, allocations: 440.3 kB / 294 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.02475, allocations: 134.8 kB / 294.2 MB, free: 444 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.02486, allocations: 127.3 kB / 294.3 MB, free: 304 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.02496, allocations: 0.4965 MB / 294.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.02504, allocations: 81.73 kB / 294.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.02515, allocations: 162.7 kB / 295 MB, free: 15.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.02533, allocations: 230.8 kB / 295.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.02534, allocations: 0 / 295.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000387/0.02572, allocations: 439.2 kB / 295.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.02575, allocations: 41.64 kB / 295.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.02577, allocations: 24.05 kB / 295.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.0259, allocations: 59.28 kB / 295.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.02601, allocations: 39.97 kB / 295.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.02755, allocations: 4.054 MB / 299.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.02768, allocations: 15.98 kB / 299.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.02771, allocations: 16 kB / 299.9 MB, free: 10.34 MB / 282.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.0001672/0.02788, allocations: 214.2 kB / 300.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.02798, allocations: 135.2 kB / 300.3 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/0.02858, allocations: 0.5586 MB / 300.8 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.02858, allocations: 7.984 kB / 300.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.02858, allocations: 0 / 300.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02859, allocations: 0 / 300.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.02922, allocations: 427.8 kB / 301.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.02923, allocations: 8 kB / 301.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.02932, allocations: 39.91 kB / 301.3 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.02943, allocations: 63.33 kB / 301.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.02945, allocations: 16 kB / 301.4 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.03089, allocations: 4.057 MB / 305.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.03089, allocations: 0 / 305.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.03146, allocations: 0.7564 MB / 306.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.03168, allocations: 217 kB / 306.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.03174, allocations: 8 kB / 306.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.03188, allocations: 11.98 kB / 306.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.03193, allocations: 27.95 kB / 306.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.03195, allocations: 16 kB / 306.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003198/0.03227, allocations: 0.5784 MB / 307 MB, free: 2.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03227, allocations: 0 / 307 MB, free: 2.863 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004654/0.03274, allocations: 223.5 kB / 307.3 MB, free: 2.645 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.0003732/0.03311, allocations: 327.2 kB / 307.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007986/0.03391, allocations: 0.7914 MB / 308.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.03391, allocations: 0 / 308.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.03424, allocations: 0.6865 MB / 309.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.03461, allocations: 124.7 kB / 309.2 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.03588, allocations: 1.471 MB / 310.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.387e-05/0.03597, allocations: 170.2 kB / 310.8 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.03612, allocations: 93.64 kB / 310.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.03634, allocations: 222.1 kB / 311.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.03634, allocations: 0 / 311.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of Templates: time 0.01293/0.04927, allocations: 10.31 MB / 321.4 MB, free: 4.289 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7947517898865044]