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.001273/0.001273, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001442/0.001442, allocations: 212.8 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001532/0.001532, allocations: 43.94 kB / 378.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2323, allocations: 53.37 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006748/0.239, allocations: 5.253 MB / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009144/0.2482, allocations: 6.711 MB / 443.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004146/0.2486, allocations: 63.31 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.2497, allocations: 0.5004 MB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.2514, allocations: 0.8264 MB / 445 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.2524, allocations: 446.3 kB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.2554, allocations: 2.048 MB / 447.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.2556, allocations: 95.27 kB / 447.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.2561, allocations: 394.2 kB / 447.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.2566, allocations: 345.6 kB / 448.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.2567, allocations: 32 kB / 448.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009902/0.2577, allocations: 0.4996 MB / 448.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2578, allocations: 103.2 kB / 448.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.2582, allocations: 453 kB / 449.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.2598, allocations: 1.291 MB / 450.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2598, allocations: 0 / 450.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2598, allocations: 7.938 kB / 450.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.2598, allocations: 0 / 450.6 MB, free: 3.836 MB / 350.1 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.00211/0.2619, allocations: 1.403 MB / 452 MB, free: 2.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.262, allocations: 12.03 kB / 452.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.2623, allocations: 151 kB / 452.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.2635, allocations: 0.7677 MB / 453 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2635, allocations: 20.44 kB / 453 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.2636, allocations: 23.95 kB / 453 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.2642, allocations: 315.2 kB / 453.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2642, allocations: 0 / 453.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.2642, allocations: 4 kB / 453.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2642, allocations: 11.94 kB / 453.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.2647, allocations: 233.8 kB / 453.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.2665, allocations: 1.05 MB / 454.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.267, allocations: 228.3 kB / 454.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.2675, allocations: 269.5 kB / 455.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007729/0.2683, allocations: 165.4 kB / 455.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.2683, allocations: 34.56 kB / 455.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.734e-06/0.2683, allocations: 0 / 455.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003031/0.2713, allocations: 1.419 MB / 456.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.2714, allocations: 114.8 kB / 456.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2725, allocations: 0.9378 MB / 457.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.2726, allocations: 25.7 kB / 457.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.2729, allocations: 361.8 kB / 458.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.273, allocations: 138.8 kB / 458.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.2732, allocations: 117.7 kB / 458.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2733, allocations: 325.9 kB / 458.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.2736, allocations: 128.5 kB / 458.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.2739, allocations: 167.6 kB / 459 MB, free: 11.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.2754, allocations: 0.7298 MB / 459.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2754, allocations: 0 / 459.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009984/0.2764, allocations: 0.5663 MB / 460.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.2764, allocations: 44.5 kB / 460.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.2764, allocations: 12 kB / 460.3 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.2767, allocations: 77.67 kB / 460.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2769, allocations: 47.89 kB / 460.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.2798, allocations: 3.129 MB / 463.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.2801, allocations: 12.03 kB / 463.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.2801, allocations: 19.98 kB / 463.6 MB, free: 6.27 MB / 366.1 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.0003946/0.2805, allocations: 263.9 kB / 463.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.2807, allocations: 131.1 kB / 464 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.2822, allocations: 0.6569 MB / 464.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.2822, allocations: 8 kB / 464.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2822, allocations: 0 / 464.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2822, allocations: 7.984 kB / 464.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/0.283, allocations: 0.5839 MB / 465.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/0.283, allocations: 16 kB / 465.3 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.2832, allocations: 39.84 kB / 465.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.2834, allocations: 73.67 kB / 465.4 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.2835, allocations: 12 kB / 465.4 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.2863, allocations: 3.129 MB / 468.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2863, allocations: 0 / 468.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2877, allocations: 0.8632 MB / 469.4 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.2881, allocations: 197.2 kB / 469.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/0.2882, allocations: 8 kB / 469.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.2885, allocations: 15.98 kB / 469.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.2886, allocations: 31.7 kB / 469.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.2887, allocations: 23.98 kB / 469.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008174/0.2895, allocations: 0.6256 MB / 470.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2895, allocations: 64 / 470.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008355/0.2903, allocations: 231.5 kB / 470.5 MB, free: 15.03 MB / 382.1 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.0005766/0.2909, allocations: 310.5 kB / 470.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.2922, allocations: 0.7463 MB / 471.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2922, allocations: 0 / 471.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008134/0.293, allocations: 0.5892 MB / 472.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.2936, allocations: 112.8 kB / 472.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.296, allocations: 1.591 MB / 473.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.2967, allocations: 0.9961 MB / 474.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.297, allocations: 101.6 kB / 475 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.297, allocations: 43.44 kB / 475 MB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.297, allocations: 0 / 475 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01858/0.3156, allocations: 8.983 MB / 484 MB, free: 1.41 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.662337350891903]