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.001783/0.001783, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002132/0.002132, allocations: 160 kB / 24.49 MB, free: 3.453 MB / 14.72 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.441/1.441, allocations: 177.1 MB / 204.7 MB, free: 8.879 MB / 190.1 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 0.001905/0.001905, allocations: 66.09 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09792, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006216/0.1041, allocations: 4.574 MB / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008838/0.113, allocations: 5.869 MB / 389.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.1134, allocations: 63.31 kB / 389.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1146, allocations: 472.9 kB / 389.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1165, allocations: 0.8264 MB / 390.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1176, allocations: 450.2 kB / 391.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.1205, allocations: 2.052 MB / 393.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1207, allocations: 99.25 kB / 393.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005088/0.1212, allocations: 398.2 kB / 393.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1217, allocations: 325.7 kB / 394 MB, free: 332 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.1217, allocations: 28 kB / 394 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008938/0.1226, allocations: 459.6 kB / 394.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1227, allocations: 107.3 kB / 394.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.1231, allocations: 329.7 kB / 394.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.1245, allocations: 1.307 MB / 396.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1246, allocations: 4 kB / 396.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1246, allocations: 0 / 396.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1246, allocations: 0 / 396.2 MB, free: 14.1 MB / 366.1 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.001924/0.1265, allocations: 1.415 MB / 397.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1265, allocations: 11.98 kB / 397.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.1268, allocations: 151 kB / 397.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.128, allocations: 0.7678 MB / 398.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.128, allocations: 12.5 kB / 398.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.128, allocations: 27.95 kB / 398.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.1286, allocations: 371.1 kB / 398.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1286, allocations: 0 / 398.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1286, allocations: 16 kB / 399 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1287, allocations: 4 kB / 399 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.1291, allocations: 263.7 kB / 399.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.1308, allocations: 0.9627 MB / 400.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.1312, allocations: 244.2 kB / 400.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.1317, allocations: 314.6 kB / 400.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.1324, allocations: 169.4 kB / 400.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.1324, allocations: 38.56 kB / 400.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.743e-06/0.1324, allocations: 4 kB / 400.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002875/0.1353, allocations: 1.489 MB / 402.4 MB, free: 7.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.1354, allocations: 118.7 kB / 402.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1364, allocations: 0.934 MB / 403.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1364, allocations: 29.7 kB / 403.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.1367, allocations: 361.8 kB / 403.9 MB, free: 6.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1368, allocations: 134.8 kB / 404 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.137, allocations: 117.7 kB / 404.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1371, allocations: 325.9 kB / 404.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.1374, allocations: 162.3 kB / 404.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.1377, allocations: 219.8 kB / 404.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.1392, allocations: 0.7412 MB / 405.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1392, allocations: 0 / 405.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009539/0.1401, allocations: 0.5994 MB / 406.1 MB, free: 3.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.1402, allocations: 40.36 kB / 406.2 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.1402, allocations: 15.98 kB / 406.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.1404, allocations: 65.69 kB / 406.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1406, allocations: 47.91 kB / 406.3 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.1432, allocations: 3.071 MB / 409.4 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1434, allocations: 20.02 kB / 409.4 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.1435, allocations: 20 kB / 409.4 MB, free: 288 kB / 366.1 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.0003479/0.1438, allocations: 256 kB / 409.7 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.144, allocations: 131.4 kB / 409.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.1453, allocations: 0.7014 MB / 410.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.1453, allocations: 11.94 kB / 410.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1453, allocations: 3.938 kB / 410.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1453, allocations: 3.984 kB / 410.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.1459, allocations: 0.4968 MB / 411 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.146, allocations: 16 kB / 411 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1462, allocations: 31.97 kB / 411.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.1464, allocations: 77.61 kB / 411.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.1464, allocations: 12 kB / 411.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.1489, allocations: 3.068 MB / 414.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1489, allocations: 8 kB / 414.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.1505, allocations: 0.9367 MB / 415.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.1509, allocations: 197 kB / 415.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.1509, allocations: 8 kB / 415.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1512, allocations: 15.98 kB / 415.4 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.1513, allocations: 40.02 kB / 415.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.1513, allocations: 16 kB / 415.4 MB, free: 9.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007758/0.1521, allocations: 0.6295 MB / 416.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1521, allocations: 0 / 416.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007695/0.1529, allocations: 227.5 kB / 416.3 MB, free: 9.09 MB / 382.1 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.000537/0.1534, allocations: 306.7 kB / 416.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.1546, allocations: 0.8197 MB / 417.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1546, allocations: 4 kB / 417.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.1554, allocations: 0.6338 MB / 418 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.156, allocations: 112.8 kB / 418.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.1582, allocations: 1.624 MB / 419.8 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.1586, allocations: 417 kB / 420.2 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.1589, allocations: 93.64 kB / 420.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.159, allocations: 52.48 kB / 420.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.159, allocations: 0 / 420.3 MB, free: 4.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01873/0.1777, allocations: 8.999 MB / 429.3 MB, free: 11.88 MB / 398.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/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.636660165968351]