Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 94.55 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 200 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002106, allocations: 8 kB / 306.6 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08755, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003526/0.09112, allocations: 3.327 MB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.0932, allocations: 1.586 MB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.09335, allocations: 12 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.09372, allocations: 159.1 kB / 363.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.09414, allocations: 231.3 kB / 363.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.09527, allocations: 0.6228 MB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004126/0.0957, allocations: 434.7 kB / 364.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.09697, allocations: 0.8025 MB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.09726, allocations: 219.2 kB / 365.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.09756, allocations: 270.9 kB / 365.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.09762, allocations: 28 kB / 365.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.09801, allocations: 231.7 kB / 366 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.0981, allocations: 99.62 kB / 366.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.09821, allocations: 129.4 kB / 366.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.09884, allocations: 0.6897 MB / 366.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.09885, allocations: 0 / 366.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09886, allocations: 8 kB / 366.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.09888, allocations: 0 / 366.9 MB, free: 5.043 MB / 302.1 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.003217/0.1021, allocations: 1.121 MB / 368 MB, free: 3.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1021, allocations: 8.031 kB / 368 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.1033, allocations: 187.1 kB / 368.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1035, allocations: 238.9 kB / 368.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.1036, allocations: 50 kB / 368.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.1037, allocations: 71.91 kB / 368.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1048, allocations: 0.6996 MB / 369.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1049, allocations: 4 kB / 369.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.1049, allocations: 32 kB / 369.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.105, allocations: 16 kB / 369.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1062, allocations: 0.6181 MB / 369.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1485/0.2547, allocations: 2.323 MB / 372.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.2565, allocations: 1.685 MB / 373.9 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.2567, allocations: 179.5 kB / 374.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2567, allocations: 43.92 kB / 374.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.415e-06/0.2568, allocations: 0 / 374.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001666/0.2584, allocations: 0.7272 MB / 374.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2585, allocations: 111 kB / 375 MB, free: 16.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2588, allocations: 263.5 kB / 375.2 MB, free: 16.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.2588, allocations: 35.98 kB / 375.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2589, allocations: 265.9 kB / 375.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.259, allocations: 223.7 kB / 375.7 MB, free: 16.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.2591, allocations: 17.69 kB / 375.8 MB, free: 16.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.2591, allocations: 343.4 kB / 376.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.2596, allocations: 226.1 kB / 376.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.2602, allocations: 306.7 kB / 376.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.2607, allocations: 256.8 kB / 376.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2607, allocations: 0 / 376.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001152/0.2619, allocations: 0.6477 MB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2619, allocations: 5.906 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2619, allocations: 3.578 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.262, allocations: 3.875 kB / 377.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.2626, allocations: 170 kB / 377.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2627, allocations: 13.36 kB / 377.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.2631, allocations: 77.75 kB / 377.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.2632, allocations: 28.08 kB / 377.8 MB, free: 15.48 MB / 302.1 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.0001744/0.2633, allocations: 184.6 kB / 378 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.2634, allocations: 45.69 kB / 378 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.2646, allocations: 0.6186 MB / 378.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2646, allocations: 7.938 kB / 378.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2646, allocations: 0 / 378.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.567e-06/0.2646, allocations: 4.469 kB / 378.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.2666, allocations: 1.313 MB / 380 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2666, allocations: 1.766 kB / 380 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.2671, allocations: 132.2 kB / 380.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2671, allocations: 4.375 kB / 380.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.2672, allocations: 13.59 kB / 380.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.2672, allocations: 10.05 kB / 380.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2672, allocations: 0 / 380.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.2687, allocations: 1.013 MB / 381.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.2687, allocations: 122 kB / 381.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.2688, allocations: 26.42 kB / 381.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.2692, allocations: 29.86 kB / 381.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.2693, allocations: 39.73 kB / 381.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.2693, allocations: 20.41 kB / 381.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2695, allocations: 190 kB / 381.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2695, allocations: 0 / 381.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.27, allocations: 179.9 kB / 381.7 MB, free: 13.45 MB / 302.1 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.0002273/0.2702, allocations: 153.8 kB / 381.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.2713, allocations: 0.5492 MB / 382.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2713, allocations: 0 / 382.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.2718, allocations: 284.3 kB / 382.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2721, allocations: 38.05 kB / 382.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.2739, allocations: 1.312 MB / 384.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2742, allocations: 0.8562 MB / 384.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003839/0.2746, allocations: 81.88 kB / 385 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2747, allocations: 45.66 kB / 385.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2747, allocations: 3.938 kB / 385.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Templates: time 0.009203/0.2839, allocations: 4.703 MB / 389.8 MB, free: 10.63 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches