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.0008176/0.0008176, allocations: 84 kB / 21.43 MB, free: 3.137 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.00359/0.00359, allocations: 141.6 kB / 24.68 MB, free: 8.891 MB / 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 0.8511/0.8511, allocations: 173.4 MB / 201.2 MB, free: 9.469 MB / 186.7 MB " [Timeout remaining time 179] 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.763e-06/1.763e-06, allocations: 3.938 kB / 319.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.706e-05, allocations: 2.281 kB / 319.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003804/0.003831, allocations: 4.556 MB / 324.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.009134, allocations: 5.826 MB / 330.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.009508, allocations: 63.38 kB / 330.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008665/0.01037, allocations: 480.5 kB / 330.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.01176, allocations: 0.8494 MB / 331.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.01254, allocations: 442.2 kB / 331.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.01425, allocations: 2.051 MB / 333.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.01442, allocations: 95.25 kB / 334 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.01479, allocations: 0.5103 MB / 334.5 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.01501, allocations: 235.1 kB / 334.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.01505, allocations: 32 kB / 334.8 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.01557, allocations: 455.4 kB / 335.2 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.01563, allocations: 103.2 kB / 335.3 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.01578, allocations: 235.2 kB / 335.6 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009084/0.01669, allocations: 1.3 MB / 336.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01669, allocations: 4 kB / 336.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01669, allocations: 0 / 336.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.0167, allocations: 0 / 336.9 MB, free: 4.633 MB / 298.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.00115/0.01785, allocations: 1.399 MB / 338.3 MB, free: 3.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01789, allocations: 8.922 kB / 338.3 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.018, allocations: 135.1 kB / 338.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.01871, allocations: 0.7717 MB / 339.2 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.01872, allocations: 16.5 kB / 339.2 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.01877, allocations: 24 kB / 339.2 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.01914, allocations: 363.2 kB / 339.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01915, allocations: 0 / 339.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.01918, allocations: 15.94 kB / 339.6 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.01918, allocations: 8 kB / 339.6 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.01959, allocations: 259.8 kB / 339.9 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.02059, allocations: 0.9626 MB / 340.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.02086, allocations: 256.1 kB / 341.1 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.02116, allocations: 294.5 kB / 341.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.02158, allocations: 169.4 kB / 341.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.02161, allocations: 30.56 kB / 341.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.683e-06/0.02161, allocations: 0 / 341.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.001728/0.02334, allocations: 1.506 MB / 343.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.02339, allocations: 106.8 kB / 343.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.02401, allocations: 0.9262 MB / 344.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.02403, allocations: 33.7 kB / 344.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.02421, allocations: 361.7 kB / 344.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.02428, allocations: 138.8 kB / 344.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.02438, allocations: 113.7 kB / 344.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.02446, allocations: 322 kB / 345 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.02461, allocations: 162.2 kB / 345.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.02479, allocations: 223.8 kB / 345.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/0.02558, allocations: 0.7412 MB / 346.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.02558, allocations: 0 / 346.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006826/0.02626, allocations: 0.5993 MB / 346.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.0263, allocations: 45.62 kB / 346.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.02632, allocations: 12 kB / 346.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.02646, allocations: 69.69 kB / 346.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.02658, allocations: 47.91 kB / 346.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.02813, allocations: 3.06 MB / 350 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.02826, allocations: 19.95 kB / 350 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.02829, allocations: 16 kB / 350 MB, free: 6.879 MB / 314.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.0002626/0.02855, allocations: 272 kB / 350.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.02864, allocations: 127.2 kB / 350.4 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.02938, allocations: 0.7015 MB / 351.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.02938, allocations: 0 / 351.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02939, allocations: 4 kB / 351.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.02939, allocations: 3.984 kB / 351.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.02979, allocations: 0.5006 MB / 351.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.0298, allocations: 16 kB / 351.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.02989, allocations: 35.91 kB / 351.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.03, allocations: 65.67 kB / 351.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.03002, allocations: 24 kB / 351.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.03166, allocations: 3.067 MB / 354.8 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03166, allocations: 0 / 354.8 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.03243, allocations: 0.9447 MB / 355.8 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.03264, allocations: 197 kB / 356 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.03269, allocations: 11.94 kB / 356 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.03282, allocations: 15.98 kB / 356 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.03288, allocations: 27.95 kB / 356 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.03291, allocations: 20.06 kB / 356 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004473/0.03336, allocations: 0.6334 MB / 356.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.03336, allocations: 0 / 356.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005064/0.03386, allocations: 223.6 kB / 356.9 MB, free: 15.68 MB / 330.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.0003973/0.03426, allocations: 326.5 kB / 357.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007048/0.03496, allocations: 0.8229 MB / 358 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.03497, allocations: 0 / 358 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.03533, allocations: 0.626 MB / 358.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.0357, allocations: 108.8 kB / 358.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.0371, allocations: 1.618 MB / 360.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.03732, allocations: 417 kB / 360.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.03739, allocations: 52.48 kB / 360.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03739, allocations: 0 / 360.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01311/0.0505, allocations: 17.81 MB / 378.6 MB, free: 9.672 MB / 346.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.877486020326614]