Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008137/0.000814, allocations: 177 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 225.7 MB / 243.2 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000771/0.0007711, allocations: 93.34 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002263/0.0002263, allocations: 4 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.187, allocations: 50.4 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.002811/0.1898, allocations: 3.579 MB / 408.2 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1915, allocations: 2.307 MB / 410.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1916, allocations: 12 kB / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.192, allocations: 218.6 kB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1923, allocations: 198.8 kB / 410.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1935, allocations: 1.496 MB / 412.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.1939, allocations: 0.591 MB / 413 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.1951, allocations: 1.495 MB / 414.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1953, allocations: 223 kB / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1955, allocations: 298.7 kB / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.1956, allocations: 28 kB / 415 MB, free: 20.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.1959, allocations: 239.7 kB / 415.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.196, allocations: 103.5 kB / 415.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1961, allocations: 300.2 kB / 415.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.1967, allocations: 0.8734 MB / 416.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1967, allocations: 4 kB / 416.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1967, allocations: 0 / 416.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1967, allocations: 0 / 416.5 MB, free: 18.84 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.002638/0.1994, allocations: 1.094 MB / 417.6 MB, free: 17.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1994, allocations: 12.03 kB / 417.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.2004, allocations: 180 kB / 417.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2005, allocations: 240.2 kB / 418 MB, free: 17.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.2006, allocations: 54.38 kB / 418.1 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.2006, allocations: 64.28 kB / 418.1 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.2017, allocations: 0.7193 MB / 418.9 MB, free: 16.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.2017, allocations: 0 / 418.9 MB, free: 16.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/0.2018, allocations: 32 kB / 418.9 MB, free: 16.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.2018, allocations: 16 kB / 418.9 MB, free: 16.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.2028, allocations: 0.6142 MB / 419.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.2052, allocations: 2.32 MB / 421.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.2064, allocations: 1.636 MB / 423.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.2069, allocations: 284.5 kB / 423.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.207, allocations: 93.66 kB / 423.9 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.207, allocations: 43.16 kB / 423.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.593e-06/0.207, allocations: 0 / 423.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001323/0.2084, allocations: 0.7289 MB / 424.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2084, allocations: 111.4 kB / 424.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2086, allocations: 260.9 kB / 425 MB, free: 9.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2086, allocations: 37.7 kB / 425 MB, free: 9.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.2087, allocations: 264 kB / 425.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.2088, allocations: 232.7 kB / 425.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2088, allocations: 12 kB / 425.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.2089, allocations: 346.8 kB / 425.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.2093, allocations: 217.9 kB / 426.1 MB, free: 8.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.2098, allocations: 305.4 kB / 426.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.2106, allocations: 0.5376 MB / 426.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2106, allocations: 0 / 426.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009933/0.2116, allocations: 0.6453 MB / 427.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2116, allocations: 15.98 kB / 427.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2116, allocations: 0 / 427.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2116, allocations: 4 kB / 427.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.2123, allocations: 159.8 kB / 427.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2123, allocations: 11.94 kB / 427.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.2127, allocations: 79.41 kB / 427.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.2127, allocations: 20 kB / 427.8 MB, free: 6.906 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.0001482/0.2129, allocations: 189.6 kB / 428 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.2129, allocations: 39.53 kB / 428.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.214, allocations: 0.6202 MB / 428.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.214, allocations: 8 kB / 428.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.214, allocations: 0 / 428.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.214, allocations: 3.984 kB / 428.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.2156, allocations: 1.319 MB / 430 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2156, allocations: 0 / 430 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.2161, allocations: 131.9 kB / 430.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2161, allocations: 4 kB / 430.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.2162, allocations: 12 kB / 430.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2162, allocations: 3.938 kB / 430.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2162, allocations: 4 kB / 430.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2175, allocations: 1.002 MB / 431.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.2176, allocations: 124.5 kB / 431.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2177, allocations: 12 kB / 431.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.218, allocations: 43.97 kB / 431.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.2181, allocations: 40.5 kB / 431.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.2181, allocations: 16 kB / 431.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.2183, allocations: 192.5 kB / 431.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2183, allocations: 0 / 431.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.2187, allocations: 171.5 kB / 431.8 MB, free: 2.867 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.0001623/0.2189, allocations: 163.1 kB / 431.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008701/0.2197, allocations: 0.5429 MB / 432.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2198, allocations: 8 kB / 432.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.2202, allocations: 275.5 kB / 432.7 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2206, allocations: 52.36 kB / 432.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2222, allocations: 1.385 MB / 434.2 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2225, allocations: 0.8463 MB / 435 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.2229, allocations: 79.41 kB / 435.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.223, allocations: 39.42 kB / 435.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.223, allocations: 0 / 435.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of Templates: time 0.008145/0.2312, allocations: 4.813 MB / 439.9 MB, free: 10.65 MB / 314.7 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","../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