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.001576/0.001576, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001988, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.84 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2546, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005163/0.2598, allocations: 4.183 MB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2626, allocations: 1.709 MB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.2629, allocations: 12 kB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.2652, allocations: 1.015 MB / 416.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005834/0.2658, allocations: 230.2 kB / 417.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.2673, allocations: 0.7702 MB / 417.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006528/0.2679, allocations: 0.6027 MB / 418.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000695/0.2686, allocations: 499.2 kB / 418.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.269, allocations: 271 kB / 419.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.2694, allocations: 334.6 kB / 419.5 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-05/0.2695, allocations: 52 kB / 419.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.2701, allocations: 295.7 kB / 419.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2702, allocations: 131.5 kB / 420 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.2704, allocations: 306.5 kB / 420.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.2716, allocations: 0.9319 MB / 421.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2716, allocations: 0 / 421.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2716, allocations: 0 / 421.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2716, allocations: 3.938 kB / 421.2 MB, free: 6.27 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.00365/0.2752, allocations: 1.222 MB / 422.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2753, allocations: 8.031 kB / 422.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.2765, allocations: 184 kB / 422.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2768, allocations: 248.1 kB / 422.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.2768, allocations: 54.38 kB / 422.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.2769, allocations: 64.38 kB / 423 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.2782, allocations: 0.6999 MB / 423.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.2782, allocations: 7.891 kB / 423.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.2783, allocations: 24 kB / 423.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.2783, allocations: 20 kB / 423.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2794, allocations: 0.6062 MB / 424.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.2826, allocations: 2.301 MB / 426.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.2842, allocations: 1.629 MB / 428.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.2847, allocations: 278.8 kB / 428.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.2849, allocations: 182.9 kB / 428.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2849, allocations: 43.06 kB / 428.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.285, allocations: 0 / 428.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001491/0.2865, allocations: 0.7016 MB / 429.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.2865, allocations: 107.4 kB / 429.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.2868, allocations: 264.9 kB / 429.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.2869, allocations: 37.7 kB / 429.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.287, allocations: 263.9 kB / 430.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.2872, allocations: 224.8 kB / 430.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.2874, allocations: 114.6 kB / 430.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2875, allocations: 350.8 kB / 430.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.288, allocations: 209.9 kB / 431 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.2885, allocations: 301.4 kB / 431.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.2894, allocations: 0.5181 MB / 431.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.2894, allocations: 3.984 kB / 431.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001159/0.2906, allocations: 0.6217 MB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2906, allocations: 7.156 kB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2906, allocations: 8 kB / 432.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2906, allocations: 4 kB / 432.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.2914, allocations: 159.8 kB / 432.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2914, allocations: 7.938 kB / 432.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.2919, allocations: 71.34 kB / 432.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.2919, allocations: 24 kB / 432.7 MB, free: 10.12 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.0002522/0.2922, allocations: 189.7 kB / 432.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.2923, allocations: 39.61 kB / 433 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.2935, allocations: 0.5967 MB / 433.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2936, allocations: 8 kB / 433.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2936, allocations: 7.922 kB / 433.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.2936, allocations: 3.984 kB / 433.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.2957, allocations: 1.29 MB / 434.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2957, allocations: 4 kB / 434.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.2963, allocations: 123.9 kB / 435 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.2963, allocations: 4 kB / 435 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.2964, allocations: 12 kB / 435 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2964, allocations: 7.938 kB / 435 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.2964, allocations: 7.938 kB / 435 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.298, allocations: 0.9713 MB / 436 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2981, allocations: 120.6 kB / 436.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.2982, allocations: 15.91 kB / 436.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.2986, allocations: 27.92 kB / 436.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2987, allocations: 44.56 kB / 436.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.2988, allocations: 19.94 kB / 436.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.299, allocations: 192.5 kB / 436.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.299, allocations: 0 / 436.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.2996, allocations: 179.5 kB / 436.6 MB, free: 6.168 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.0002776/0.2998, allocations: 147.1 kB / 436.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.301, allocations: 0.5351 MB / 437.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.301, allocations: 0 / 437.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.3015, allocations: 271 kB / 437.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.302, allocations: 47.09 kB / 437.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3042, allocations: 1.09 MB / 438.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3046, allocations: 0.8421 MB / 439.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.3048, allocations: 55.42 kB / 439.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3049, allocations: 0 / 439.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of Templates: time 0.01061/0.3155, allocations: 6.746 MB / 446.3 MB, free: 12.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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