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.001911/0.001911, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002285/0.002285, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.474/1.474, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 1.493e-06/1.493e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.412e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006642/0.006667, allocations: 4.589 MB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009553/0.01622, allocations: 5.857 MB / 282.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.01694, allocations: 63.31 kB / 282.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.01832, allocations: 472.7 kB / 283.3 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.02072, allocations: 0.8533 MB / 284.1 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.02198, allocations: 450.2 kB / 284.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003536/0.02551, allocations: 2.102 MB / 286.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.02581, allocations: 95.25 kB / 286.8 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000876/0.02669, allocations: 0.5181 MB / 287.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.02713, allocations: 235.1 kB / 287.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.032e-05/0.0272, allocations: 28 kB / 287.5 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.02822, allocations: 463.4 kB / 288 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.02834, allocations: 111.2 kB / 288.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.02866, allocations: 239.2 kB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.0304, allocations: 1.308 MB / 289.6 MB, free: 432 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.0304, allocations: 0 / 289.6 MB, free: 432 kB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0304, allocations: 4 kB / 289.6 MB, free: 428 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.03041, allocations: 4 kB / 289.7 MB, free: 424 kB / 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.1166/0.147, allocations: 1.385 MB / 291 MB, free: 29.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.147, allocations: 10.45 kB / 291 MB, free: 29.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.1474, allocations: 169.7 kB / 291.2 MB, free: 29.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1484, allocations: 0.8485 MB / 292.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1484, allocations: 16.12 kB / 292.1 MB, free: 28.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.1485, allocations: 24.72 kB / 292.1 MB, free: 28.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.1491, allocations: 371.6 kB / 292.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1491, allocations: 0 / 292.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.1491, allocations: 8.531 kB / 292.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1491, allocations: 6.391 kB / 292.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.1495, allocations: 263.7 kB / 292.7 MB, free: 28.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1511, allocations: 0.9686 MB / 293.7 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.1515, allocations: 246.2 kB / 293.9 MB, free: 27.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.1519, allocations: 302.9 kB / 294.2 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007441/0.1527, allocations: 178.1 kB / 294.4 MB, free: 27.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1527, allocations: 37.48 kB / 294.5 MB, free: 27.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.693e-06/0.1527, allocations: 0 / 294.5 MB, free: 27.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.002788/0.1555, allocations: 1.514 MB / 296 MB, free: 26.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1555, allocations: 109.7 kB / 296.1 MB, free: 26.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009775/0.1565, allocations: 0.9319 MB / 297 MB, free: 26.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1565, allocations: 33.5 kB / 297 MB, free: 26.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.1567, allocations: 357.4 kB / 297.4 MB, free: 26.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.1568, allocations: 133.5 kB / 297.5 MB, free: 25.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.157, allocations: 112.8 kB / 297.6 MB, free: 25.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.157, allocations: 326.3 kB / 297.9 MB, free: 25.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.1573, allocations: 157.2 kB / 298.1 MB, free: 25.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1575, allocations: 222.9 kB / 298.3 MB, free: 25.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1589, allocations: 0.7503 MB / 299.1 MB, free: 24.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1589, allocations: 0 / 299.1 MB, free: 24.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009449/0.1598, allocations: 0.6042 MB / 299.7 MB, free: 24.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.1598, allocations: 37.7 kB / 299.7 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.1599, allocations: 16.62 kB / 299.7 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/0.1602, allocations: 80.23 kB / 299.8 MB, free: 24.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.1604, allocations: 45.86 kB / 299.8 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.1623, allocations: 3.074 MB / 302.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.1626, allocations: 13.38 kB / 302.9 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.1627, allocations: 19.41 kB / 303 MB, free: 21.63 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.0003335/0.163, allocations: 259.3 kB / 303.2 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.1632, allocations: 138.9 kB / 303.3 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1644, allocations: 0.7123 MB / 304.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1644, allocations: 2.594 kB / 304.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1644, allocations: 5.438 kB / 304.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1644, allocations: 3.656 kB / 304.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.165, allocations: 0.4982 MB / 304.6 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.165, allocations: 13.22 kB / 304.6 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1652, allocations: 38.75 kB / 304.6 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.1654, allocations: 79.02 kB / 304.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.1655, allocations: 14.88 kB / 304.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.1671, allocations: 3.072 MB / 307.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1671, allocations: 0 / 307.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1683, allocations: 0.9551 MB / 308.7 MB, free: 17.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.1686, allocations: 223.5 kB / 309 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.886e-05/0.1687, allocations: 9.5 kB / 309 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.169, allocations: 11.72 kB / 309 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/0.1691, allocations: 31.94 kB / 309 MB, free: 17.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.1692, allocations: 21.42 kB / 309 MB, free: 17.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006104/0.1698, allocations: 0.6259 MB / 309.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1698, allocations: 1.625 kB / 309.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007244/0.1705, allocations: 228.4 kB / 309.9 MB, free: 16.79 MB / 266.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.00045/0.171, allocations: 321.4 kB / 310.2 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008864/0.1718, allocations: 0.8358 MB / 311 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1718, allocations: 0 / 311 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.1723, allocations: 0.6225 MB / 311.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.1729, allocations: 131.3 kB / 311.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1746, allocations: 1.589 MB / 313.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1748, allocations: 416.8 kB / 313.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.175, allocations: 98.95 kB / 313.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.1751, allocations: 48.48 kB / 313.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1751, allocations: 0 / 313.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of Templates: time 0.01425/0.1894, allocations: 9.058 MB / 323 MB, free: 3.691 MB / 266.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=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.622868884005584]