Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001895/0.001895, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.001905/0.001905, allocations: 161.5 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.44e-05, allocations: 6.109 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.01124/0.01127, allocations: 4.989 MB / 255.3 MB, free: 2.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.02284, allocations: 6.278 MB / 261.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/0.02361, allocations: 59.38 kB / 261.7 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.02502, allocations: 476.6 kB / 262.2 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.02742, allocations: 0.8454 MB / 263 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.02866, allocations: 442.2 kB / 263.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.03205, allocations: 2.043 MB / 265.5 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.0323, allocations: 103.2 kB / 265.6 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.03306, allocations: 0.4947 MB / 266.1 MB, free: 8.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.03347, allocations: 235.1 kB / 266.3 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.03354, allocations: 28 kB / 266.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.03456, allocations: 443.5 kB / 266.8 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.0347, allocations: 107.2 kB / 266.9 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.03503, allocations: 243.2 kB / 267.1 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.0368, allocations: 1.304 MB / 268.4 MB, free: 5.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.0368, allocations: 0 / 268.4 MB, free: 5.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0368, allocations: 0 / 268.4 MB, free: 5.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.03681, allocations: 0 / 268.4 MB, free: 5.699 MB / 250.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.002406/0.03922, allocations: 1.594 MB / 270 MB, free: 4.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.03925, allocations: 11.98 kB / 270 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.03949, allocations: 159 kB / 270.2 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.04086, allocations: 0.8448 MB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.04089, allocations: 16.5 kB / 271 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.04095, allocations: 23.95 kB / 271 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.04161, allocations: 364.9 kB / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.04162, allocations: 11.94 kB / 271.4 MB, free: 2.566 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.04165, allocations: 4 kB / 271.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.04166, allocations: 8 kB / 271.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.04214, allocations: 247.6 kB / 271.7 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.04439, allocations: 1.202 MB / 272.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.04487, allocations: 244.6 kB / 273.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.04543, allocations: 285.3 kB / 273.4 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/0.04612, allocations: 173.5 kB / 273.6 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.04616, allocations: 41.39 kB / 273.6 MB, free: 312 kB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 1.643e-06/0.04616, allocations: 0 / 273.6 MB, free: 312 kB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.003209/0.04937, allocations: 1.418 MB / 275 MB, free: 14.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.04948, allocations: 122.8 kB / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.05107, allocations: 1.256 MB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.05111, allocations: 29.7 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.05158, allocations: 464.5 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.05173, allocations: 142.8 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.05193, allocations: 131.4 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.0522, allocations: 0.4965 MB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.05249, allocations: 142.2 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.05285, allocations: 215.7 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/0.0538, allocations: 0.53 MB / 278.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.0538, allocations: 0 / 278.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0011/0.0549, allocations: 0.5892 MB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.05496, allocations: 41.69 kB / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.05499, allocations: 16 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.0553, allocations: 83.31 kB / 279.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.05554, allocations: 47.91 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/0.05937, allocations: 4.301 MB / 283.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.05963, allocations: 8 kB / 283.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.05969, allocations: 20 kB / 283.6 MB, free: 5.801 MB / 266.7 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.0004575/0.06015, allocations: 310.6 kB / 283.9 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.06036, allocations: 135.2 kB / 284.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.06181, allocations: 0.6837 MB / 284.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.06182, allocations: 8 kB / 284.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.06183, allocations: 7.875 kB / 284.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.06183, allocations: 0 / 284.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.06282, allocations: 0.6858 MB / 285.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.06286, allocations: 19.98 kB / 285.5 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.06304, allocations: 27.98 kB / 285.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.0633, allocations: 79.33 kB / 285.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.06335, allocations: 19.98 kB / 285.6 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.06707, allocations: 4.309 MB / 289.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.06707, allocations: 0 / 289.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.06864, allocations: 0.9519 MB / 290.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.06911, allocations: 220.9 kB / 291.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.06921, allocations: 8 kB / 291.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.06948, allocations: 11.98 kB / 291.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.06958, allocations: 31.95 kB / 291.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.06962, allocations: 16 kB / 291.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.07065, allocations: 0.7583 MB / 291.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07065, allocations: 0 / 291.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008198/0.07147, allocations: 223.6 kB / 292.1 MB, free: 12.94 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.0006106/0.07208, allocations: 330.6 kB / 292.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.07347, allocations: 0.9315 MB / 293.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.07347, allocations: 0 / 293.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009148/0.07439, allocations: 0.7489 MB / 294.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.07495, allocations: 112.9 kB / 294.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.07741, allocations: 1.602 MB / 295.8 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.07785, allocations: 416.8 kB / 296.2 MB, free: 8.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000267/0.07812, allocations: 93.64 kB / 296.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/0.07821, allocations: 48.5 kB / 296.4 MB, free: 8.406 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.07821, allocations: 0 / 296.4 MB, free: 8.406 MB / 282.7 MB Notification: Performance of Templates: time 0.01975/0.09797, allocations: 9.059 MB / 305.4 MB, free: 15.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.6007509380578995]