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.001904/0.001904, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002455/0.002455, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.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 0.002622/0.002622, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2998, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.007095/0.3069, allocations: 3.928 MB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.3101, allocations: 1.615 MB / 437.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.3103, allocations: 12 kB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.3128, allocations: 0.9596 MB / 438.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006457/0.3134, allocations: 258.2 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.315, allocations: 0.7239 MB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.3157, allocations: 0.6377 MB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.3164, allocations: 461.1 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.3169, allocations: 282.9 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.3173, allocations: 310.5 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.3173, allocations: 56 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.3179, allocations: 287.7 kB / 441.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.318, allocations: 139.5 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.3183, allocations: 254.8 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.3194, allocations: 0.9914 MB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3194, allocations: 0 / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3194, allocations: 4 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3194, allocations: 0 / 443.2 MB, free: 11.82 MB / 350.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.003638/0.3231, allocations: 1.203 MB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3231, allocations: 8.031 kB / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.3245, allocations: 200.3 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3247, allocations: 191.3 kB / 444.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.3248, allocations: 58.36 kB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.3249, allocations: 80.31 kB / 444.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.3263, allocations: 0.7914 MB / 445.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.3264, allocations: 7.953 kB / 445.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.3264, allocations: 28 kB / 445.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.3265, allocations: 20 kB / 445.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.3278, allocations: 0.6688 MB / 446.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.3318, allocations: 2.183 MB / 448.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.3337, allocations: 0.8168 MB / 449.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.3344, allocations: 291.5 kB / 449.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-05/0.3345, allocations: 32.56 kB / 449.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3345, allocations: 39.22 kB / 449.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.035e-06/0.3345, allocations: 4 kB / 449.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002642/0.3372, allocations: 0.9873 MB / 450.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.3372, allocations: 111.5 kB / 450.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.3375, allocations: 264.7 kB / 451.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.3376, allocations: 37.73 kB / 451.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3378, allocations: 312.5 kB / 451.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.338, allocations: 257.8 kB / 451.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.3382, allocations: 142.5 kB / 451.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3384, allocations: 350.7 kB / 452.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.3389, allocations: 229.9 kB / 452.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.3396, allocations: 412 kB / 452.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3408, allocations: 0.6376 MB / 453.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3409, allocations: 0 / 453.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001655/0.3425, allocations: 0.8347 MB / 454.3 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3425, allocations: 4 kB / 454.4 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3425, allocations: 4 kB / 454.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.3429, allocations: 121.6 kB / 454.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.3436, allocations: 167.8 kB / 454.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/0.3472, allocations: 3.51 MB / 458.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.3478, allocations: 91.38 kB / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.3478, allocations: 31.94 kB / 458.3 MB, free: 12.16 MB / 366.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.000294/0.3481, allocations: 201.6 kB / 458.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3482, allocations: 39.77 kB / 458.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.3499, allocations: 0.7375 MB / 459.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3499, allocations: 4 kB / 459.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3499, allocations: 4 kB / 459.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3499, allocations: 7.984 kB / 459.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.3524, allocations: 1.293 MB / 460.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3524, allocations: 0 / 460.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.3529, allocations: 119.8 kB / 460.7 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.3532, allocations: 105.6 kB / 460.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.3533, allocations: 15.98 kB / 460.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.3563, allocations: 3.081 MB / 463.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3563, allocations: 3.984 kB / 463.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.3583, allocations: 1.117 MB / 465 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.3584, allocations: 39.67 kB / 465 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.3584, allocations: 23.89 kB / 465 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.3588, allocations: 32.03 kB / 465.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3589, allocations: 60.48 kB / 465.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.359, allocations: 20 kB / 465.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3592, allocations: 180.4 kB / 465.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 465.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007802/0.3599, allocations: 219.6 kB / 465.6 MB, free: 4.574 MB / 366.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.0002617/0.3602, allocations: 155.1 kB / 465.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.3618, allocations: 0.8491 MB / 466.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3618, allocations: 8 kB / 466.6 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.3626, allocations: 0.532 MB / 467.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.3631, allocations: 36.44 kB / 467.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.3652, allocations: 1.129 MB / 468.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.3654, allocations: 265.5 kB / 468.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.3656, allocations: 59.41 kB / 468.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3656, allocations: 0 / 468.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of Templates: time 0.01537/0.381, allocations: 12.03 MB / 480.6 MB, free: 5.387 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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: 7.927974797785282]