Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003754/0.003767, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.029/4.029, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001921/0.001921, allocations: 91.45 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006239/0.0006241, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5359, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.008613/0.5446, allocations: 3.293 MB / 377.8 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005486/0.5502, allocations: 1.528 MB / 379.4 MB, free: 41.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006309/0.5509, allocations: 11.88 kB / 379.4 MB, free: 41.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.552, allocations: 171.9 kB / 379.5 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.5536, allocations: 224.8 kB / 379.8 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.5567, allocations: 0.6332 MB / 380.4 MB, free: 40.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.5585, allocations: 431.8 kB / 380.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/0.5622, allocations: 0.8064 MB / 381.6 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009584/0.5632, allocations: 222.2 kB / 381.8 MB, free: 39.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008342/0.5641, allocations: 281.8 kB / 382.1 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.5642, allocations: 26.47 kB / 382.1 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.5656, allocations: 205.3 kB / 382.3 MB, free: 39.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.5658, allocations: 100.4 kB / 382.4 MB, free: 39.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.5661, allocations: 134.4 kB / 382.6 MB, free: 39.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.5682, allocations: 0.6721 MB / 383.2 MB, free: 38.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5683, allocations: 0 / 383.2 MB, free: 38.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.5683, allocations: 0 / 383.2 MB, free: 38.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.5684, allocations: 1.062 kB / 383.2 MB, free: 38.96 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00879/0.5772, allocations: 1.102 MB / 384.3 MB, free: 38.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.5773, allocations: 8.781 kB / 384.4 MB, free: 38.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/0.5805, allocations: 175.7 kB / 384.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.5811, allocations: 234.3 kB / 384.8 MB, free: 37.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.5813, allocations: 60.78 kB / 384.8 MB, free: 37.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.5817, allocations: 63.69 kB / 384.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.5851, allocations: 0.6997 MB / 385.6 MB, free: 37.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.004169/0.5894, allocations: 1.094 kB / 385.6 MB, free: 37.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.5898, allocations: 29.81 kB / 385.6 MB, free: 37.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.5898, allocations: 16.16 kB / 385.6 MB, free: 37.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/0.5938, allocations: 0.6223 MB / 386.2 MB, free: 36.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.6107, allocations: 2.329 MB / 388.6 MB, free: 34.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/0.6151, allocations: 1.693 MB / 390.3 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.6154, allocations: 97.7 kB / 390.4 MB, free: 32.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.6155, allocations: 43.16 kB / 390.4 MB, free: 32.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 5.63e-06/0.6155, allocations: 4 kB / 390.4 MB, free: 32.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.01635/0.6319, allocations: 0.7288 MB / 391.1 MB, free: 31.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.632, allocations: 111.4 kB / 391.2 MB, free: 31.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.6326, allocations: 261 kB / 391.5 MB, free: 31.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.6328, allocations: 37.7 kB / 391.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.633, allocations: 318.5 kB / 391.8 MB, free: 30.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.6333, allocations: 224.7 kB / 392.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.6334, allocations: 16 kB / 392.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6336, allocations: 330.8 kB / 392.4 MB, free: 30.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.6349, allocations: 221.9 kB / 392.6 MB, free: 30.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.6363, allocations: 309.4 kB / 392.9 MB, free: 29.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.6377, allocations: 259.1 kB / 393.2 MB, free: 29.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.6378, allocations: 3.953 kB / 393.2 MB, free: 29.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003054/0.6409, allocations: 0.6297 MB / 393.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.641, allocations: 8.938 kB / 393.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.641, allocations: 0 / 393.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/0.641, allocations: 4 kB / 393.8 MB, free: 28.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.6429, allocations: 167.9 kB / 394 MB, free: 28.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.643, allocations: 7.984 kB / 394 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.6443, allocations: 83.2 kB / 394.1 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.6444, allocations: 23.98 kB / 394.1 MB, free: 28.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005131/0.645, allocations: 193.7 kB / 394.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.6452, allocations: 39.58 kB / 394.3 MB, free: 28.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.6484, allocations: 0.6201 MB / 394.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.6484, allocations: 8 kB / 395 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.6485, allocations: 4 kB / 395 MB, free: 27.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.6485, allocations: 0 / 395 MB, free: 27.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.6534, allocations: 1.312 MB / 396.3 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.6535, allocations: 7.922 kB / 396.3 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.655, allocations: 131.9 kB / 396.4 MB, free: 26.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.6551, allocations: 7.984 kB / 396.4 MB, free: 26.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/0.6552, allocations: 12 kB / 396.4 MB, free: 26.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.6552, allocations: 4 kB / 396.4 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6552, allocations: 0 / 396.4 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.6594, allocations: 1.015 MB / 397.4 MB, free: 25.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.6597, allocations: 124.5 kB / 397.6 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.6599, allocations: 12 kB / 397.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.661, allocations: 36.03 kB / 397.6 MB, free: 25.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.6613, allocations: 48.45 kB / 397.7 MB, free: 24.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/0.6614, allocations: 16 kB / 397.7 MB, free: 24.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004043/0.6619, allocations: 188.5 kB / 397.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6619, allocations: 0 / 397.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001403/0.6633, allocations: 175.5 kB / 398 MB, free: 24.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004019/0.6637, allocations: 147.1 kB / 398.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.6666, allocations: 0.5468 MB / 398.7 MB, free: 23.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.6667, allocations: 384 / 398.7 MB, free: 23.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.6681, allocations: 283.1 kB / 399 MB, free: 23.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.669, allocations: 36.61 kB / 399 MB, free: 23.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.6739, allocations: 1.351 MB / 400.4 MB, free: 22.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.6745, allocations: 0.8579 MB / 401.2 MB, free: 21.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.6751, allocations: 55.42 kB / 401.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6751, allocations: 0 / 401.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of Templates: time 0.02144/0.6966, allocations: 6.533 MB / 407.8 MB, free: 14.75 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches