Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 96.25 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.063e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006588/0.006619, allocations: 4.577 MB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009798/0.01642, allocations: 5.853 MB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.01709, allocations: 63.31 kB / 282.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.01866, allocations: 484.6 kB / 283.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.02098, allocations: 0.8493 MB / 284 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.02222, allocations: 450.2 kB / 284.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003553/0.02578, allocations: 2.106 MB / 286.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.02604, allocations: 99.19 kB / 286.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000852/0.0269, allocations: 0.5142 MB / 287.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.02733, allocations: 235.1 kB / 287.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.0274, allocations: 28 kB / 287.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.02857, allocations: 467.4 kB / 287.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.02869, allocations: 111.2 kB / 288 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.02901, allocations: 231.2 kB / 288.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.03078, allocations: 1.312 MB / 289.5 MB, free: 396 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.03078, allocations: 4 kB / 289.5 MB, free: 392 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03078, allocations: 0 / 289.5 MB, free: 392 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.03079, allocations: 0 / 289.5 MB, free: 392 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.1093/0.1401, allocations: 1.393 MB / 290.9 MB, free: 29.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1402, allocations: 14.27 kB / 290.9 MB, free: 29.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.1406, allocations: 167.2 kB / 291.1 MB, free: 29.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.1418, allocations: 0.8473 MB / 291.9 MB, free: 28.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1418, allocations: 19.69 kB / 292 MB, free: 28.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.1419, allocations: 23.72 kB / 292 MB, free: 28.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.1425, allocations: 368.4 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1425, allocations: 0.6875 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.1425, allocations: 6.984 kB / 292.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1425, allocations: 6.094 kB / 292.4 MB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.143, allocations: 263.4 kB / 292.6 MB, free: 28.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1447, allocations: 0.9692 MB / 293.6 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.1452, allocations: 252.6 kB / 293.8 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.1457, allocations: 299 kB / 294.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.1465, allocations: 176.7 kB / 294.3 MB, free: 27.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1465, allocations: 40.22 kB / 294.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.554e-06/0.1465, allocations: 0 / 294.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.003021/0.1495, allocations: 1.508 MB / 295.8 MB, free: 26.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.1496, allocations: 109.9 kB / 295.9 MB, free: 26.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.1506, allocations: 0.9359 MB / 296.9 MB, free: 26.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1506, allocations: 35.72 kB / 296.9 MB, free: 26.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.1508, allocations: 354 kB / 297.3 MB, free: 25.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.1509, allocations: 138.2 kB / 297.4 MB, free: 25.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1511, allocations: 112.3 kB / 297.5 MB, free: 25.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.1511, allocations: 326.1 kB / 297.8 MB, free: 25.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.1514, allocations: 157.6 kB / 298 MB, free: 25.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1516, allocations: 221.3 kB / 298.2 MB, free: 25.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.153, allocations: 0.7466 MB / 298.9 MB, free: 24.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.153, allocations: 0 / 298.9 MB, free: 24.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001087/0.1541, allocations: 0.6049 MB / 299.5 MB, free: 24.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.1541, allocations: 42.83 kB / 299.6 MB, free: 24.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.1541, allocations: 15.62 kB / 299.6 MB, free: 24.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.1544, allocations: 72.38 kB / 299.7 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1546, allocations: 51.22 kB / 299.7 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.1565, allocations: 3.077 MB / 302.8 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.1568, allocations: 17.02 kB / 302.8 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.1569, allocations: 16.08 kB / 302.8 MB, free: 21.56 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.0003383/0.1572, allocations: 261.6 kB / 303.1 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.1574, allocations: 133.6 kB / 303.2 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.1587, allocations: 0.7051 MB / 303.9 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1587, allocations: 4.125 kB / 303.9 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1587, allocations: 6.25 kB / 303.9 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1587, allocations: 1.078 kB / 303.9 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.1594, allocations: 0.4948 MB / 304.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.1594, allocations: 13.69 kB / 304.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1596, allocations: 40.09 kB / 304.5 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/0.1599, allocations: 76.83 kB / 304.6 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.1599, allocations: 18.59 kB / 304.6 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.1615, allocations: 3.072 MB / 307.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1615, allocations: 3.547 kB / 307.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.1627, allocations: 0.9501 MB / 308.6 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.1631, allocations: 226.9 kB / 308.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1632, allocations: 8.609 kB / 308.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.1635, allocations: 11 kB / 308.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1636, allocations: 33.09 kB / 308.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.1636, allocations: 17.47 kB / 308.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006317/0.1642, allocations: 0.6263 MB / 309.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1642, allocations: 3.531 kB / 309.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007299/0.165, allocations: 229.2 kB / 309.7 MB, free: 16.73 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.0004552/0.1654, allocations: 329.7 kB / 310.1 MB, free: 16.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008794/0.1663, allocations: 0.8232 MB / 310.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1663, allocations: 4 kB / 310.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.1668, allocations: 0.6305 MB / 311.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.1674, allocations: 134.5 kB / 311.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.169, allocations: 1.592 MB / 313.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1693, allocations: 416.8 kB / 313.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.1695, allocations: 92.8 kB / 313.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.1696, allocations: 52.48 kB / 313.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1696, allocations: 3.938 kB / 313.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01455/0.1841, allocations: 9.04 MB / 322.8 MB, free: 3.648 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.527866146992892]