Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 85.17 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 163.3 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 325.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.616e-05, allocations: 6.281 kB / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005908/0.005934, allocations: 3.935 MB / 329 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.009715, allocations: 1.639 MB / 330.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.01006, allocations: 11.88 kB / 330.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.0129, allocations: 0.9915 MB / 331.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009529/0.01385, allocations: 272.4 kB / 331.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.01555, allocations: 0.7413 MB / 332.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007707/0.01632, allocations: 0.6648 MB / 333.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.01711, allocations: 460 kB / 333.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.01776, allocations: 406.9 kB / 334.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.01817, allocations: 275.1 kB / 334.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/0.01826, allocations: 55.88 kB / 334.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006464/0.0189, allocations: 273.8 kB / 334.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.01904, allocations: 144.7 kB / 334.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.01934, allocations: 222.4 kB / 335.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.02061, allocations: 1.003 MB / 336.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.02062, allocations: 0 / 336.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02062, allocations: 3.938 kB / 336.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.02063, allocations: 1.156 kB / 336.1 MB, free: 9.301 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.003938/0.02456, allocations: 1.207 MB / 337.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.02462, allocations: 9.938 kB / 337.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.02612, allocations: 197.5 kB / 337.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.02633, allocations: 177.2 kB / 337.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.02639, allocations: 56.75 kB / 337.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.02651, allocations: 76.55 kB / 337.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.02799, allocations: 0.7979 MB / 338.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.02801, allocations: 192 / 338.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.02809, allocations: 32.38 kB / 338.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.02811, allocations: 23.92 kB / 338.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.02956, allocations: 0.6649 MB / 339.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/0.03362, allocations: 2.2 MB / 341.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.03561, allocations: 0.8131 MB / 342.4 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.03626, allocations: 296.1 kB / 342.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.03636, allocations: 28.64 kB / 342.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.0364, allocations: 51.42 kB / 342.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.375e-06/0.0364, allocations: 0 / 342.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002734/0.03913, allocations: 0.9754 MB / 343.7 MB, free: 2.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.03923, allocations: 111.5 kB / 343.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.0396, allocations: 269.5 kB / 344.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.03965, allocations: 37.7 kB / 344.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.03989, allocations: 300.3 kB / 344.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.04012, allocations: 257.8 kB / 344.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.04036, allocations: 134.6 kB / 344.8 MB, free: 1.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.04056, allocations: 346.8 kB / 345.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.04113, allocations: 233.9 kB / 345.4 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/0.04192, allocations: 416 kB / 345.8 MB, free: 124 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.04319, allocations: 0.6376 MB / 346.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.04319, allocations: 0 / 346.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001738/0.04493, allocations: 0.8268 MB / 347.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.04495, allocations: 8 kB / 347.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.04496, allocations: 11.92 kB / 347.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/0.04539, allocations: 129.7 kB / 347.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.04606, allocations: 152 kB / 347.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003705/0.04976, allocations: 3.513 MB / 351 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.0503, allocations: 87.39 kB / 351.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.05035, allocations: 36.11 kB / 351.2 MB, free: 10.45 MB / 318.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.0002963/0.05065, allocations: 202.2 kB / 351.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.05076, allocations: 35.77 kB / 351.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.05239, allocations: 0.7375 MB / 352.1 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.0524, allocations: 8 kB / 352.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.0524, allocations: 0 / 352.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.05242, allocations: 7.984 kB / 352.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.05491, allocations: 1.297 MB / 353.4 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.05492, allocations: 7.922 kB / 353.5 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.05544, allocations: 115.8 kB / 353.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.05574, allocations: 105.6 kB / 353.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.05578, allocations: 12 kB / 353.7 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.05881, allocations: 3.081 MB / 356.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.05881, allocations: 0 / 356.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.06091, allocations: 1.121 MB / 357.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.06099, allocations: 51.59 kB / 357.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.06105, allocations: 12 kB / 357.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.06152, allocations: 31.98 kB / 358 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.06165, allocations: 52.48 kB / 358 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.06169, allocations: 23.98 kB / 358 MB, free: 3.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.0619, allocations: 185.2 kB / 358.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0619, allocations: 4.062 kB / 358.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008402/0.06274, allocations: 219.6 kB / 358.4 MB, free: 2.859 MB / 318.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.0002959/0.06303, allocations: 147.2 kB / 358.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.06474, allocations: 0.8522 MB / 359.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.06474, allocations: 0 / 359.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.06562, allocations: 0.5368 MB / 360 MB, free: 1.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.06608, allocations: 43.48 kB / 360 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.06814, allocations: 1.044 MB / 361.1 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.06844, allocations: 265.6 kB / 361.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.06875, allocations: 80.33 kB / 361.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.0689, allocations: 48.42 kB / 361.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.0689, allocations: 3.938 kB / 361.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Templates: time 0.01331/0.08221, allocations: 6.15 MB / 367.6 MB, free: 9.66 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.529979333281517]