Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001746/0.001746, allocations: 181.3 kB / 17.01 MB, free: 5.125 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.356/1.356, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0007918/0.0007918, allocations: 78.69 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002143/0.0002145, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2058, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0864/0.2923, allocations: 79.88 MB / 455.7 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.2926, allocations: 87.94 kB / 455.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0259/0.3185, allocations: 11.18 MB / 467 MB, free: 5.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3185, allocations: 3.938 kB / 467 MB, free: 5.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3185, allocations: 4 kB / 467 MB, free: 5.375 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001282/0.3198, allocations: 0.6238 MB / 467.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3199, allocations: 8.031 kB / 467.6 MB, free: 4.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006896/0.3206, allocations: 99.55 kB / 467.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.321, allocations: 263.2 kB / 468 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.321, allocations: 24.66 kB / 468 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.3211, allocations: 39.95 kB / 468 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.3216, allocations: 325.1 kB / 468.3 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3217, allocations: 3.984 kB / 468.3 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.3217, allocations: 16 kB / 468.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3217, allocations: 8 kB / 468.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.3221, allocations: 238.5 kB / 468.6 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.3241, allocations: 1.456 MB / 470.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.3248, allocations: 0.7007 MB / 470.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.712e-05/0.3249, allocations: 89.09 kB / 470.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.325, allocations: 38.56 kB / 470.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.003e-06/0.325, allocations: 0 / 470.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001176/0.3262, allocations: 493.8 kB / 471.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.3262, allocations: 55.41 kB / 471.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3264, allocations: 154.5 kB / 471.6 MB, free: 352 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3264, allocations: 29.7 kB / 471.6 MB, free: 316 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.3265, allocations: 175.9 kB / 471.8 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.3266, allocations: 82.75 kB / 471.8 MB, free: 52 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.3266, allocations: 8 kB / 471.9 MB, free: 44 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3267, allocations: 334.8 kB / 472.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3268, allocations: 68.53 kB / 472.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.327, allocations: 115.3 kB / 472.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3271, allocations: 89.11 kB / 472.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3272, allocations: 4 kB / 472.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005334/0.3277, allocations: 308.8 kB / 472.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3277, allocations: 8 kB / 472.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3277, allocations: 0 / 472.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000303/0.328, allocations: 84.92 kB / 472.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3282, allocations: 35.98 kB / 472.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.33, allocations: 1.859 MB / 474.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3302, allocations: 19.75 kB / 474.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3302, allocations: 16.06 kB / 474.8 MB, free: 12.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.3303, allocations: 141.8 kB / 474.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.3304, allocations: 15.81 kB / 474.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.3309, allocations: 292.8 kB / 475.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3309, allocations: 7.938 kB / 475.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.331, allocations: 3.953 kB / 475.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.331, allocations: 3.984 kB / 475.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.3319, allocations: 0.6943 MB / 475.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3319, allocations: 4 kB / 475.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.332, allocations: 27.92 kB / 476 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/0.3323, allocations: 76.75 kB / 476 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3323, allocations: 4 kB / 476 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.3341, allocations: 1.854 MB / 477.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3341, allocations: 0 / 477.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.3348, allocations: 444.4 kB / 478.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.3349, allocations: 112.9 kB / 478.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3349, allocations: 8 kB / 478.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.335, allocations: 8.672 kB / 478.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.3351, allocations: 15.98 kB / 478.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3351, allocations: 8 kB / 478.5 MB, free: 9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.339e-05/0.3352, allocations: 127.5 kB / 478.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3352, allocations: 0 / 478.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004634/0.3357, allocations: 107.7 kB / 478.7 MB, free: 8.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.3359, allocations: 131.2 kB / 478.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005674/0.3365, allocations: 347.1 kB / 479.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3365, allocations: 4.375 kB / 479.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.3368, allocations: 242.5 kB / 479.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.337, allocations: 23.94 kB / 479.4 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.338, allocations: 0.7227 MB / 480.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3383, allocations: 0.7635 MB / 480.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3384, allocations: 17.95 kB / 480.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3385, allocations: 15.44 kB / 481 MB, free: 6.438 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3385, allocations: 4 kB / 481 MB, free: 6.434 MB / 362.7 MB Notification: Performance of Templates: time 0.005465/0.344, allocations: 2.406 MB / 483.4 MB, free: 4.039 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches