Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 175.3 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008556/0.0008557, allocations: 92.78 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.227, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003834/0.2308, allocations: 4.504 MB / 379.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006271/0.2371, allocations: 5.948 MB / 385.5 MB, free: 37.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.2377, allocations: 34 kB / 385.6 MB, free: 37.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.2389, allocations: 399.9 kB / 386 MB, free: 36.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.2406, allocations: 0.6366 MB / 386.6 MB, free: 36.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008949/0.2415, allocations: 307.7 kB / 386.9 MB, free: 36.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.2441, allocations: 1.873 MB / 388.8 MB, free: 34.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.2444, allocations: 151.5 kB / 388.9 MB, free: 34.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.2447, allocations: 302.4 kB / 389.2 MB, free: 34.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.245, allocations: 310 kB / 389.5 MB, free: 34.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.2451, allocations: 16 kB / 389.5 MB, free: 34.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009322/0.246, allocations: 427.6 kB / 389.9 MB, free: 33.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.2461, allocations: 91.33 kB / 390 MB, free: 33.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.2463, allocations: 427.2 kB / 390.5 MB, free: 33.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.247, allocations: 0.927 MB / 391.4 MB, free: 32.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.247, allocations: 0 / 391.4 MB, free: 32.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.247, allocations: 4 kB / 391.4 MB, free: 32.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.247, allocations: 4 kB / 391.4 MB, free: 32.34 MB / 298.7 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.001328/0.2484, allocations: 1.282 MB / 392.7 MB, free: 31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2484, allocations: 8.031 kB / 392.7 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.2485, allocations: 126.4 kB / 392.8 MB, free: 30.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.2494, allocations: 0.8503 MB / 393.6 MB, free: 29.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2494, allocations: 20.44 kB / 393.7 MB, free: 29.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.2494, allocations: 24 kB / 393.7 MB, free: 29.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.2499, allocations: 306.6 kB / 394 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2499, allocations: 3.984 kB / 394 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.25, allocations: 12 kB / 394 MB, free: 29.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.25, allocations: 4 kB / 394 MB, free: 29.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.2503, allocations: 237.7 kB / 394.2 MB, free: 29.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2517, allocations: 1.126 MB / 395.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.2521, allocations: 246.5 kB / 395.6 MB, free: 27.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.2524, allocations: 297.4 kB / 395.9 MB, free: 27.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.2532, allocations: 0.7593 MB / 396.7 MB, free: 26.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2532, allocations: 38.56 kB / 396.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.834e-06/0.2532, allocations: 4 kB / 396.7 MB, free: 26.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002324/0.2556, allocations: 1.583 MB / 398.3 MB, free: 25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2556, allocations: 114.7 kB / 398.4 MB, free: 24.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.2563, allocations: 0.9184 MB / 399.3 MB, free: 23.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.2564, allocations: 29.7 kB / 399.3 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.2566, allocations: 361.5 kB / 399.7 MB, free: 23.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.2566, allocations: 130.1 kB / 399.8 MB, free: 23.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.2567, allocations: 4 kB / 399.8 MB, free: 23.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.2567, allocations: 318 kB / 400.1 MB, free: 23.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.2569, allocations: 136.6 kB / 400.3 MB, free: 22.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.2571, allocations: 159.5 kB / 400.4 MB, free: 22.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2583, allocations: 0.755 MB / 401.2 MB, free: 22.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2583, allocations: 0 / 401.2 MB, free: 22.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000728/0.2591, allocations: 0.562 MB / 401.7 MB, free: 21.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.2591, allocations: 37.69 kB / 401.8 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.2591, allocations: 16 kB / 401.8 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.2593, allocations: 69.72 kB / 401.9 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.2596, allocations: 47.91 kB / 401.9 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.2611, allocations: 2.989 MB / 404.9 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.2614, allocations: 24.02 kB / 404.9 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.2614, allocations: 16 kB / 404.9 MB, free: 17.96 MB / 298.7 MB Warning: Assuming fixed start value for the following 4 variables: D1.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 D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D2.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.2617, allocations: 263.8 kB / 405.2 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.2618, allocations: 126.5 kB / 405.3 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.263, allocations: 0.6686 MB / 406 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.263, allocations: 4 kB / 406 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.263, allocations: 0 / 406 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.263, allocations: 0 / 406 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.2635, allocations: 0.6082 MB / 406.6 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.2635, allocations: 19.98 kB / 406.6 MB, free: 16.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.2637, allocations: 43.91 kB / 406.7 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.2639, allocations: 69.67 kB / 406.7 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.2639, allocations: 23.86 kB / 406.8 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.2654, allocations: 2.993 MB / 409.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2654, allocations: 0 / 409.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2664, allocations: 0.8596 MB / 410.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.2667, allocations: 275.5 kB / 410.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.2668, allocations: 15.92 kB / 410.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.2671, allocations: 12 kB / 410.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.2671, allocations: 27.97 kB / 410.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.2672, allocations: 23.98 kB / 411 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005354/0.2677, allocations: 0.6178 MB / 411.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2677, allocations: 0 / 411.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006914/0.2684, allocations: 223.8 kB / 411.8 MB, free: 10.7 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004479/0.2689, allocations: 303.1 kB / 412.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008701/0.2698, allocations: 0.7923 MB / 412.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2698, allocations: 0 / 412.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.2703, allocations: 0.6246 MB / 413.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.2708, allocations: 100.8 kB / 413.6 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.2726, allocations: 1.905 MB / 415.5 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.273, allocations: 1.004 MB / 416.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.2731, allocations: 51.42 kB / 416.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2731, allocations: 0 / 416.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of Templates: time 0.0183/0.2914, allocations: 17.21 MB / 433.8 MB, free: 4.504 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches