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.001557/0.001557, allocations: 106.6 kB / 18.4 MB, free: 4.68 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.001788/0.001788, allocations: 190 kB / 19.34 MB, free: 3.754 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.319/1.319, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001374/0.001374, allocations: 47.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07445/0.07584, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1536/0.2294, allocations: 5.199 MB / 381 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007089/0.2365, allocations: 6.573 MB / 387.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006028/0.2372, allocations: 42.12 kB / 387.6 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.2383, allocations: 0.4929 MB / 388.1 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.2402, allocations: 0.809 MB / 388.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2413, allocations: 442.8 kB / 389.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.2437, allocations: 1.986 MB / 391.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.2439, allocations: 167.3 kB / 391.5 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.2443, allocations: 363.2 kB / 391.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.2447, allocations: 342.4 kB / 392.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.2447, allocations: 29.66 kB / 392.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.2457, allocations: 470 kB / 392.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.2458, allocations: 120.6 kB / 392.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.2461, allocations: 442.6 kB / 393.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.2473, allocations: 1.264 MB / 394.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2473, allocations: 7.938 kB / 394.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2473, allocations: 0 / 394.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.2473, allocations: 0 / 394.5 MB, free: 3.762 MB / 318.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.001612/0.2489, allocations: 1.441 MB / 395.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.249, allocations: 9.094 kB / 396 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2491, allocations: 132.2 kB / 396.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.2501, allocations: 0.8507 MB / 396.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.2501, allocations: 17.69 kB / 397 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.2502, allocations: 27.38 kB / 397 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.2507, allocations: 309 kB / 397.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2507, allocations: 1.281 kB / 397.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2507, allocations: 14.12 kB / 397.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2508, allocations: 5.375 kB / 397.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.2512, allocations: 221.4 kB / 397.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.2528, allocations: 1.124 MB / 398.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.2531, allocations: 243.4 kB / 398.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.2536, allocations: 295.8 kB / 399.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007514/0.2544, allocations: 0.7465 MB / 399.9 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2544, allocations: 35.94 kB / 400 MB, free: 144 kB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 2.655e-06/0.2544, allocations: 4 kB / 400 MB, free: 140 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.002879/0.2573, allocations: 1.555 MB / 401.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2574, allocations: 110.7 kB / 401.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2584, allocations: 0.9315 MB / 402.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.2584, allocations: 27.08 kB / 402.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.2587, allocations: 357.7 kB / 402.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/0.2588, allocations: 134.5 kB / 403.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.259, allocations: 113.3 kB / 403.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2591, allocations: 327.1 kB / 403.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.2594, allocations: 124.6 kB / 403.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.2596, allocations: 159 kB / 403.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.261, allocations: 0.7459 MB / 404.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2611, allocations: 0 / 404.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009137/0.262, allocations: 0.5533 MB / 405.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.262, allocations: 41.25 kB / 405.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/0.2621, allocations: 16.41 kB / 405.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.2623, allocations: 71.11 kB / 405.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2625, allocations: 44.91 kB / 405.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.265, allocations: 3.332 MB / 408.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.2653, allocations: 13.08 kB / 408.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.2654, allocations: 24.48 kB / 408.6 MB, free: 9.723 MB / 334.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.0003725/0.2658, allocations: 267.8 kB / 408.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2659, allocations: 120.8 kB / 409 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.2672, allocations: 0.664 MB / 409.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2672, allocations: 2.984 kB / 409.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/0.2672, allocations: 12.86 kB / 409.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.2676, allocations: 273.3 kB / 409.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2677, allocations: 7.438 kB / 409.9 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.268, allocations: 13.03 kB / 409.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2681, allocations: 37.92 kB / 410 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001219/0.2694, allocations: 0.6478 MB / 410.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001132/0.2705, allocations: 0.861 MB / 411.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002896/0.2708, allocations: 167.5 kB / 411.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.2716, allocations: 0.6269 MB / 412.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of Backend: time 8.82e-07/0.2716, allocations: 7.938 kB / 412.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.2733, allocations: 0.9144 MB / 413.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of SimCode: time 0.002439/0.2758, allocations: 2.243 MB / 415.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of Templates: time 0.01651/0.2923, allocations: 9.002 MB / 424.5 MB, free: 13.79 MB / 350.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/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