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.001115/0.001115, allocations: 114.3 kB / 17.06 MB, free: 6 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.00127/0.00127, allocations: 198.8 kB / 18 MB, free: 5.078 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009048/0.0009048, allocations: 47.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2369, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00505/0.242, allocations: 4.178 MB / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.2446, allocations: 1.639 MB / 406.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.2448, allocations: 12 kB / 406.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.2469, allocations: 1.014 MB / 407.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.2474, allocations: 238.2 kB / 407.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.2489, allocations: 0.7901 MB / 408.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00058/0.2495, allocations: 0.6183 MB / 409.2 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007673/0.2503, allocations: 0.4965 MB / 409.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.2506, allocations: 267 kB / 410 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.251, allocations: 338.7 kB / 410.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.2511, allocations: 52 kB / 410.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.2516, allocations: 267.8 kB / 410.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2517, allocations: 135.5 kB / 410.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.2519, allocations: 310.5 kB / 411 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.2529, allocations: 0.9188 MB / 412 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2529, allocations: 0 / 412 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2529, allocations: 0 / 412 MB, free: 13.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.2529, allocations: 0 / 412 MB, free: 13.58 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.003557/0.2565, allocations: 1.214 MB / 413.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2565, allocations: 11.97 kB / 413.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.2577, allocations: 176 kB / 413.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.2579, allocations: 232.9 kB / 413.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.258, allocations: 46.38 kB / 413.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/0.2581, allocations: 68.38 kB / 413.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.2593, allocations: 0.7116 MB / 414.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.2593, allocations: 7.844 kB / 414.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.2594, allocations: 24 kB / 414.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.2594, allocations: 20 kB / 414.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2607, allocations: 0.5947 MB / 415.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.2639, allocations: 2.308 MB / 417.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.2655, allocations: 1.625 MB / 419 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.266, allocations: 276.8 kB / 419.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.2662, allocations: 97.64 kB / 419.4 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2662, allocations: 43.16 kB / 419.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 3.757e-06/0.2662, allocations: 3.984 kB / 419.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001569/0.2678, allocations: 0.6977 MB / 420.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.2679, allocations: 119.3 kB / 420.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.2681, allocations: 260.9 kB / 420.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.2682, allocations: 37.7 kB / 420.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2683, allocations: 264.1 kB / 420.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.2685, allocations: 224.8 kB / 421 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.2687, allocations: 114.6 kB / 421.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2688, allocations: 350.7 kB / 421.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.2693, allocations: 209.9 kB / 421.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.2699, allocations: 305.4 kB / 421.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.271, allocations: 0.5181 MB / 422.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.271, allocations: 0 / 422.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001264/0.2722, allocations: 0.6257 MB / 423.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2723, allocations: 8 kB / 423.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2723, allocations: 0 / 423.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2723, allocations: 8 kB / 423.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.273, allocations: 159.8 kB / 423.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.273, allocations: 7.938 kB / 423.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.2735, allocations: 79.41 kB / 423.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.2736, allocations: 28 kB / 423.4 MB, free: 1.543 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.0002374/0.2739, allocations: 186.3 kB / 423.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.274, allocations: 31.62 kB / 423.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.2753, allocations: 0.6084 MB / 424.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.2753, allocations: 8 kB / 424.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2753, allocations: 0 / 424.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2753, allocations: 7.922 kB / 424.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.2775, allocations: 1.286 MB / 425.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2775, allocations: 0 / 425.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.2781, allocations: 131.9 kB / 425.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2781, allocations: 0 / 425.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.2781, allocations: 15.98 kB / 425.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.2782, allocations: 7.938 kB / 425.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2782, allocations: 4 kB / 425.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.2798, allocations: 0.9713 MB / 426.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.2799, allocations: 124.6 kB / 426.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.28, allocations: 12 kB / 426.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.2804, allocations: 35.92 kB / 426.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2805, allocations: 40.5 kB / 426.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.2806, allocations: 19.98 kB / 426.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.2807, allocations: 188.5 kB / 427 MB, free: 13.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2808, allocations: 0 / 427 MB, free: 13.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.2813, allocations: 179.4 kB / 427.2 MB, free: 13.59 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.0002719/0.2816, allocations: 159 kB / 427.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.2827, allocations: 0.5312 MB / 427.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2827, allocations: 0 / 427.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.2832, allocations: 275.5 kB / 428.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.2837, allocations: 48.36 kB / 428.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.2857, allocations: 1.065 MB / 429.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2861, allocations: 0.846 MB / 430.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.2865, allocations: 79.34 kB / 430.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2866, allocations: 47.42 kB / 430.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2866, allocations: 0 / 430.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Templates: time 0.01004/0.2967, allocations: 5.203 MB / 435.4 MB, free: 5.332 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