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.002458/0.002467, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.666/3.666, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001741/0.001741, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000672/0.0006721, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3101, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.01256/0.3227, allocations: 4.128 MB / 378.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007055/0.3299, allocations: 1.582 MB / 380.3 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.3313, allocations: 16 kB / 380.3 MB, free: 9.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.3334, allocations: 198.8 kB / 380.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.3363, allocations: 295.2 kB / 380.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.341, allocations: 0.6543 MB / 381.4 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003425/0.3445, allocations: 0.5618 MB / 382 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007257/0.3518, allocations: 1.317 MB / 383.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.3534, allocations: 290.9 kB / 383.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.3594, allocations: 374.4 kB / 383.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004308/0.3599, allocations: 36 kB / 384 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005931/0.3658, allocations: 187.8 kB / 384.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.3665, allocations: 127.5 kB / 384.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.3672, allocations: 173.3 kB / 384.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003526/0.3708, allocations: 0.8921 MB / 385.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3709, allocations: 0 / 385.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.311e-06/0.3709, allocations: 0 / 385.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.557e-05/0.371, allocations: 4 kB / 385.4 MB, free: 4.555 MB / 282.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.02377/0.3948, allocations: 1.279 MB / 386.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001092/0.395, allocations: 16.02 kB / 386.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009406/0.4044, allocations: 258.8 kB / 386.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.4053, allocations: 254.8 kB / 387.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004374/0.4097, allocations: 70 kB / 387.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007617/0.4106, allocations: 99.91 kB / 387.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4206, allocations: 0.9263 MB / 388.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/0.4209, allocations: 7.984 kB / 388.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.4212, allocations: 36 kB / 388.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.4213, allocations: 31.94 kB / 388.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009238/0.4306, allocations: 0.7731 MB / 389.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4946/0.9253, allocations: 3.389 MB / 392.5 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005207/0.9306, allocations: 1.242 MB / 393.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.931, allocations: 110 kB / 393.8 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.051e-05/0.9311, allocations: 44.58 kB / 393.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 6.512e-06/0.9311, allocations: 0 / 393.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=87): time 0.006145/0.9373, allocations: 1.297 MB / 395.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.9375, allocations: 86.94 kB / 395.3 MB, free: 16.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.9387, allocations: 365.5 kB / 395.6 MB, free: 16.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002367/0.939, allocations: 40.86 kB / 395.7 MB, free: 16.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.9395, allocations: 437.5 kB / 396.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/0.9402, allocations: 302.7 kB / 396.4 MB, free: 16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.9403, allocations: 20.91 kB / 396.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.9405, allocations: 348 kB / 396.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.942, allocations: 263.1 kB / 397 MB, free: 15.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.9439, allocations: 468.8 kB / 397.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.9457, allocations: 332.7 kB / 397.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.9458, allocations: 9.047 kB / 397.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004992/0.9508, allocations: 0.9545 MB / 398.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.951, allocations: 7.906 kB / 398.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.951, allocations: 5.156 kB / 398.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009841/0.952, allocations: 128 kB / 398.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.9545, allocations: 203.1 kB / 399.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.9624, allocations: 5.593 MB / 404.7 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.9642, allocations: 107.9 kB / 404.8 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/0.9647, allocations: 39.45 kB / 404.8 MB, free: 8.879 MB / 282.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.001038/0.9657, allocations: 236.2 kB / 405 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.9661, allocations: 53.88 kB / 405.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.97, allocations: 0.8412 MB / 405.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/0.9701, allocations: 8.812 kB / 405.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/0.9702, allocations: 11.12 kB / 406 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.704e-05/0.9702, allocations: 4.547 kB / 406 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009722/0.98, allocations: 1.924 MB / 407.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/0.9801, allocations: 3.016 kB / 407.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.9819, allocations: 135.5 kB / 408 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/0.9828, allocations: 114.9 kB / 408.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/0.9831, allocations: 20.41 kB / 408.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/0.9901, allocations: 5.324 MB / 413.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.978e-05/0.9902, allocations: 7.922 kB / 413.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.9958, allocations: 1.39 MB / 414.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.9963, allocations: 143.7 kB / 415 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/0.9966, allocations: 20.52 kB / 415 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9978, allocations: 20.19 kB / 415.1 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.9982, allocations: 66.05 kB / 415.1 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.9983, allocations: 24.45 kB / 415.1 MB, free: 456 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007984/0.9992, allocations: 257.8 kB / 415.4 MB, free: 312 kB / 282.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.9992, allocations: 0 / 415.4 MB, free: 312 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.00713/1.006, allocations: 261.4 kB / 415.7 MB, free: 248 kB / 282.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.000771/1.007, allocations: 144.9 kB / 415.8 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005677/1.013, allocations: 1.176 MB / 417 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/1.013, allocations: 1 kB / 417 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006952/1.02, allocations: 0.796 MB / 417.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/1.021, allocations: 49.61 kB / 417.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.042, allocations: 1.74 MB / 419.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.043, allocations: 0.9338 MB / 420.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007585/1.044, allocations: 63.05 kB / 420.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.664e-06/1.044, allocations: 0 / 420.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Templates: time 0.07069/1.115, allocations: 19.55 MB / 440.1 MB, free: 12.21 MB / 314.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