Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001581, allocations: 113.8 kB / 17.07 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 190.8 kB / 18 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009818/0.0009819, allocations: 47.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2493, allocations: 49.43 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005475/0.2548, allocations: 4.187 MB / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.2574, allocations: 1.639 MB / 406.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.2576, allocations: 12 kB / 406.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.2597, allocations: 1.011 MB / 407.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.2602, allocations: 234.3 kB / 407.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.2617, allocations: 0.7882 MB / 408.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.2622, allocations: 0.6222 MB / 409.2 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006966/0.2629, allocations: 0.4953 MB / 409.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.2633, allocations: 263 kB / 410 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.2637, allocations: 338.7 kB / 410.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.2638, allocations: 52 kB / 410.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.2643, allocations: 267.8 kB / 410.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.871e-05/0.2644, allocations: 139.5 kB / 410.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.2646, allocations: 310.5 kB / 411 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.2655, allocations: 0.9182 MB / 412 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2656, allocations: 0 / 412 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2656, allocations: 0 / 412 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2656, allocations: 0 / 412 MB, free: 13.61 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.003338/0.2689, allocations: 1.228 MB / 413.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.269, allocations: 12.03 kB / 413.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.2701, allocations: 180.4 kB / 413.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.2703, allocations: 233 kB / 413.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.2704, allocations: 50.38 kB / 413.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2705, allocations: 64.38 kB / 413.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.2717, allocations: 0.7116 MB / 414.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.2718, allocations: 0 / 414.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.2718, allocations: 27.94 kB / 414.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.2718, allocations: 16 kB / 414.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.2731, allocations: 0.5986 MB / 415.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.2762, allocations: 2.317 MB / 417.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2777, allocations: 1.629 MB / 419 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.2782, allocations: 280.7 kB / 419.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.2784, allocations: 97.64 kB / 419.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2784, allocations: 43.16 kB / 419.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 1.713e-06/0.2784, allocations: 0 / 419.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001526/0.2799, allocations: 0.6979 MB / 420.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.28, allocations: 119.3 kB / 420.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.2803, allocations: 261 kB / 420.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.2803, allocations: 33.7 kB / 420.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.2805, allocations: 268.7 kB / 420.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.2807, allocations: 238.1 kB / 421 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.2809, allocations: 122.6 kB / 421.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.281, allocations: 346.8 kB / 421.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.2815, allocations: 205.9 kB / 421.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.2821, allocations: 309.4 kB / 422 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2831, allocations: 0.5181 MB / 422.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2831, allocations: 0 / 422.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001274/0.2844, allocations: 0.6338 MB / 423.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2844, allocations: 4 kB / 423.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2844, allocations: 4 kB / 423.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2844, allocations: 4 kB / 423.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.2851, allocations: 155.8 kB / 423.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.2852, allocations: 4 kB / 423.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.2857, allocations: 79.47 kB / 423.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.2857, allocations: 24.03 kB / 423.4 MB, free: 1.531 MB / 334.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.000245/0.286, allocations: 190.3 kB / 423.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.2861, allocations: 35.77 kB / 423.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.2874, allocations: 0.6085 MB / 424.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2874, allocations: 8 kB / 424.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2874, allocations: 0 / 424.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2874, allocations: 3.984 kB / 424.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.2895, allocations: 1.294 MB / 425.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2895, allocations: 3.938 kB / 425.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.2901, allocations: 123.9 kB / 425.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.2901, allocations: 4 kB / 425.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.2902, allocations: 12 kB / 425.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.2902, allocations: 11.92 kB / 425.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2902, allocations: 0 / 425.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.2918, allocations: 0.9793 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.2919, allocations: 124.8 kB / 426.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.292, allocations: 16.06 kB / 426.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.2924, allocations: 31.92 kB / 426.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.2925, allocations: 44.44 kB / 426.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.2926, allocations: 16 kB / 426.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.2928, allocations: 192.5 kB / 427.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2928, allocations: 0 / 427.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.2933, allocations: 171.7 kB / 427.3 MB, free: 13.56 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.0002287/0.2936, allocations: 166.9 kB / 427.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.2947, allocations: 0.5312 MB / 428 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2947, allocations: 0 / 428 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005178/0.2952, allocations: 275.5 kB / 428.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.2957, allocations: 51.66 kB / 428.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.2976, allocations: 1.08 MB / 429.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.2981, allocations: 0.8499 MB / 430.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003579/0.2984, allocations: 79.39 kB / 430.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2986, allocations: 47.42 kB / 430.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2986, allocations: 3.938 kB / 430.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.009803/0.3084, allocations: 5.191 MB / 435.5 MB, free: 5.285 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches