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.001827/0.001827, allocations: 100.7 kB / 20.96 MB, free: 480 kB / 14.72 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.001336/0.001336, allocations: 149.7 kB / 24.25 MB, free: 3.527 MB / 14.72 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 1.451/1.451, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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.353e-06/1.353e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.515e-05, allocations: 2.312 kB / 267.3 MB, free: 10.22 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.008639/0.008664, allocations: 4.577 MB / 271.9 MB, free: 5.621 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.02082, allocations: 5.822 MB / 277.7 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/0.02157, allocations: 59.38 kB / 277.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.02329, allocations: 480.6 kB / 278.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.02634, allocations: 0.8532 MB / 279.1 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.02791, allocations: 446.2 kB / 279.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.03237, allocations: 2.055 MB / 281.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.03269, allocations: 99.19 kB / 281.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009562/0.03365, allocations: 0.5064 MB / 282.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.03415, allocations: 235.1 kB / 282.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.03425, allocations: 28 kB / 282.4 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.03562, allocations: 463.4 kB / 282.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.03578, allocations: 107.2 kB / 283 MB, free: 10.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.0362, allocations: 235.2 kB / 283.2 MB, free: 10.22 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.03844, allocations: 1.292 MB / 284.5 MB, free: 8.922 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.03844, allocations: 0 / 284.5 MB, free: 8.922 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.03844, allocations: 4 kB / 284.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.03845, allocations: 0 / 284.5 MB, free: 8.918 MB / 270.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.002697/0.04115, allocations: 1.396 MB / 285.9 MB, free: 7.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.0412, allocations: 8.922 kB / 285.9 MB, free: 7.473 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.04151, allocations: 155.1 kB / 286.1 MB, free: 7.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.04328, allocations: 0.8459 MB / 286.9 MB, free: 6.434 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.0433, allocations: 20.5 kB / 286.9 MB, free: 6.414 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/0.04337, allocations: 28 kB / 286.9 MB, free: 6.387 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.04402, allocations: 363.2 kB / 287.3 MB, free: 6.008 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.04403, allocations: 0 / 287.3 MB, free: 6.008 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.04407, allocations: 12 kB / 287.3 MB, free: 5.996 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.04408, allocations: 4 kB / 287.3 MB, free: 5.992 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.04456, allocations: 263.7 kB / 287.6 MB, free: 5.727 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.04639, allocations: 0.9666 MB / 288.5 MB, free: 4.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.04686, allocations: 244.7 kB / 288.8 MB, free: 4.477 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.04742, allocations: 306.3 kB / 289.1 MB, free: 4.168 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007305/0.04815, allocations: 173.5 kB / 289.3 MB, free: 4 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.04818, allocations: 30.56 kB / 289.3 MB, free: 3.961 MB / 270.1 MB Notification: Performance of pre-optimization done (n=38): time 1.834e-06/0.04818, allocations: 0 / 289.3 MB, free: 3.961 MB / 270.1 MB Notification: Performance of matching and sorting (n=39): time 0.003269/0.05145, allocations: 1.516 MB / 290.8 MB, free: 2.371 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.05153, allocations: 110.8 kB / 290.9 MB, free: 2.238 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.05269, allocations: 0.9262 MB / 291.8 MB, free: 1.305 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.05273, allocations: 33.7 kB / 291.9 MB, free: 1.266 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.05306, allocations: 361.7 kB / 292.2 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.05318, allocations: 138.8 kB / 292.4 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.05337, allocations: 117.7 kB / 292.5 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.05352, allocations: 322 kB / 292.8 MB, free: 332 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.05382, allocations: 162.2 kB / 292.9 MB, free: 160 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.05417, allocations: 223.8 kB / 293.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.05576, allocations: 0.7449 MB / 293.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.05576, allocations: 4 kB / 293.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001097/0.05686, allocations: 0.607 MB / 294.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.05691, allocations: 41.69 kB / 294.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/0.05694, allocations: 16 kB / 294.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.05719, allocations: 73.7 kB / 294.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.05744, allocations: 43.91 kB / 294.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.0603, allocations: 3.075 MB / 297.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.06059, allocations: 15.92 kB / 297.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.06065, allocations: 24 kB / 297.8 MB, free: 11.01 MB / 286.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.0003991/0.06104, allocations: 255.9 kB / 298.1 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.06123, allocations: 135.3 kB / 298.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.06267, allocations: 0.7053 MB / 298.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.06267, allocations: 4 kB / 298.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.06268, allocations: 7.938 kB / 298.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.06268, allocations: 0 / 298.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007425/0.06343, allocations: 0.5045 MB / 299.4 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/0.06346, allocations: 16 kB / 299.4 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.06365, allocations: 31.98 kB / 299.5 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.06387, allocations: 69.67 kB / 299.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.06391, allocations: 15.98 kB / 299.5 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.06669, allocations: 3.087 MB / 302.6 MB, free: 5.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.06669, allocations: 3.984 kB / 302.6 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.06827, allocations: 0.9449 MB / 303.6 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/0.06867, allocations: 221.1 kB / 303.8 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.06878, allocations: 11.94 kB / 303.8 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.06907, allocations: 12 kB / 303.8 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.06918, allocations: 35.94 kB / 303.8 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.06922, allocations: 16 kB / 303.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008398/0.07006, allocations: 0.6256 MB / 304.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07006, allocations: 0 / 304.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008649/0.07092, allocations: 223.6 kB / 304.7 MB, free: 3.777 MB / 286.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.0006053/0.07153, allocations: 334.5 kB / 305 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.07282, allocations: 0.813 MB / 305.8 MB, free: 2.555 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.07282, allocations: 0 / 305.8 MB, free: 2.555 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008144/0.07363, allocations: 0.6259 MB / 306.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.07426, allocations: 108.8 kB / 306.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.07661, allocations: 1.606 MB / 308.2 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09082/0.1674, allocations: 412.6 kB / 308.6 MB, free: 49.55 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.1677, allocations: 92.39 kB / 308.7 MB, free: 49.54 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.1678, allocations: 50 kB / 308.7 MB, free: 49.54 MB / 286.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1678, allocations: 0 / 308.7 MB, free: 49.54 MB / 286.1 MB Notification: Performance of Templates: time 0.01722/0.185, allocations: 9.004 MB / 317.7 MB, free: 47.17 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.565055035054684]