Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 178.1 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 94.42 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002751, allocations: 8 kB / 329 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 47.57 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003445/0.2042, allocations: 3.536 MB / 380.1 MB, free: 42.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.2068, allocations: 2.352 MB / 382.5 MB, free: 40.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.2073, allocations: 11.28 kB / 382.5 MB, free: 40.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000742/0.208, allocations: 220.6 kB / 382.7 MB, free: 40.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.2087, allocations: 187.9 kB / 382.9 MB, free: 40.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.2104, allocations: 1.494 MB / 384.4 MB, free: 38.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007318/0.2111, allocations: 0.5951 MB / 385 MB, free: 38.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.2127, allocations: 1.488 MB / 386.5 MB, free: 37.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.2132, allocations: 225.4 kB / 386.7 MB, free: 36.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005208/0.2137, allocations: 307.2 kB / 387 MB, free: 36.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.2139, allocations: 26.88 kB / 387 MB, free: 36.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007558/0.2146, allocations: 230.9 kB / 387.3 MB, free: 36.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2147, allocations: 105.1 kB / 387.4 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.2151, allocations: 300.5 kB / 387.7 MB, free: 36.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.2162, allocations: 0.8727 MB / 388.5 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2162, allocations: 1.062 kB / 388.5 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2162, allocations: 0 / 388.5 MB, free: 35.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.2163, allocations: 3.938 kB / 388.5 MB, free: 35.75 MB / 298.7 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.003268/0.2195, allocations: 1.101 MB / 389.6 MB, free: 34.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2196, allocations: 8.031 kB / 389.6 MB, free: 34.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.2207, allocations: 180 kB / 389.8 MB, free: 34.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.221, allocations: 230.1 kB / 390 MB, free: 34.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.221, allocations: 54.38 kB / 390.1 MB, free: 34.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.2212, allocations: 68.38 kB / 390.2 MB, free: 34.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.2224, allocations: 0.7077 MB / 390.9 MB, free: 33.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.2225, allocations: 11.89 kB / 390.9 MB, free: 33.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.2226, allocations: 28 kB / 390.9 MB, free: 33.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2226, allocations: 16 kB / 390.9 MB, free: 33.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.2238, allocations: 0.618 MB / 391.5 MB, free: 32.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.2268, allocations: 2.332 MB / 393.9 MB, free: 30.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.228, allocations: 1.627 MB / 395.5 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.2284, allocations: 284 kB / 395.8 MB, free: 28.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.742e-05/0.2286, allocations: 101.6 kB / 395.9 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2286, allocations: 47.09 kB / 395.9 MB, free: 28.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.285e-06/0.2286, allocations: 0 / 395.9 MB, free: 28.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001356/0.2299, allocations: 0.7288 MB / 396.7 MB, free: 27.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.23, allocations: 115.5 kB / 396.8 MB, free: 27.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.2302, allocations: 260.8 kB / 397 MB, free: 26.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.2303, allocations: 41.7 kB / 397.1 MB, free: 26.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2304, allocations: 260 kB / 397.3 MB, free: 26.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2305, allocations: 220.7 kB / 397.5 MB, free: 26.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.2305, allocations: 12 kB / 397.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.2306, allocations: 346.8 kB / 397.9 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.231, allocations: 221.9 kB / 398.1 MB, free: 25.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.2315, allocations: 313.4 kB / 398.4 MB, free: 25.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.2324, allocations: 0.5298 MB / 398.9 MB, free: 24.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.2324, allocations: 4 kB / 398.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001044/0.2334, allocations: 0.6413 MB / 399.6 MB, free: 24.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2334, allocations: 4 kB / 399.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2335, allocations: 4 kB / 399.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2335, allocations: 4 kB / 399.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.2341, allocations: 167.9 kB / 399.8 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.2342, allocations: 7.938 kB / 399.8 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.2346, allocations: 71.41 kB / 399.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.2347, allocations: 24 kB / 399.9 MB, free: 24.04 MB / 298.7 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.0001887/0.2349, allocations: 197.6 kB / 400 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.235, allocations: 39.53 kB / 400.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.2361, allocations: 0.6164 MB / 400.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2361, allocations: 4 kB / 400.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2361, allocations: 4 kB / 400.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2361, allocations: 3.984 kB / 400.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.2379, allocations: 1.312 MB / 402 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.238, allocations: 0 / 402 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.2385, allocations: 135.9 kB / 402.2 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.2385, allocations: 7.938 kB / 402.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.2385, allocations: 19.98 kB / 402.2 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2386, allocations: 7.938 kB / 402.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2386, allocations: 0 / 402.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2399, allocations: 0.9978 MB / 403.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.24, allocations: 124.5 kB / 403.3 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.2401, allocations: 12 kB / 403.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.2405, allocations: 31.92 kB / 403.4 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.2406, allocations: 48.56 kB / 403.4 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.2406, allocations: 23.98 kB / 403.4 MB, free: 20.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.2407, allocations: 184.5 kB / 403.6 MB, free: 20.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2408, allocations: 3.938 kB / 403.6 MB, free: 20.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.2413, allocations: 175.5 kB / 403.8 MB, free: 20 MB / 298.7 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.0002079/0.2415, allocations: 143.1 kB / 403.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000964/0.2425, allocations: 0.5507 MB / 404.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2425, allocations: 0 / 404.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.2429, allocations: 287.4 kB / 404.8 MB, free: 19.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.2434, allocations: 42.16 kB / 404.8 MB, free: 18.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.2454, allocations: 1.378 MB / 406.2 MB, free: 17.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2457, allocations: 0.8463 MB / 407 MB, free: 16.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.2461, allocations: 87.38 kB / 407.1 MB, free: 16.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.2462, allocations: 47.42 kB / 407.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2462, allocations: 0 / 407.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of Templates: time 0.008199/0.2544, allocations: 4.774 MB / 411.9 MB, free: 11.83 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches