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.001308/0.001308, allocations: 102 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.001346/0.001346, allocations: 186.5 kB / 19.33 MB, free: 3.758 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.25/1.25, 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.001205/0.001205, allocations: 56.34 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.0828, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.189/0.2719, allocations: 5.198 MB / 381 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.2797, allocations: 6.57 MB / 387.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009513/0.2807, allocations: 40.72 kB / 387.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2822, allocations: 0.4926 MB / 388.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.2853, allocations: 0.8052 MB / 388.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.2869, allocations: 436.5 kB / 389.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.2905, allocations: 1.982 MB / 391.3 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.2909, allocations: 170.8 kB / 391.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.2915, allocations: 362.3 kB / 391.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.292, allocations: 348.1 kB / 392.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/0.292, allocations: 30.25 kB / 392.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.2935, allocations: 468.8 kB / 392.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.2936, allocations: 116 kB / 392.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.2939, allocations: 446.9 kB / 393.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.2956, allocations: 1.266 MB / 394.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2956, allocations: 4.984 kB / 394.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2957, allocations: 1 kB / 394.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.2957, 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.00184/0.2975, allocations: 1.44 MB / 395.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2976, allocations: 9.781 kB / 395.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.2977, allocations: 132 kB / 396.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.2988, allocations: 0.8515 MB / 396.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.2989, allocations: 17.03 kB / 396.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.2989, allocations: 26.69 kB / 397 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.2995, allocations: 313.3 kB / 397.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2995, allocations: 1.219 kB / 397.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2995, allocations: 10.12 kB / 397.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2995, allocations: 6.422 kB / 397.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.2999, allocations: 222.8 kB / 397.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3016, allocations: 1.117 MB / 398.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.302, allocations: 241.8 kB / 398.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.3025, allocations: 294 kB / 399.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/0.3033, allocations: 0.7529 MB / 399.9 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3034, allocations: 42.12 kB / 399.9 MB, free: 140 kB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.3034, allocations: 3.938 kB / 399.9 MB, free: 136 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0031/0.3065, allocations: 1.548 MB / 401.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.3066, allocations: 113.6 kB / 401.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.3079, allocations: 0.9285 MB / 402.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.3079, allocations: 31.08 kB / 402.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.3082, allocations: 357.7 kB / 402.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.3084, allocations: 133 kB / 403 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.3086, allocations: 115.2 kB / 403.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3087, allocations: 326.6 kB / 403.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.3089, allocations: 125.7 kB / 403.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.3092, allocations: 159.7 kB / 403.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.3106, allocations: 0.7415 MB / 404.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3106, allocations: 0 / 404.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009606/0.3116, allocations: 0.5539 MB / 405 MB, free: 13.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.3117, allocations: 41.64 kB / 405.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/0.3117, allocations: 15.28 kB / 405.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.3119, allocations: 74.38 kB / 405.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3122, allocations: 41.83 kB / 405.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.3149, allocations: 3.331 MB / 408.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.3154, allocations: 13.03 kB / 408.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.3155, allocations: 23.92 kB / 408.6 MB, free: 9.73 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.0004854/0.316, allocations: 262.9 kB / 408.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.3161, allocations: 122.7 kB / 409 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.3175, allocations: 0.6664 MB / 409.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3175, allocations: 3.75 kB / 409.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3175, allocations: 2.469 kB / 409.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3175, allocations: 2.969 kB / 409.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009676/0.3185, allocations: 0.613 MB / 410.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/0.3185, allocations: 20.05 kB / 410.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.3187, allocations: 32.14 kB / 410.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.3189, allocations: 73.14 kB / 410.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.319, allocations: 17.48 kB / 410.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.3214, allocations: 3.33 MB / 413.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3214, allocations: 1.344 kB / 413.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3229, allocations: 0.8558 MB / 414.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.3234, allocations: 273.7 kB / 414.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3235, allocations: 11.34 kB / 414.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3238, allocations: 21.73 kB / 414.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.3239, allocations: 31.75 kB / 414.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.3239, allocations: 21.98 kB / 414.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008815/0.3248, allocations: 0.6284 MB / 415.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3248, allocations: 0 / 415.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001201/0.326, allocations: 217.9 kB / 415.8 MB, free: 4.121 MB / 334.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.0006599/0.3267, allocations: 310 kB / 416.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3279, allocations: 0.7759 MB / 416.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3279, allocations: 0 / 416.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007979/0.3287, allocations: 0.6264 MB / 417.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.3293, allocations: 93.62 kB / 417.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3315, allocations: 1.614 MB / 419.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.3321, allocations: 0.9997 MB / 420.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.932e-05/0.3322, allocations: 56.11 kB / 420.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3322, allocations: 0 / 420.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of Templates: time 0.2278/0.5601, allocations: 17.39 MB / 437.6 MB, free: 256 kB / 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