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.001052/0.001052, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 55.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2438, allocations: 50.55 MB / 409.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004961/0.2488, allocations: 4.176 MB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.2514, allocations: 1.716 MB / 415.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.2516, allocations: 12 kB / 415.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.2537, allocations: 1.015 MB / 416.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005153/0.2543, allocations: 230.2 kB / 416.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.2557, allocations: 0.7664 MB / 417.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005868/0.2563, allocations: 0.6105 MB / 417.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007136/0.257, allocations: 495.2 kB / 418.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.2574, allocations: 263 kB / 418.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.2578, allocations: 342.6 kB / 418.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.2579, allocations: 52 kB / 418.9 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005476/0.2584, allocations: 299.7 kB / 419.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2585, allocations: 123.5 kB / 419.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.2588, allocations: 306.5 kB / 419.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009278/0.2597, allocations: 0.9319 MB / 420.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2598, allocations: 0 / 420.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2598, allocations: 0 / 420.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.2598, allocations: 0 / 420.5 MB, free: 6.215 MB / 334.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.003427/0.2632, allocations: 1.222 MB / 421.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2633, allocations: 12.03 kB / 421.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.2644, allocations: 188 kB / 422 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.2647, allocations: 252 kB / 422.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.2647, allocations: 58.38 kB / 422.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.825e-05/0.2648, allocations: 64.38 kB / 422.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.266, allocations: 0.696 MB / 423 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.266, allocations: 7.891 kB / 423 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.2661, allocations: 31.94 kB / 423.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2661, allocations: 16 kB / 423.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.2672, allocations: 0.6062 MB / 423.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.2703, allocations: 2.289 MB / 426 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.2719, allocations: 1.637 MB / 427.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.2724, allocations: 278.7 kB / 427.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.2725, allocations: 174.8 kB / 428.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2726, allocations: 39.12 kB / 428.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.396e-06/0.2726, allocations: 3.984 kB / 428.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001482/0.2741, allocations: 0.7016 MB / 428.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.2742, allocations: 111.4 kB / 428.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2744, allocations: 260.9 kB / 429.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.2745, allocations: 37.7 kB / 429.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2746, allocations: 263.9 kB / 429.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.2748, allocations: 224.8 kB / 429.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.275, allocations: 118.6 kB / 429.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2752, allocations: 350.7 kB / 430.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.2756, allocations: 209.9 kB / 430.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.2761, allocations: 301.4 kB / 430.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.277, allocations: 0.522 MB / 431.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.277, allocations: 0 / 431.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001157/0.2782, allocations: 0.6256 MB / 431.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2782, allocations: 4 kB / 431.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2783, allocations: 4.188 kB / 431.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2783, allocations: 8 kB / 431.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.279, allocations: 159.8 kB / 432 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.279, allocations: 4 kB / 432 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.2795, allocations: 71.34 kB / 432 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.2795, allocations: 24 kB / 432 MB, free: 10.06 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.2798, allocations: 189.7 kB / 432.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2799, allocations: 39.61 kB / 432.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.2811, allocations: 0.6006 MB / 432.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.2811, allocations: 11.98 kB / 432.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2811, allocations: 0 / 432.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2811, allocations: 3.938 kB / 432.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.2832, allocations: 1.286 MB / 434.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2832, allocations: 0 / 434.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.2838, allocations: 131.8 kB / 434.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2838, allocations: 4 kB / 434.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.2839, allocations: 12 kB / 434.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.2839, allocations: 7.938 kB / 434.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2839, allocations: 3.938 kB / 434.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.2854, allocations: 0.9752 MB / 435.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.2855, allocations: 120.6 kB / 435.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.2856, allocations: 15.91 kB / 435.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2859, allocations: 27.92 kB / 435.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.286, allocations: 44.56 kB / 435.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.2861, allocations: 20 kB / 435.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.2863, allocations: 196.5 kB / 435.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2863, allocations: 0 / 435.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005623/0.2869, allocations: 175.5 kB / 435.9 MB, free: 6.105 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002433/0.2871, allocations: 147.1 kB / 436 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.2882, allocations: 0.5351 MB / 436.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2882, allocations: 0 / 436.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.2886, allocations: 267.1 kB / 436.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.2892, allocations: 44.42 kB / 436.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.2911, allocations: 1.054 MB / 437.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.2915, allocations: 0.846 MB / 438.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.2918, allocations: 75.41 kB / 438.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.2919, allocations: 47.42 kB / 438.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2919, allocations: 4 kB / 438.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of Templates: time 0.009536/0.3015, allocations: 5.222 MB / 444.1 MB, free: 13.85 MB / 366.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches