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.000989/0.0009891, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.0009805/0.0009806, allocations: 192 kB / 18.51 MB, free: 4.641 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.264/1.264, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001181/0.001181, allocations: 55.92 kB / 280.6 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08015/0.08134, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006421/0.0878, allocations: 5.198 MB / 332.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008358/0.09619, allocations: 6.566 MB / 339 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.09689, allocations: 39.75 kB / 339.1 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.09821, allocations: 0.493 MB / 339.6 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.1004, allocations: 0.8145 MB / 340.4 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1016, allocations: 434.4 kB / 340.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.1041, allocations: 1.974 MB / 342.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.1044, allocations: 167 kB / 342.9 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.1048, allocations: 342.3 kB / 343.3 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.1051, allocations: 345.7 kB / 343.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.1052, allocations: 32 kB / 343.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1063, allocations: 463.6 kB / 344.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1064, allocations: 111.2 kB / 344.2 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.1067, allocations: 445 kB / 344.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.108, allocations: 1.261 MB / 345.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.108, allocations: 0 / 345.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1081, allocations: 4 kB / 345.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.1081, allocations: 0 / 345.9 MB, free: 1.738 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.001761/0.1098, allocations: 1.444 MB / 347.4 MB, free: 240 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1099, allocations: 12.03 kB / 347.4 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.11, allocations: 130.3 kB / 347.5 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.111, allocations: 0.8464 MB / 348.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.111, allocations: 20.44 kB / 348.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.1111, allocations: 16 kB / 348.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.1116, allocations: 306.6 kB / 348.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1116, allocations: 4 kB / 348.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.1116, allocations: 15.94 kB / 348.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1116, allocations: 4 kB / 348.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.112, allocations: 225.8 kB / 348.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.1137, allocations: 1.13 MB / 350 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.1141, allocations: 242.4 kB / 350.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.1145, allocations: 304.5 kB / 350.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008799/0.1154, allocations: 0.7516 MB / 351.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.1154, allocations: 42.56 kB / 351.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.884e-06/0.1155, allocations: 0 / 351.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002776/0.1182, allocations: 1.549 MB / 352.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.1183, allocations: 114.8 kB / 353 MB, free: 10.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00092/0.1192, allocations: 0.9262 MB / 354 MB, free: 9.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.1193, allocations: 29.7 kB / 354 MB, free: 9.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.1195, allocations: 361.5 kB / 354.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1197, allocations: 130.1 kB / 354.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1198, allocations: 117.5 kB / 354.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.12, allocations: 333.9 kB / 354.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.1202, allocations: 120.6 kB / 355 MB, free: 8.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.1205, allocations: 159.6 kB / 355.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.1218, allocations: 0.741 MB / 355.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1218, allocations: 3.938 kB / 355.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008831/0.1227, allocations: 0.558 MB / 356.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.1228, allocations: 41.69 kB / 356.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.1228, allocations: 12 kB / 356.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.1231, allocations: 73.67 kB / 356.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1233, allocations: 39.92 kB / 356.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.1258, allocations: 3.339 MB / 360 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.126, allocations: 12.03 kB / 360 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.1261, allocations: 16 kB / 360 MB, free: 2.777 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.0003425/0.1264, allocations: 271.8 kB / 360.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.1266, allocations: 118.6 kB / 360.4 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.1278, allocations: 0.6568 MB / 361.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1278, allocations: 8 kB / 361.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1278, allocations: 0 / 361.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1279, allocations: 0 / 361.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.1286, allocations: 0.616 MB / 361.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/0.1286, allocations: 16 kB / 361.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1288, allocations: 31.92 kB / 361.7 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/0.1289, allocations: 65.67 kB / 361.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.129, allocations: 23.98 kB / 361.8 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.1313, allocations: 3.335 MB / 365.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1313, allocations: 0 / 365.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.1325, allocations: 0.8549 MB / 366 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.1329, allocations: 271.6 kB / 366.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.133, allocations: 11.92 kB / 366.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.1332, allocations: 15.94 kB / 366.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.1333, allocations: 27.97 kB / 366.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.1334, allocations: 24.05 kB / 366.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006904/0.1341, allocations: 0.6295 MB / 367 MB, free: 11.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1341, allocations: 0 / 367 MB, free: 11.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000761/0.1349, allocations: 227.8 kB / 367.2 MB, free: 11.18 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.0005027/0.1354, allocations: 303 kB / 367.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.1365, allocations: 0.7882 MB / 368.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1365, allocations: 0 / 368.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.1371, allocations: 0.6205 MB / 368.9 MB, free: 9.336 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.1377, allocations: 100.1 kB / 369 MB, free: 9.242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.1397, allocations: 1.605 MB / 370.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.1402, allocations: 1.004 MB / 371.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.1405, allocations: 97.52 kB / 371.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.1406, allocations: 51.42 kB / 371.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1406, allocations: 0 / 371.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of Templates: time 0.1429/0.2835, allocations: 8.622 MB / 380.4 MB, free: 52.36 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/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