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.CuboidSections.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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 177.9 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.256/1.256, allocations: 205.6 MB / 223.7 MB, free: 8.961 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.0007443/0.0007446, allocations: 100.1 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002387/0.0002386, allocations: 11.98 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1873, allocations: 47.57 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003341/0.1907, allocations: 3.669 MB / 380.3 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1932, allocations: 2.361 MB / 382.6 MB, free: 40.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.1936, allocations: 15.72 kB / 382.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.1943, allocations: 218.5 kB / 382.9 MB, free: 40.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.195, allocations: 212.9 kB / 383.1 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1965, allocations: 1.49 MB / 384.6 MB, free: 38.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.1972, allocations: 0.6129 MB / 385.2 MB, free: 38.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.1987, allocations: 1.507 MB / 386.7 MB, free: 36.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.1992, allocations: 234 kB / 386.9 MB, free: 36.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.1997, allocations: 322.7 kB / 387.2 MB, free: 36.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.1998, allocations: 28 kB / 387.3 MB, free: 36.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005873/0.2004, allocations: 236.6 kB / 387.5 MB, free: 36.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.2005, allocations: 106.3 kB / 387.6 MB, free: 36.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.2008, allocations: 318.4 kB / 387.9 MB, free: 36.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000899/0.2017, allocations: 0.9059 MB / 388.8 MB, free: 35.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2017, allocations: 1.156 kB / 388.8 MB, free: 35.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2017, allocations: 0 / 388.8 MB, free: 35.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2017, allocations: 0 / 388.8 MB, free: 35.59 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002987/0.2047, allocations: 1.148 MB / 390 MB, free: 34.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2048, allocations: 12.03 kB / 390 MB, free: 34.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.206, allocations: 207.9 kB / 390.2 MB, free: 34.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.2062, allocations: 239.4 kB / 390.4 MB, free: 34.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.2063, allocations: 54.38 kB / 390.5 MB, free: 33.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.2063, allocations: 76.31 kB / 390.5 MB, free: 33.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2075, allocations: 0.7741 MB / 391.3 MB, free: 33.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.2075, allocations: 8 kB / 391.3 MB, free: 33.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.2076, allocations: 24 kB / 391.3 MB, free: 33.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2076, allocations: 20 kB / 391.4 MB, free: 33.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2087, allocations: 0.6852 MB / 392 MB, free: 32.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.2119, allocations: 3.122 MB / 395.2 MB, free: 28.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.2135, allocations: 2.086 MB / 397.3 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.2141, allocations: 332.9 kB / 397.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.2141, allocations: 102 kB / 397.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.2142, allocations: 43.16 kB / 397.7 MB, free: 26.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/0.2142, allocations: 0 / 397.7 MB, free: 26.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002161/0.2163, allocations: 1.173 MB / 398.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.2164, allocations: 115.4 kB / 399 MB, free: 24.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2166, allocations: 274.5 kB / 399.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2166, allocations: 33.7 kB / 399.3 MB, free: 24.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.2167, allocations: 299.4 kB / 399.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.951e-05/0.2168, allocations: 248.4 kB / 399.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.2169, allocations: 20 kB / 399.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.2169, allocations: 350.7 kB / 400.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.2174, allocations: 233.9 kB / 400.4 MB, free: 23.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.2178, allocations: 394.3 kB / 400.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008854/0.2187, allocations: 0.6493 MB / 401.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2187, allocations: 0 / 401.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001269/0.22, allocations: 0.8464 MB / 402.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.22, allocations: 6.812 kB / 402.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2201, allocations: 11.92 kB / 402.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.2204, allocations: 137.6 kB / 402.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.221, allocations: 155.8 kB / 402.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.223, allocations: 3.412 MB / 406 MB, free: 17.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.2235, allocations: 95.19 kB / 406.1 MB, free: 17.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.2235, allocations: 32.06 kB / 406.2 MB, free: 17.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.2237, allocations: 197.7 kB / 406.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.2238, allocations: 47.44 kB / 406.4 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2251, allocations: 0.7609 MB / 407.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2251, allocations: 11.94 kB / 407.2 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2251, allocations: 0 / 407.2 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2251, allocations: 3.984 kB / 407.2 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.2271, allocations: 1.52 MB / 408.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2271, allocations: 4 kB / 408.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.2276, allocations: 119.9 kB / 408.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.2278, allocations: 113.6 kB / 408.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.2279, allocations: 19.98 kB / 408.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.2295, allocations: 3.105 MB / 412 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2295, allocations: 0 / 412 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2311, allocations: 1.151 MB / 413.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.2311, allocations: 116.5 kB / 413.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.2312, allocations: 12 kB / 413.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.2316, allocations: 40.03 kB / 413.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2317, allocations: 52.52 kB / 413.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.2317, allocations: 27.98 kB / 413.4 MB, free: 9.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.2319, allocations: 190 kB / 413.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2319, allocations: 0 / 413.6 MB, free: 9.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005984/0.2325, allocations: 215.5 kB / 413.8 MB, free: 9.094 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.2327, allocations: 151.2 kB / 414 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.2339, allocations: 0.9068 MB / 414.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2339, allocations: 0.8125 kB / 414.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.2345, allocations: 0.5672 MB / 415.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.235, allocations: 44.56 kB / 415.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2366, allocations: 1.442 MB / 416.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2368, allocations: 0.8616 MB / 417.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003781/0.2372, allocations: 84.34 kB / 417.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2374, allocations: 43.42 kB / 417.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2374, allocations: 8 kB / 417.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of Templates: time 0.009028/0.2464, allocations: 5.73 MB / 423.7 MB, free: 15.16 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches