Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009987/0.0009988, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.33/1.33, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007616/0.0007616, allocations: 89.53 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2198, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09681/0.3166, allocations: 82.14 MB / 459.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.3169, allocations: 99.92 kB / 459.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06048/0.3774, allocations: 26.04 MB / 485.3 MB, free: 3.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.03e-06/0.3775, allocations: 4 kB / 485.3 MB, free: 3.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.291e-05/0.3775, allocations: 19.94 kB / 485.3 MB, free: 3.887 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.003276/0.3808, allocations: 1.096 MB / 486.4 MB, free: 2.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3809, allocations: 16.03 kB / 486.4 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.3826, allocations: 255.7 kB / 486.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.383, allocations: 260 kB / 487 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.529e-05/0.3831, allocations: 70.38 kB / 487 MB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.3834, allocations: 104.3 kB / 487.1 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.3851, allocations: 0.9349 MB / 488.1 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.3851, allocations: 4.188 kB / 488.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.3852, allocations: 47.88 kB / 488.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.3853, allocations: 24 kB / 488.1 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.3869, allocations: 0.7809 MB / 488.9 MB, free: 212 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005486/0.3924, allocations: 3.421 MB / 492.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.3944, allocations: 1.417 MB / 493.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.395, allocations: 369.2 kB / 494.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3951, allocations: 98.09 kB / 494.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3952, allocations: 47.56 kB / 494.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.996e-06/0.3952, allocations: 0 / 494.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.002208/0.3974, allocations: 1.308 MB / 495.6 MB, free: 9.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3975, allocations: 86.11 kB / 495.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.3979, allocations: 364.4 kB / 496 MB, free: 8.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.398, allocations: 37.7 kB / 496 MB, free: 8.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.3982, allocations: 382.8 kB / 496.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.3984, allocations: 299.6 kB / 496.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3985, allocations: 20 kB / 496.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3987, allocations: 358.8 kB / 497.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.3991, allocations: 266.5 kB / 497.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.3998, allocations: 463.5 kB / 497.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.4009, allocations: 0.7627 MB / 498.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4009, allocations: 0 / 498.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001681/0.4026, allocations: 0.9728 MB / 499.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4026, allocations: 8 kB / 499.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4026, allocations: 8.062 kB / 499.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.403, allocations: 119.4 kB / 499.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.4038, allocations: 203.7 kB / 499.9 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1675/0.5713, allocations: 5.574 MB / 0.4936 GB, free: 95.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.5721, allocations: 98.77 kB / 0.4937 GB, free: 95.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/0.5723, allocations: 39.8 kB / 0.4937 GB, free: 95.3 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.0004103/0.5727, allocations: 232.7 kB / 0.4939 GB, free: 95.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5728, allocations: 52.75 kB / 0.494 GB, free: 95.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.5745, allocations: 0.8468 MB / 0.4948 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.5745, allocations: 13.75 kB / 0.4948 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5745, allocations: 2.438 kB / 0.4948 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5745, allocations: 4.297 kB / 0.4948 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.5778, allocations: 2.741 MB / 0.4975 GB, free: 93.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.5779, allocations: 19.56 kB / 0.4975 GB, free: 93.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.5784, allocations: 136 kB / 0.4977 GB, free: 93.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/0.5787, allocations: 114 kB / 0.4978 GB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.5787, allocations: 27 kB / 0.4978 GB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.5811, allocations: 5.306 MB / 0.503 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.5811, allocations: 10.53 kB / 0.503 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5827, allocations: 1.393 MB / 0.5043 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.5829, allocations: 163.9 kB / 0.5045 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.583, allocations: 26.95 kB / 0.5045 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.5834, allocations: 23.38 kB / 0.5045 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5835, allocations: 86.8 kB / 0.5046 GB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.5836, allocations: 36.17 kB / 0.5047 GB, free: 88.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002766/0.5839, allocations: 273 kB / 0.5049 GB, free: 88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5839, allocations: 3.656 kB / 0.5049 GB, free: 88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001018/0.5849, allocations: 264.5 kB / 0.5052 GB, free: 87.98 MB / 378.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 () * 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.000242/0.5851, allocations: 162.3 kB / 0.5053 GB, free: 87.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5867, allocations: 1.168 MB / 0.5065 GB, free: 87.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5867, allocations: 1.75 kB / 0.5065 GB, free: 87.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.5876, allocations: 0.7861 MB / 0.5072 GB, free: 86.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.5886, allocations: 83.23 kB / 0.5073 GB, free: 86.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.591, allocations: 1.83 MB / 0.5091 GB, free: 85.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.5914, allocations: 0.9114 MB / 0.51 GB, free: 85.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005473/0.5919, allocations: 112.3 kB / 0.5101 GB, free: 85.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.5921, allocations: 58.02 kB / 0.5102 GB, free: 85.15 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5921, allocations: 0 / 0.5102 GB, free: 85.15 MB / 378.7 MB Notification: Performance of Templates: time 0.0107/0.6028, allocations: 7.039 MB / 0.517 GB, free: 84.8 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches