Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 108.4 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08689, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006075/0.093, allocations: 5.205 MB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008189/0.1012, allocations: 6.574 MB / 340.5 MB, free: 7.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.1018, allocations: 39.69 kB / 340.5 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.1029, allocations: 0.493 MB / 341 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.1048, allocations: 0.8068 MB / 341.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.1058, allocations: 438.4 kB / 342.3 MB, free: 6.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002564/0.1083, allocations: 1.985 MB / 344.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1086, allocations: 167 kB / 344.4 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.109, allocations: 342.2 kB / 344.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.1094, allocations: 345.7 kB / 345.1 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.285e-05/0.1095, allocations: 28 kB / 345.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.1104, allocations: 471.6 kB / 345.6 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.1105, allocations: 111.2 kB / 345.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.1108, allocations: 445 kB / 346.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1121, allocations: 1.273 MB / 347.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1121, allocations: 0 / 347.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1121, allocations: 0 / 347.4 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1121, allocations: 4 kB / 347.4 MB, free: 0.9844 MB / 286.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.001853/0.114, allocations: 1.436 MB / 348.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.114, allocations: 12.03 kB / 348.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1142, allocations: 134.3 kB / 349 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.1153, allocations: 0.8464 MB / 349.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1153, allocations: 16.44 kB / 349.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.1154, allocations: 28 kB / 349.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.1159, allocations: 302.7 kB / 350.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1159, allocations: 4 kB / 350.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.1159, allocations: 11.94 kB / 350.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1159, allocations: 4 kB / 350.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.1164, allocations: 225.8 kB / 350.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1181, allocations: 1.126 MB / 351.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.1185, allocations: 254.3 kB / 351.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.119, allocations: 292.8 kB / 352 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009026/0.1199, allocations: 0.7554 MB / 352.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1199, allocations: 38.55 kB / 352.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.823e-06/0.1199, allocations: 0 / 352.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002779/0.1227, allocations: 1.546 MB / 354.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.1228, allocations: 106.8 kB / 354.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009514/0.1238, allocations: 0.934 MB / 355.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1238, allocations: 29.7 kB / 355.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.1241, allocations: 365.5 kB / 355.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.1242, allocations: 130.1 kB / 355.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.1243, allocations: 117.5 kB / 356.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1244, allocations: 325.9 kB / 356.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1247, allocations: 120.6 kB / 356.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.125, allocations: 155.6 kB / 356.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.1264, allocations: 0.7488 MB / 357.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1264, allocations: 0 / 357.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008991/0.1273, allocations: 0.5619 MB / 358 MB, free: 5.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.1273, allocations: 37.69 kB / 358 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.1274, allocations: 16 kB / 358 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.1276, allocations: 65.69 kB / 358.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1278, allocations: 43.97 kB / 358.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.1303, allocations: 3.327 MB / 361.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.1305, allocations: 16.02 kB / 361.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.1306, allocations: 20 kB / 361.5 MB, free: 2.039 MB / 302.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.0003629/0.131, allocations: 263.8 kB / 361.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.1311, allocations: 118.6 kB / 361.8 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.1324, allocations: 0.6686 MB / 362.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1324, allocations: 4 kB / 362.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1324, allocations: 8 kB / 362.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1324, allocations: 3.938 kB / 362.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.1331, allocations: 0.6121 MB / 363.1 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.1331, allocations: 19.98 kB / 363.2 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.1333, allocations: 27.98 kB / 363.2 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.1335, allocations: 73.61 kB / 363.3 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.1335, allocations: 15.98 kB / 363.3 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.1359, allocations: 3.335 MB / 366.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1359, allocations: 0 / 366.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.1372, allocations: 0.8549 MB / 367.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.1376, allocations: 267.6 kB / 367.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/0.1377, allocations: 11.94 kB / 367.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.138, allocations: 11.98 kB / 367.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.1381, allocations: 35.91 kB / 367.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.1382, allocations: 19.98 kB / 367.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007213/0.1389, allocations: 0.6256 MB / 368.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1389, allocations: 0 / 368.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007636/0.1397, allocations: 231.9 kB / 368.7 MB, free: 10.43 MB / 318.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.0005312/0.1402, allocations: 303 kB / 369 MB, free: 10.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1413, allocations: 0.7767 MB / 369.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1413, allocations: 0 / 369.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.142, allocations: 0.6088 MB / 370.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.1426, allocations: 112.8 kB / 370.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1447, allocations: 1.573 MB / 372 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.1452, allocations: 1.004 MB / 373 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.1454, allocations: 101.6 kB / 373.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.1455, allocations: 43.44 kB / 373.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1455, allocations: 0 / 373.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Templates: time 0.1533/0.2988, allocations: 8.625 MB / 381.8 MB, free: 52.8 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches