Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007997/0.0007996, allocations: 178.9 kB / 17.03 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 223.3 MB / 241 MB, free: 10.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 97.09 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.00023, allocations: 4 kB / 351.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1802, allocations: 50.41 MB / 402.2 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00287/0.1831, allocations: 3.68 MB / 405.9 MB, free: 28.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1847, allocations: 1.494 MB / 407.4 MB, free: 27.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1849, allocations: 15.44 kB / 407.4 MB, free: 27.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.1852, allocations: 175.1 kB / 407.6 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.1856, allocations: 198.8 kB / 407.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.1865, allocations: 0.6421 MB / 408.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1869, allocations: 0.5909 MB / 409 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.1881, allocations: 0.8337 MB / 409.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1883, allocations: 223.1 kB / 410.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.1886, allocations: 310.7 kB / 410.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.1887, allocations: 28 kB / 410.4 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.189, allocations: 227.7 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.1891, allocations: 107.5 kB / 410.7 MB, free: 24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.1892, allocations: 137.4 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.1897, allocations: 0.7142 MB / 411.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1897, allocations: 0 / 411.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1897, allocations: 0 / 411.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1897, allocations: 0 / 411.6 MB, free: 23.14 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.002961/0.1927, allocations: 1.151 MB / 412.7 MB, free: 21.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1927, allocations: 8.031 kB / 412.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.1939, allocations: 211 kB / 412.9 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1941, allocations: 247 kB / 413.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.1942, allocations: 58 kB / 413.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.1942, allocations: 75.95 kB / 413.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1954, allocations: 0.7699 MB / 414.1 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1954, allocations: 0 / 414.1 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.1955, allocations: 36 kB / 414.1 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1955, allocations: 19.94 kB / 414.1 MB, free: 20.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.1966, allocations: 0.6882 MB / 414.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.1996, allocations: 3.115 MB / 417.9 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.2012, allocations: 2.079 MB / 420 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.2018, allocations: 331.5 kB / 420.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.73e-05/0.2019, allocations: 93.75 kB / 420.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2019, allocations: 47.44 kB / 420.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.2019, allocations: 0 / 420.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002233/0.2041, allocations: 1.173 MB / 421.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2042, allocations: 111.5 kB / 421.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.2044, allocations: 274.4 kB / 422 MB, free: 11.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.2044, allocations: 37.7 kB / 422.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2045, allocations: 295.4 kB / 422.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.2047, allocations: 244.4 kB / 422.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.2047, allocations: 16 kB / 422.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.2048, allocations: 350.8 kB / 422.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.2052, allocations: 237.9 kB / 423.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.2057, allocations: 398.3 kB / 423.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.2062, allocations: 286.9 kB / 423.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2062, allocations: 4 kB / 423.8 MB, free: 10 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001298/0.2075, allocations: 0.8462 MB / 424.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2076, allocations: 12.03 kB / 424.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2076, allocations: 4 kB / 424.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.2079, allocations: 121.6 kB / 424.8 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.2085, allocations: 159.8 kB / 425 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.2106, allocations: 3.423 MB / 428.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.211, allocations: 99.16 kB / 428.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.2111, allocations: 35.92 kB / 428.5 MB, free: 5.023 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.2113, allocations: 193.7 kB / 428.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.2114, allocations: 43.48 kB / 428.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2127, allocations: 0.7687 MB / 429.5 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2127, allocations: 8 kB / 429.5 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2127, allocations: 4 kB / 429.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2127, allocations: 11.88 kB / 429.6 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.2146, allocations: 1.508 MB / 431.1 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2146, allocations: 0 / 431.1 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.2151, allocations: 111.9 kB / 431.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.2154, allocations: 117.6 kB / 431.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.2154, allocations: 19.98 kB / 431.3 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.2173, allocations: 3.105 MB / 434.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.2173, allocations: 8.031 kB / 434.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.2191, allocations: 1.144 MB / 435.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.2192, allocations: 128.5 kB / 435.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.2193, allocations: 12 kB / 435.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.2197, allocations: 39.97 kB / 435.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.2198, allocations: 48.58 kB / 435.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.2198, allocations: 16 kB / 435.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.22, allocations: 198 kB / 436 MB, free: 13.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.22, allocations: 0 / 436 MB, free: 13.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006374/0.2206, allocations: 215.5 kB / 436.2 MB, free: 12.94 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.2209, allocations: 147.7 kB / 436.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2223, allocations: 0.9108 MB / 437.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2223, allocations: 0 / 437.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007253/0.223, allocations: 0.5681 MB / 437.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2235, allocations: 40.42 kB / 437.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.2254, allocations: 1.422 MB / 439.3 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.2258, allocations: 0.8616 MB / 440.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.2259, allocations: 55.41 kB / 440.2 MB, free: 8.832 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2259, allocations: 4 kB / 440.2 MB, free: 8.828 MB / 314.7 MB Notification: Performance of Templates: time 0.08639/0.3123, allocations: 11.44 MB / 451.7 MB, free: 13.39 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches