Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001201/0.001201, allocations: 95.48 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 11.98 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3305, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4595, allocations: 82.08 MB / 456.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.4599, allocations: 95.94 kB / 456.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09957/0.5595, allocations: 26.11 MB / 482.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5596, allocations: 0 / 482.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.868e-05/0.5596, allocations: 16 kB / 482.9 MB, free: 4.113 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.004926/0.5645, allocations: 1.104 MB / 484 MB, free: 2.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5646, allocations: 8.031 kB / 484 MB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.5673, allocations: 266.7 kB / 484.2 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.5677, allocations: 254.6 kB / 484.5 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.5679, allocations: 77.95 kB / 484.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.5683, allocations: 103.9 kB / 484.7 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.571, allocations: 0.9265 MB / 485.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/0.5711, allocations: 0 / 485.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.5713, allocations: 40 kB / 485.6 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.5713, allocations: 24 kB / 485.6 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.5738, allocations: 0.7808 MB / 486.4 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009115/0.583, allocations: 3.421 MB / 489.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.5865, allocations: 1.409 MB / 491.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.5868, allocations: 106.1 kB / 491.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.5869, allocations: 43.56 kB / 491.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 4.028e-06/0.5869, allocations: 0 / 491.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.003819/0.5907, allocations: 1.296 MB / 492.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.5908, allocations: 90.05 kB / 492.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.5915, allocations: 331.7 kB / 493.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/0.5916, allocations: 37.7 kB / 493.1 MB, free: 9.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.592, allocations: 437.2 kB / 493.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.5924, allocations: 303.7 kB / 493.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.5925, allocations: 20 kB / 493.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.5927, allocations: 350.8 kB / 494.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.5935, allocations: 262.5 kB / 494.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/0.5945, allocations: 463.5 kB / 494.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.5954, allocations: 334.9 kB / 495.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.5955, allocations: 4 kB / 495.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002754/0.5982, allocations: 0.9651 MB / 496.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.5983, allocations: 8 kB / 496.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.5983, allocations: 4 kB / 496.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.599, allocations: 123.4 kB / 496.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.6006, allocations: 203.7 kB / 496.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2672/0.8678, allocations: 5.595 MB / 0.4904 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.869, allocations: 103.9 kB / 0.4905 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.8692, allocations: 38.48 kB / 0.4905 GB, free: 95.61 MB / 378.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 () * Number of clocked 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.0005729/0.8697, allocations: 230 kB / 0.4907 GB, free: 95.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.87, allocations: 55.16 kB / 0.4908 GB, free: 95.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.8726, allocations: 0.857 MB / 0.4916 GB, free: 95.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.8727, allocations: 9.062 kB / 0.4916 GB, free: 95.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.8727, allocations: 2.812 kB / 0.4916 GB, free: 95.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.8728, allocations: 4.578 kB / 0.4917 GB, free: 95.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.8774, allocations: 2.039 MB / 0.4936 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.8774, allocations: 7.969 kB / 0.4937 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.8786, allocations: 129.4 kB / 0.4938 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005/0.8791, allocations: 112.2 kB / 0.4939 GB, free: 94.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.488e-05/0.8792, allocations: 18.75 kB / 0.4939 GB, free: 94.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.8831, allocations: 5.33 MB / 0.4991 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.8831, allocations: 6.594 kB / 0.4991 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.8861, allocations: 1.38 MB / 0.5005 GB, free: 89.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.8864, allocations: 148.7 kB / 0.5006 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.8866, allocations: 23.08 kB / 0.5006 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.8872, allocations: 20.97 kB / 0.5006 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.8874, allocations: 65.03 kB / 0.5007 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.8875, allocations: 25.06 kB / 0.5007 GB, free: 88.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004115/0.8879, allocations: 259 kB / 0.501 GB, free: 88.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8879, allocations: 0 / 0.501 GB, free: 88.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001471/0.8894, allocations: 262.3 kB / 0.5012 GB, free: 88.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (referenceSensor.port.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 (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.0003742/0.8898, allocations: 157.1 kB / 0.5014 GB, free: 88.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.8924, allocations: 1.168 MB / 0.5025 GB, free: 88.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.8924, allocations: 0 / 0.5025 GB, free: 88.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.8938, allocations: 0.7892 MB / 0.5033 GB, free: 87.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.8945, allocations: 50.97 kB / 0.5033 GB, free: 87.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.8986, allocations: 1.74 MB / 0.505 GB, free: 86.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.8992, allocations: 0.9281 MB / 0.5059 GB, free: 86.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.8996, allocations: 63.98 kB / 0.506 GB, free: 86.21 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8996, allocations: 0 / 0.506 GB, free: 86.21 MB / 378.7 MB Notification: Performance of Templates: time 0.02888/0.9285, allocations: 19.63 MB / 0.5252 GB, free: 82.29 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches