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.001986/0.001985, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 87.44 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.584e-05, allocations: 0 / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3305, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.4631, allocations: 81.33 MB / 443.7 MB, free: 4.977 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.4635, allocations: 88.95 kB / 443.8 MB, free: 4.891 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0964/0.5599, allocations: 25.75 MB / 469.5 MB, free: 10.89 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.56, allocations: 0 / 469.5 MB, free: 10.89 MB / 363.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.56, allocations: 16 kB / 469.5 MB, free: 10.88 MB / 363.1 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.004434/0.5645, allocations: 1.082 MB / 470.6 MB, free: 9.75 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5645, allocations: 8.031 kB / 470.6 MB, free: 9.742 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.567, allocations: 258.8 kB / 470.9 MB, free: 9.488 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.5674, allocations: 261.9 kB / 471.1 MB, free: 9.191 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.5675, allocations: 39.89 kB / 471.2 MB, free: 9.152 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.5677, allocations: 59.91 kB / 471.2 MB, free: 9.094 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002142/0.5699, allocations: 0.703 MB / 471.9 MB, free: 8.391 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.5721, allocations: 0.7744 MB / 472.7 MB, free: 7.605 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.5721, allocations: 0 / 472.7 MB, free: 7.605 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5722, allocations: 0 / 472.7 MB, free: 7.605 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.5723, allocations: 24 kB / 472.7 MB, free: 7.582 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008048/0.5803, allocations: 3.257 MB / 476 MB, free: 4.16 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/0.5836, allocations: 1.355 MB / 477.3 MB, free: 2.68 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008578/0.5845, allocations: 332.6 kB / 477.7 MB, free: 2.352 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.5847, allocations: 101.9 kB / 477.8 MB, free: 2.234 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.5847, allocations: 47.34 kB / 477.8 MB, free: 2.18 MB / 363.1 MB Notification: Performance of pre-optimization done (n=87): time 3.737e-06/0.5848, allocations: 4 kB / 477.8 MB, free: 2.176 MB / 363.1 MB Notification: Performance of matching and sorting (n=87): time 0.003068/0.5878, allocations: 0.7917 MB / 478.6 MB, free: 1.363 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.5879, allocations: 89.92 kB / 478.7 MB, free: 1.258 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.5884, allocations: 280 kB / 479 MB, free: 0.9766 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.5885, allocations: 25.7 kB / 479 MB, free: 0.9453 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.5888, allocations: 453.2 kB / 479.4 MB, free: 0.4961 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.5892, allocations: 283.7 kB / 479.7 MB, free: 220 kB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.5892, allocations: 0 / 479.7 MB, free: 220 kB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5895, allocations: 350.8 kB / 480.1 MB, free: 15.86 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.5901, allocations: 230.6 kB / 480.3 MB, free: 15.64 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008351/0.591, allocations: 433.2 kB / 480.7 MB, free: 15.14 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.593, allocations: 490 kB / 481.2 MB, free: 14.66 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.5931, allocations: 8 kB / 481.2 MB, free: 14.66 MB / 379.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003573/0.5967, allocations: 1.027 MB / 482.2 MB, free: 13.61 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.5967, allocations: 11.98 kB / 482.2 MB, free: 13.6 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.5967, allocations: 4 kB / 482.2 MB, free: 13.59 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.5973, allocations: 123.4 kB / 482.4 MB, free: 13.46 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.5989, allocations: 207.6 kB / 482.6 MB, free: 13.26 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005399/0.6043, allocations: 5.333 MB / 487.9 MB, free: 7.457 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.6054, allocations: 70.97 kB / 488 MB, free: 7.387 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6055, allocations: 40 kB / 488 MB, free: 7.348 MB / 379.1 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.0002469/0.6058, allocations: 132.7 kB / 488.1 MB, free: 7.211 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.6059, allocations: 47.44 kB / 488.2 MB, free: 7.164 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.6092, allocations: 0.928 MB / 489.1 MB, free: 6.215 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.6093, allocations: 8 kB / 489.1 MB, free: 6.207 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.6093, allocations: 9.016 kB / 489.1 MB, free: 6.199 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.6093, allocations: 3.984 kB / 489.1 MB, free: 6.195 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.6162, allocations: 2.688 MB / 491.8 MB, free: 3.219 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.6162, allocations: 8 kB / 491.8 MB, free: 3.211 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6173, allocations: 139.7 kB / 492 MB, free: 3.074 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.6178, allocations: 111.5 kB / 492.1 MB, free: 2.953 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/0.6179, allocations: 12 kB / 492.1 MB, free: 2.941 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/0.6227, allocations: 5.081 MB / 497.2 MB, free: 13.41 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.967e-05/0.6227, allocations: 15.92 kB / 497.2 MB, free: 13.39 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/0.6271, allocations: 1.835 MB / 499 MB, free: 11.23 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.6274, allocations: 148.3 kB / 499.2 MB, free: 11.07 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6275, allocations: 8.938 kB / 499.2 MB, free: 11.06 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.6282, allocations: 12 kB / 499.2 MB, free: 11.05 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.6285, allocations: 92.19 kB / 499.3 MB, free: 10.96 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.6286, allocations: 28 kB / 499.3 MB, free: 10.93 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003428/0.6289, allocations: 202 kB / 499.5 MB, free: 10.74 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6289, allocations: 0 / 499.5 MB, free: 10.74 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001561/0.6305, allocations: 240.2 kB / 499.7 MB, free: 10.5 MB / 395.1 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.0004068/0.6309, allocations: 151 kB / 499.9 MB, free: 10.35 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.6334, allocations: 1.052 MB / 0.4892 GB, free: 9.254 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.6335, allocations: 12 kB / 0.4892 GB, free: 9.242 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.6349, allocations: 0.7297 MB / 0.4899 GB, free: 8.477 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.6358, allocations: 38.62 kB / 0.4899 GB, free: 8.441 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.6393, allocations: 1.145 MB / 0.4911 GB, free: 7.164 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.6402, allocations: 0.936 MB / 0.492 GB, free: 6.199 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.6406, allocations: 67.36 kB / 0.492 GB, free: 6.133 MB / 395.1 MB Notification: Performance of SimCode: time 4.538e-06/0.6406, allocations: 0 / 0.492 GB, free: 6.133 MB / 395.1 MB Notification: Performance of Templates: time 0.2957/0.9363, allocations: 19.39 MB / 0.511 GB, free: 108.5 MB / 395.1 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