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.00196/0.00196, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.00204/0.00204, allocations: 156.8 kB / 24.27 MB, free: 160 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.668/1.668, allocations: 177 MB / 204.5 MB, free: 5.637 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.433e-06/1.433e-06, allocations: 0 / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.368e-05, allocations: 8.984 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007287/0.007311, allocations: 5.008 MB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.01759, allocations: 6.383 MB / 283.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.01817, allocations: 63.31 kB / 283.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.01949, allocations: 476.6 kB / 284.1 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.02173, allocations: 0.8533 MB / 285 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.02293, allocations: 442.2 kB / 285.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003811/0.02674, allocations: 2.106 MB / 287.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.02702, allocations: 103.2 kB / 287.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.02784, allocations: 0.5064 MB / 288.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.02828, allocations: 247.1 kB / 288.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.15e-05/0.02836, allocations: 28 kB / 288.4 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.02946, allocations: 463.4 kB / 288.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.02959, allocations: 103.2 kB / 288.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.02992, allocations: 243.1 kB / 289.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.109/0.1389, allocations: 1.302 MB / 290.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.1389, allocations: 3.281 kB / 290.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1389, allocations: 1.125 kB / 290.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.1389, allocations: 0 / 290.5 MB, free: 17.41 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.001872/0.1408, allocations: 1.594 MB / 292.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1408, allocations: 14.05 kB / 292.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.1411, allocations: 168.3 kB / 292.2 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.1422, allocations: 0.8523 MB / 293.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1422, allocations: 13.41 kB / 293.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.1423, allocations: 24.48 kB / 293.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1428, allocations: 367.6 kB / 293.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1428, allocations: 0 / 293.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.1429, allocations: 9.922 kB / 293.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1429, allocations: 6.281 kB / 293.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.1433, allocations: 239.2 kB / 293.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.1451, allocations: 1.216 MB / 295 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.1455, allocations: 237 kB / 295.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.146, allocations: 289.8 kB / 295.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/0.1467, allocations: 181 kB / 295.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.1467, allocations: 39.92 kB / 295.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.753e-06/0.1467, allocations: 0 / 295.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.002721/0.1494, allocations: 1.431 MB / 297.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1494, allocations: 110.2 kB / 297.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.1508, allocations: 1.257 MB / 298.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.1508, allocations: 31.95 kB / 298.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.1511, allocations: 464 kB / 299 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.1511, allocations: 143.6 kB / 299.1 MB, free: 14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.1513, allocations: 134.5 kB / 299.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.1514, allocations: 0.4929 MB / 299.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.1516, allocations: 139.6 kB / 299.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.1519, allocations: 217.7 kB / 300.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/0.1526, allocations: 0.5251 MB / 300.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1526, allocations: 3.938 kB / 300.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008971/0.1535, allocations: 0.5918 MB / 301.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.1536, allocations: 36.5 kB / 301.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.1536, allocations: 16.81 kB / 301.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.1539, allocations: 86.03 kB / 301.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.1541, allocations: 45.91 kB / 301.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.156, allocations: 4.295 MB / 305.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.1563, allocations: 10.72 kB / 305.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.1564, allocations: 20.81 kB / 305.7 MB, free: 8.434 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.0003996/0.1568, allocations: 312.4 kB / 306 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.157, allocations: 138.5 kB / 306.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.1582, allocations: 0.68 MB / 306.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1582, allocations: 3 kB / 306.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1582, allocations: 1.438 kB / 306.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1582, allocations: 7.891 kB / 306.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.1591, allocations: 0.6839 MB / 307.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.1591, allocations: 16.36 kB / 307.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1593, allocations: 30.28 kB / 307.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.1595, allocations: 88.12 kB / 307.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.1595, allocations: 18.41 kB / 307.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.1613, allocations: 4.301 MB / 312 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1613, allocations: 0 / 312 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1625, allocations: 0.9563 MB / 312.9 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.1629, allocations: 221.8 kB / 313.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.163, allocations: 14.8 kB / 313.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1633, allocations: 7.609 kB / 313.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.1634, allocations: 36.28 kB / 313.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.1634, allocations: 18.28 kB / 313.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007315/0.1641, allocations: 0.7561 MB / 314 MB, free: 2.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1641, allocations: 3.969 kB / 314 MB, free: 2.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007892/0.1649, allocations: 224.5 kB / 314.2 MB, free: 2.141 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.0005825/0.1655, allocations: 323 kB / 314.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009802/0.1665, allocations: 0.9318 MB / 315.4 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1665, allocations: 0 / 315.4 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.167, allocations: 0.7586 MB / 316.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.1677, allocations: 119.3 kB / 316.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.1697, allocations: 1.603 MB / 317.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.17, allocations: 412.9 kB / 318.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.1702, allocations: 98.42 kB / 318.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.1703, allocations: 47 kB / 318.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1703, allocations: 0 / 318.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of Templates: time 0.01999/0.1903, allocations: 9.1 MB / 327.6 MB, free: 7.598 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] 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.882871325011365]