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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001413, allocations: 117 kB / 17.7 MB, free: 5.285 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.001128/0.001128, allocations: 191 kB / 18.63 MB, free: 4.355 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.265/1.265, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 48.62 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09047, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004481/0.09498, allocations: 4.324 MB / 355.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.09704, allocations: 1.639 MB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.09719, allocations: 12 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.09904, allocations: 1.025 MB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.09945, allocations: 258.2 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1007, allocations: 0.7852 MB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.1012, allocations: 0.6377 MB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.1018, allocations: 0.5247 MB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.1021, allocations: 274.9 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.1024, allocations: 358.5 kB / 361.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.1025, allocations: 56 kB / 361.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.1029, allocations: 275.7 kB / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.103, allocations: 139.5 kB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.1032, allocations: 326.4 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.104, allocations: 0.9617 MB / 363.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.104, allocations: 4 kB / 363.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.104, allocations: 0 / 363.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.104, allocations: 0 / 363.1 MB, free: 8.078 MB / 302.1 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.003075/0.1071, allocations: 1.257 MB / 364.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.1071, allocations: 12.03 kB / 364.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.1084, allocations: 208 kB / 364.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1085, allocations: 239.4 kB / 364.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.1086, allocations: 62.31 kB / 364.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.1087, allocations: 76.36 kB / 364.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.1098, allocations: 0.7624 MB / 365.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1098, allocations: 4 kB / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.1099, allocations: 31.94 kB / 365.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.1099, allocations: 20 kB / 365.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1111, allocations: 0.6688 MB / 366.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.1145, allocations: 3.087 MB / 369.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1212/0.2358, allocations: 2.065 MB / 371.6 MB, free: 24.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.2365, allocations: 329.5 kB / 371.9 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.2366, allocations: 98.47 kB / 372 MB, free: 24.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.2367, allocations: 42.5 kB / 372 MB, free: 24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.525e-06/0.2367, allocations: 1.344 kB / 372 MB, free: 24 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002332/0.239, allocations: 1.141 MB / 373.2 MB, free: 23.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2391, allocations: 112 kB / 373.3 MB, free: 23.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.2394, allocations: 278.8 kB / 373.5 MB, free: 23.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.2394, allocations: 35.58 kB / 373.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2395, allocations: 293.4 kB / 373.9 MB, free: 23.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2397, allocations: 244.7 kB / 374.1 MB, free: 23.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.2398, allocations: 136.3 kB / 374.2 MB, free: 23.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.2399, allocations: 351.1 kB / 374.6 MB, free: 22.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.2404, allocations: 230.5 kB / 374.8 MB, free: 22.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.2409, allocations: 389 kB / 375.2 MB, free: 22.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009291/0.2418, allocations: 0.6305 MB / 375.8 MB, free: 22.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2419, allocations: 7.406 kB / 375.8 MB, free: 22.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001337/0.2432, allocations: 0.8332 MB / 376.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2432, allocations: 10.75 kB / 376.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2433, allocations: 4.781 kB / 376.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/0.2436, allocations: 124.2 kB / 376.8 MB, free: 21.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.2442, allocations: 162.7 kB / 376.9 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.2465, allocations: 3.791 MB / 380.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.2469, allocations: 82.88 kB / 380.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.247, allocations: 35.47 kB / 380.9 MB, free: 18.21 MB / 302.1 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.0001975/0.2472, allocations: 207.1 kB / 381.1 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.2473, allocations: 39.58 kB / 381.1 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.2486, allocations: 0.7504 MB / 381.8 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2486, allocations: 7.688 kB / 381.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2486, allocations: 3.344 kB / 381.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2486, allocations: 3.891 kB / 381.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.2508, allocations: 1.485 MB / 383.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2508, allocations: 0 / 383.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.2512, allocations: 119.8 kB / 383.5 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.2515, allocations: 103.4 kB / 383.6 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.2515, allocations: 18.09 kB / 383.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.2533, allocations: 3.349 MB / 386.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2533, allocations: 1.5 kB / 386.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.2549, allocations: 1.121 MB / 388.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.255, allocations: 127.6 kB / 388.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.2551, allocations: 17.31 kB / 388.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.2554, allocations: 26.72 kB / 388.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2556, allocations: 56.27 kB / 388.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.2556, allocations: 20.62 kB / 388.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.2558, allocations: 197.5 kB / 388.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2558, allocations: 0 / 388.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006629/0.2564, allocations: 212.9 kB / 388.7 MB, free: 12.78 MB / 302.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 (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.0001909/0.2566, allocations: 155.7 kB / 388.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2579, allocations: 0.8759 MB / 389.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.258, allocations: 4.125 kB / 389.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.2586, allocations: 0.5669 MB / 390.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.259, allocations: 43.84 kB / 390.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.2606, allocations: 1.106 MB / 391.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2609, allocations: 0.864 MB / 392.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.2612, allocations: 83.92 kB / 392.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2613, allocations: 44.98 kB / 392.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2613, allocations: 0 / 392.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Templates: time 0.7523/1.014, allocations: 6.098 MB / 398.5 MB, free: 8.449 MB / 302.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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