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) 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 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_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.001515/0.001515, allocations: 106.4 kB / 17.74 MB, free: 5.352 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.001652/0.001652, allocations: 183.1 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009923/0.0009924, allocations: 43.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.227, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006127/0.2331, allocations: 5.196 MB / 406.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.2414, allocations: 6.616 MB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000694/0.2422, allocations: 47.62 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.2434, allocations: 0.5006 MB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.2455, allocations: 0.8264 MB / 414.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.2467, allocations: 432.9 kB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003013/0.2497, allocations: 2.005 MB / 417 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.2501, allocations: 167 kB / 417.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005235/0.2506, allocations: 374.2 kB / 417.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.251, allocations: 341.7 kB / 417.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.454e-05/0.2511, allocations: 28 kB / 417.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.2521, allocations: 495.5 kB / 418.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2523, allocations: 107.2 kB / 418.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.2527, allocations: 449 kB / 418.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.2543, allocations: 1.279 MB / 420.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2543, allocations: 3.938 kB / 420.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2543, allocations: 0 / 420.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.2543, allocations: 0 / 420.2 MB, free: 5.984 MB / 334.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.002042/0.2564, allocations: 1.493 MB / 421.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.2564, allocations: 8.031 kB / 421.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2566, allocations: 135.1 kB / 421.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.2578, allocations: 0.8593 MB / 422.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2578, allocations: 20.44 kB / 422.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.2579, allocations: 20 kB / 422.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.2584, allocations: 310.6 kB / 423.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2584, allocations: 0 / 423.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.2585, allocations: 8 kB / 423.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2585, allocations: 8 kB / 423.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.2589, allocations: 225.7 kB / 423.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.2607, allocations: 1.118 MB / 424.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.2611, allocations: 246.4 kB / 424.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.2616, allocations: 300.9 kB / 424.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000956/0.2626, allocations: 0.7555 MB / 425.7 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2626, allocations: 34.5 kB / 425.7 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 3.467e-06/0.2626, allocations: 0 / 425.7 MB, free: 132 kB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002959/0.2656, allocations: 1.578 MB / 427.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.2657, allocations: 114.8 kB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.2667, allocations: 0.9301 MB / 428.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.2668, allocations: 33.7 kB / 428.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.267, allocations: 357.7 kB / 428.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.2672, allocations: 142.8 kB / 428.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2673, allocations: 117.7 kB / 429 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2675, allocations: 329.9 kB / 429.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.2677, allocations: 116.6 kB / 429.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.268, allocations: 159.8 kB / 429.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.2694, allocations: 0.7294 MB / 430.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2695, allocations: 0 / 430.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000939/0.2704, allocations: 0.566 MB / 430.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.2705, allocations: 37.69 kB / 430.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.2705, allocations: 16 kB / 430.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.2707, allocations: 73.61 kB / 431 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.271, allocations: 43.97 kB / 431 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.2735, allocations: 3.331 MB / 434.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.2738, allocations: 12.03 kB / 434.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.2739, allocations: 20 kB / 434.4 MB, free: 6.945 MB / 350.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.0003593/0.2743, allocations: 267.9 kB / 434.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2744, allocations: 139.1 kB / 434.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.2757, allocations: 0.653 MB / 435.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2757, allocations: 0 / 435.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/0.2758, allocations: 19.98 kB / 435.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.2761, allocations: 276.2 kB / 435.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/0.2762, allocations: 8 kB / 435.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.2765, allocations: 15.98 kB / 435.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.2766, allocations: 31.95 kB / 435.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001203/0.2778, allocations: 0.64 MB / 436.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00116/0.279, allocations: 0.8739 MB / 437.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002892/0.2793, allocations: 171.9 kB / 437.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007238/0.28, allocations: 0.6295 MB / 438.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of Backend: time 5.31e-07/0.28, allocations: 3.938 kB / 438.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.2817, allocations: 0.9114 MB / 439 MB, free: 2.141 MB / 350.1 MB Notification: Performance of SimCode: time 0.002457/0.2842, allocations: 2.288 MB / 441.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Templates: time 0.02281/0.307, allocations: 8.992 MB / 450.3 MB, free: 6.801 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches