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.001416/0.001416, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001386/0.001386, allocations: 149.4 kB / 24.26 MB, free: 188 kB / 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 1.457/1.457, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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.102e-06/1.102e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.217e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006456/0.006478, allocations: 4.577 MB / 271.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009138/0.01562, allocations: 5.81 MB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004835/0.0161, allocations: 63.31 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.01729, allocations: 484.6 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.01938, allocations: 0.8493 MB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.02045, allocations: 438.2 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003144/0.0236, allocations: 2.067 MB / 281.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.02386, allocations: 99.19 kB / 281.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007209/0.02458, allocations: 0.5103 MB / 282.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.02497, allocations: 231.1 kB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.02504, allocations: 32 kB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009176/0.02595, allocations: 451.5 kB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.02608, allocations: 115.2 kB / 283 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.02639, allocations: 227.2 kB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.02806, allocations: 1.292 MB / 284.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.02807, allocations: 4 kB / 284.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02807, allocations: 0 / 284.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.02808, allocations: 0 / 284.5 MB, free: 5.449 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.002131/0.03021, allocations: 1.403 MB / 285.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.03025, allocations: 8.922 kB / 285.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.03058, allocations: 155.1 kB / 286.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.03189, allocations: 0.8459 MB / 286.9 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.03192, allocations: 20.5 kB / 286.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.03198, allocations: 20 kB / 287 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.03264, allocations: 367.2 kB / 287.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.03266, allocations: 3.984 kB / 287.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.0327, allocations: 12 kB / 287.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.03271, allocations: 8 kB / 287.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.03319, allocations: 263.7 kB / 287.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.03501, allocations: 0.9666 MB / 288.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.03547, allocations: 248.1 kB / 288.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.03605, allocations: 298.4 kB / 289.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/0.03679, allocations: 177.5 kB / 289.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.03683, allocations: 30.56 kB / 289.3 MB, free: 488 kB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.653e-06/0.03683, allocations: 0 / 289.3 MB, free: 488 kB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.1079/0.1448, allocations: 1.502 MB / 290.8 MB, free: 33.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1448, allocations: 114.2 kB / 290.9 MB, free: 33.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1459, allocations: 0.9311 MB / 291.8 MB, free: 32.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1459, allocations: 30.83 kB / 291.9 MB, free: 32.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.1461, allocations: 362.1 kB / 292.2 MB, free: 32.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.1462, allocations: 141.9 kB / 292.4 MB, free: 32.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.1463, allocations: 112 kB / 292.5 MB, free: 32.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.1464, allocations: 319.1 kB / 292.8 MB, free: 32.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.1466, allocations: 158.8 kB / 292.9 MB, free: 31.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.1469, allocations: 225.4 kB / 293.2 MB, free: 31.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1482, allocations: 0.7579 MB / 293.9 MB, free: 31.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1482, allocations: 0 / 293.9 MB, free: 31.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00092/0.1492, allocations: 0.6014 MB / 294.5 MB, free: 31.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.1492, allocations: 47.92 kB / 294.6 MB, free: 31.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.1492, allocations: 12.38 kB / 294.6 MB, free: 31.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.1495, allocations: 76.19 kB / 294.7 MB, free: 31.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.1497, allocations: 40.67 kB / 294.7 MB, free: 31.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.1515, allocations: 3.078 MB / 297.8 MB, free: 28.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.1518, allocations: 18.56 kB / 297.8 MB, free: 28.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.1519, allocations: 24.64 kB / 297.8 MB, free: 28.15 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.0003221/0.1522, allocations: 259.1 kB / 298.1 MB, free: 27.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.1523, allocations: 137.8 kB / 298.2 MB, free: 27.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1536, allocations: 0.6994 MB / 298.9 MB, free: 27.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1536, allocations: 4.875 kB / 298.9 MB, free: 27.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1536, allocations: 1.375 kB / 298.9 MB, free: 27.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1536, allocations: 1.406 kB / 298.9 MB, free: 27.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.1542, allocations: 0.501 MB / 299.4 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.1542, allocations: 18.69 kB / 299.4 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.1544, allocations: 39.89 kB / 299.5 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.1546, allocations: 70.33 kB / 299.5 MB, free: 27.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.1546, allocations: 19.11 kB / 299.6 MB, free: 27.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.1562, allocations: 3.074 MB / 302.6 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1562, allocations: 2.562 kB / 302.6 MB, free: 24.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.1575, allocations: 0.9504 MB / 303.6 MB, free: 23.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.1578, allocations: 226.7 kB / 303.8 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.1579, allocations: 7.016 kB / 303.8 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.1582, allocations: 16.8 kB / 303.8 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1583, allocations: 30.36 kB / 303.9 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.1583, allocations: 19.77 kB / 303.9 MB, free: 23.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006874/0.159, allocations: 0.6293 MB / 304.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.159, allocations: 0 / 304.5 MB, free: 23.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007908/0.1598, allocations: 228.6 kB / 304.7 MB, free: 23.35 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.0005146/0.1603, allocations: 318.8 kB / 305 MB, free: 23.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000973/0.1613, allocations: 0.8214 MB / 305.9 MB, free: 22.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1613, allocations: 1.562 kB / 305.9 MB, free: 22.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.1619, allocations: 0.6243 MB / 306.5 MB, free: 22.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.1625, allocations: 128.1 kB / 306.6 MB, free: 22.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1643, allocations: 1.606 MB / 308.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1647, allocations: 420.1 kB / 308.6 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.1649, allocations: 90.92 kB / 308.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.165, allocations: 51.5 kB / 308.8 MB, free: 20.93 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.165, allocations: 0 / 308.8 MB, free: 20.93 MB / 266.7 MB Notification: Performance of Templates: time 0.01443/0.1794, allocations: 9.025 MB / 317.8 MB, free: 13.14 MB / 266.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=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.485598469036631]