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.001041/0.001041, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.4 MB / 235.5 MB, free: 2.91 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.0008333/0.0008333, allocations: 90.06 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.538e-05, allocations: 4 kB / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08612, allocations: 50.41 MB / 394.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.3581, allocations: 83.06 MB / 477.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.3584, allocations: 95.75 kB / 477.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05834/0.4167, allocations: 26.19 MB / 0.4918 GB, free: 9.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4168, allocations: 0 / 0.4918 GB, free: 9.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.4168, allocations: 20 kB / 0.4918 GB, free: 9.848 MB / 378.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.002786/0.4196, allocations: 1.084 MB / 0.4929 GB, free: 8.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4197, allocations: 8.031 kB / 0.4929 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.4213, allocations: 258.8 kB / 0.4931 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.4215, allocations: 257.9 kB / 0.4934 GB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.4216, allocations: 74 kB / 0.4934 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.4217, allocations: 99.91 kB / 0.4935 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4232, allocations: 0.9111 MB / 0.4944 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.4232, allocations: 4 kB / 0.4944 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.4233, allocations: 43.95 kB / 0.4945 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.4234, allocations: 24 kB / 0.4945 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.4246, allocations: 0.7538 MB / 0.4952 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.4293, allocations: 3.407 MB / 0.4986 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.4312, allocations: 1.417 MB / 0.4999 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.4317, allocations: 360.6 kB / 0.5003 GB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.4318, allocations: 97.86 kB / 0.5004 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4319, allocations: 47.34 kB / 0.5004 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.375e-06/0.4319, allocations: 4 kB / 0.5004 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.00119/0.4331, allocations: 0.6708 MB / 0.5011 GB, free: 15.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4331, allocations: 89.89 kB / 0.5012 GB, free: 15.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.4335, allocations: 318.8 kB / 0.5015 GB, free: 15.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.4335, allocations: 49.67 kB / 0.5015 GB, free: 15.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.4337, allocations: 386.7 kB / 0.5019 GB, free: 15.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.4339, allocations: 295.8 kB / 0.5022 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.434, allocations: 20 kB / 0.5022 GB, free: 14.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4341, allocations: 370.7 kB / 0.5025 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.4345, allocations: 250.6 kB / 0.5028 GB, free: 14.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.4351, allocations: 459.7 kB / 0.5032 GB, free: 13.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.4356, allocations: 328.8 kB / 0.5035 GB, free: 13.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/0.4356, allocations: 7.938 kB / 0.5035 GB, free: 13.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001458/0.4371, allocations: 0.9415 MB / 0.5045 GB, free: 12.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4371, allocations: 8 kB / 0.5045 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4371, allocations: 4 kB / 0.5045 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.4375, allocations: 127.5 kB / 0.5046 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.4383, allocations: 199.7 kB / 0.5048 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.4417, allocations: 5.559 MB / 0.5102 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.4423, allocations: 102.9 kB / 0.5103 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.4423, allocations: 40 kB / 0.5104 GB, free: 5.699 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.0001479/0.4425, allocations: 165.5 kB / 0.5105 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4426, allocations: 59.34 kB / 0.5106 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.444, allocations: 0.8275 MB / 0.5114 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.444, allocations: 8 kB / 0.5114 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.444, allocations: 4 kB / 0.5114 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4441, allocations: 3.984 kB / 0.5114 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.4475, allocations: 2.738 MB / 0.5141 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4476, allocations: 8 kB / 0.5141 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.4481, allocations: 139.8 kB / 0.5142 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/0.4484, allocations: 115.7 kB / 0.5143 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.4485, allocations: 24 kB / 0.5143 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/0.4517, allocations: 5.307 MB / 0.5195 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/0.4517, allocations: 11.94 kB / 0.5195 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.4537, allocations: 1.747 MB / 0.5212 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.4539, allocations: 156.2 kB / 0.5214 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.4539, allocations: 24 kB / 0.5214 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.4544, allocations: 27.89 kB / 0.5214 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4545, allocations: 84.25 kB / 0.5215 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.4546, allocations: 28 kB / 0.5215 GB, free: 9.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002862/0.4549, allocations: 278.1 kB / 0.5218 GB, free: 8.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4549, allocations: 4 kB / 0.5218 GB, free: 8.754 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009025/0.4558, allocations: 259.4 kB / 0.5221 GB, free: 8.5 MB / 410.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.0002968/0.4561, allocations: 183 kB / 0.5222 GB, free: 8.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.4575, allocations: 1.138 MB / 0.5233 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4575, allocations: 5.312 kB / 0.5234 GB, free: 7.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007986/0.4584, allocations: 0.7708 MB / 0.5241 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.4588, allocations: 66.56 kB / 0.5242 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.4608, allocations: 1.169 MB / 0.5253 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.4612, allocations: 0.9358 MB / 0.5262 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.4618, allocations: 105.2 kB / 0.5263 GB, free: 3.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.4619, allocations: 59.44 kB / 0.5264 GB, free: 3.812 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.462, allocations: 0 / 0.5264 GB, free: 3.812 MB / 410.7 MB Notification: Performance of Templates: time 0.01257/0.4745, allocations: 7.162 MB / 0.5334 GB, free: 12.69 MB / 426.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