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.001185/0.001185, allocations: 171.4 kB / 16.72 MB, free: 5.055 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.312/1.312, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007954/0.0007956, allocations: 86.36 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004106/0.2281, allocations: 4.456 MB / 379.6 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.231, allocations: 1.573 MB / 381.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004264/0.2315, allocations: 16.41 kB / 381.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.232, allocations: 194 kB / 381.3 MB, free: 40.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008242/0.2329, allocations: 257.6 kB / 381.6 MB, free: 40.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.2342, allocations: 0.6621 MB / 382.3 MB, free: 39.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009365/0.2351, allocations: 0.7516 MB / 383 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.2374, allocations: 1.406 MB / 384.4 MB, free: 38.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/0.238, allocations: 288.7 kB / 384.7 MB, free: 38.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.2384, allocations: 390.6 kB / 385.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.2385, allocations: 35.53 kB / 385.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006054/0.2391, allocations: 213.5 kB / 385.3 MB, free: 37.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2392, allocations: 126.8 kB / 385.4 MB, free: 37.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.2396, allocations: 382.9 kB / 385.8 MB, free: 37.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008395/0.2405, allocations: 0.8991 MB / 386.7 MB, free: 36.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2405, allocations: 0 / 386.7 MB, free: 36.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2405, allocations: 0 / 386.7 MB, free: 36.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.2405, allocations: 0 / 386.7 MB, free: 36.81 MB / 298.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.003336/0.2439, allocations: 1.278 MB / 388 MB, free: 35.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2439, allocations: 8.031 kB / 388 MB, free: 35.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.2453, allocations: 255.7 kB / 388.2 MB, free: 35.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.2456, allocations: 268.6 kB / 388.5 MB, free: 35.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.2456, allocations: 70.38 kB / 388.6 MB, free: 35.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.2458, allocations: 108.3 kB / 388.7 MB, free: 34.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.247, allocations: 0.9344 MB / 389.6 MB, free: 34.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.2471, allocations: 8 kB / 389.6 MB, free: 34.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.2472, allocations: 36 kB / 389.7 MB, free: 33.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.2472, allocations: 24 kB / 389.7 MB, free: 33.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2483, allocations: 0.7692 MB / 390.5 MB, free: 33.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.2525, allocations: 3.404 MB / 393.9 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.2541, allocations: 1.245 MB / 395.1 MB, free: 28.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.2546, allocations: 369.1 kB / 395.5 MB, free: 27.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.43e-05/0.2547, allocations: 102.1 kB / 395.6 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2547, allocations: 51.55 kB / 395.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 3.948e-06/0.2547, allocations: 0 / 395.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.00183/0.2566, allocations: 1.292 MB / 396.9 MB, free: 26.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2566, allocations: 90.09 kB / 397 MB, free: 26.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.2569, allocations: 368.4 kB / 397.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.257, allocations: 37.7 kB / 397.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.2571, allocations: 386.8 kB / 397.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.2573, allocations: 299.6 kB / 398.1 MB, free: 25.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2573, allocations: 20 kB / 398.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.2574, allocations: 358.8 kB / 398.4 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.2578, allocations: 262.5 kB / 398.7 MB, free: 24.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.2582, allocations: 471.5 kB / 399.1 MB, free: 23.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000836/0.2591, allocations: 0.7627 MB / 399.9 MB, free: 23.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2591, allocations: 4 kB / 399.9 MB, free: 23.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001326/0.2604, allocations: 0.961 MB / 400.9 MB, free: 22.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.2605, allocations: 11.98 kB / 400.9 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2605, allocations: 8 kB / 400.9 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.2608, allocations: 127.6 kB / 401 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.2615, allocations: 203.7 kB / 401.2 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.2642, allocations: 5.578 MB / 406.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.2648, allocations: 94.97 kB / 406.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.2649, allocations: 36 kB / 406.9 MB, free: 15.57 MB / 298.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.0003194/0.2652, allocations: 245.5 kB / 407.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.2653, allocations: 55.28 kB / 407.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.2665, allocations: 0.8441 MB / 408.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2665, allocations: 12 kB / 408.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2666, allocations: 7.938 kB / 408.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2666, allocations: 3.984 kB / 408.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.2688, allocations: 1.916 MB / 410 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2689, allocations: 8 kB / 410 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.2694, allocations: 135.8 kB / 410.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/0.2696, allocations: 119.6 kB / 410.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.2697, allocations: 19.98 kB / 410.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.2719, allocations: 5.291 MB / 415.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.2719, allocations: 7.984 kB / 415.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.2734, allocations: 1.268 MB / 416.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.2736, allocations: 144.2 kB / 417 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.2737, allocations: 19.94 kB / 417 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.274, allocations: 20 kB / 417 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.2741, allocations: 60.58 kB / 417.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.2741, allocations: 28.05 kB / 417.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002483/0.2744, allocations: 251.2 kB / 417.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2744, allocations: 3.938 kB / 417.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009188/0.2753, allocations: 263.4 kB / 417.6 MB, free: 4.086 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.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.0002485/0.2756, allocations: 152 kB / 417.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.2769, allocations: 1.164 MB / 418.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.277, allocations: 1.438 kB / 418.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006449/0.2776, allocations: 0.7958 MB / 419.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.2782, allocations: 53.42 kB / 419.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.2805, allocations: 1.75 MB / 421.5 MB, free: 0 / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.2811, allocations: 0.9187 MB / 422.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.2813, allocations: 67.36 kB / 422.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2813, allocations: 0 / 422.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Templates: time 0.02361/0.305, allocations: 20.8 MB / 443.3 MB, free: 10.17 MB / 330.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/jenkins/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