Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008808, allocations: 89.77 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.875e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09223, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.369, allocations: 82.4 MB / 469.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.3692, allocations: 87.95 kB / 470 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05793/0.4272, allocations: 25.9 MB / 495.9 MB, free: 2.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.4272, allocations: 7.938 kB / 495.9 MB, free: 2.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.4272, allocations: 12 kB / 495.9 MB, free: 2.129 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002664/0.4299, allocations: 1.084 MB / 497 MB, free: 1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4299, allocations: 12.03 kB / 497 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.4315, allocations: 250.8 kB / 497.2 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.4318, allocations: 261.9 kB / 497.5 MB, free: 456 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.4318, allocations: 32 kB / 497.5 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4319, allocations: 63.91 kB / 497.6 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001226/0.4332, allocations: 0.7069 MB / 498.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.4346, allocations: 0.7705 MB / 499 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.4346, allocations: 3.953 kB / 499 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.4347, allocations: 4 kB / 499.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.4347, allocations: 24 kB / 499.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.4394, allocations: 3.24 MB / 0.4905 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.4412, allocations: 1.363 MB / 0.4919 GB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.4417, allocations: 332.6 kB / 0.4922 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.4419, allocations: 101.9 kB / 0.4923 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.4419, allocations: 47.34 kB / 0.4923 GB, free: 9.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.805e-06/0.4419, allocations: 0 / 0.4923 GB, free: 9.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001794/0.4437, allocations: 0.7839 MB / 0.4931 GB, free: 8.629 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4438, allocations: 97.83 kB / 0.4932 GB, free: 8.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.4441, allocations: 278.1 kB / 0.4935 GB, free: 8.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.4441, allocations: 25.7 kB / 0.4935 GB, free: 8.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.4443, allocations: 382.7 kB / 0.4938 GB, free: 7.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.4445, allocations: 291.6 kB / 0.4941 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.4446, allocations: 0 / 0.4941 GB, free: 7.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4447, allocations: 354.8 kB / 0.4945 GB, free: 7.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.4451, allocations: 234.6 kB / 0.4947 GB, free: 6.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.4456, allocations: 433.4 kB / 0.4951 GB, free: 6.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.4468, allocations: 493.9 kB / 0.4956 GB, free: 5.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.4468, allocations: 7.953 kB / 0.4956 GB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001966/0.4488, allocations: 1.043 MB / 0.4966 GB, free: 4.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.4488, allocations: 8 kB / 0.4966 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4488, allocations: 4 kB / 0.4966 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.4491, allocations: 119.4 kB / 0.4967 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.4499, allocations: 203.7 kB / 0.4969 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.4537, allocations: 5.353 MB / 0.5021 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.4545, allocations: 78.97 kB / 0.5022 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.4546, allocations: 36 kB / 0.5023 GB, free: 14.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.4548, allocations: 132.7 kB / 0.5024 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.455, allocations: 47.44 kB / 0.5024 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.4571, allocations: 0.928 MB / 0.5033 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4571, allocations: 11.94 kB / 0.5033 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4571, allocations: 4 kB / 0.5033 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.4571, allocations: 3.984 kB / 0.5033 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.4613, allocations: 2.685 MB / 0.506 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4613, allocations: 8.156 kB / 0.506 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.4619, allocations: 143.8 kB / 0.5061 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.4622, allocations: 103.4 kB / 0.5062 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.4622, allocations: 20 kB / 0.5062 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.4655, allocations: 5.077 MB / 0.5112 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.4656, allocations: 11.95 kB / 0.5112 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.468, allocations: 1.841 MB / 0.513 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.4682, allocations: 148.3 kB / 0.5131 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.4683, allocations: 12 kB / 0.5132 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.4687, allocations: 8 kB / 0.5132 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4688, allocations: 84.3 kB / 0.5132 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.4689, allocations: 35.89 kB / 0.5133 GB, free: 2.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4691, allocations: 202 kB / 0.5135 GB, free: 2.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4691, allocations: 0 / 0.5135 GB, free: 2.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001059/0.4701, allocations: 239.2 kB / 0.5137 GB, free: 1.781 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.4705, allocations: 159 kB / 0.5138 GB, free: 1.613 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.4719, allocations: 1.048 MB / 0.5149 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4719, allocations: 4.125 kB / 0.5149 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.4727, allocations: 0.7327 MB / 0.5156 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.4732, allocations: 44.78 kB / 0.5156 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.4752, allocations: 1.116 MB / 0.5167 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.4757, allocations: 0.9359 MB / 0.5176 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005119/0.4762, allocations: 101 kB / 0.5177 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.4764, allocations: 47.44 kB / 0.5178 GB, free: 13.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4764, allocations: 4 kB / 0.5178 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Templates: time 0.0116/0.488, allocations: 6.423 MB / 0.5241 GB, free: 6.957 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches