Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 113.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 255.4 MB, free: 15.18 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.83 kB / 374.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1057, allocations: 53.31 MB / 428.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005707/0.1114, allocations: 4.208 MB / 432.3 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1902/0.3016, allocations: 1.732 MB / 434 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.3019, allocations: 11.59 kB / 434 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.3039, allocations: 1.02 MB / 435 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005647/0.3044, allocations: 242.2 kB / 435.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3057, allocations: 0.7679 MB / 436 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005703/0.3063, allocations: 0.6109 MB / 436.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.3068, allocations: 372.8 kB / 437 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.3071, allocations: 267.3 kB / 437.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.3075, allocations: 335.5 kB / 437.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.674e-05/0.3076, allocations: 54.53 kB / 437.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006185/0.3082, allocations: 292.3 kB / 437.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.3083, allocations: 124.6 kB / 438.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.3085, allocations: 311.2 kB / 438.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3097, allocations: 0.9492 MB / 439.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3097, allocations: 0 / 439.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3097, allocations: 1.375 kB / 439.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3097, allocations: 0 / 439.3 MB, free: 6.828 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003583/0.3133, allocations: 1.233 MB / 440.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3133, allocations: 9.969 kB / 440.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.3145, allocations: 174.7 kB / 440.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3147, allocations: 249.1 kB / 441 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.3148, allocations: 51.16 kB / 441 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3149, allocations: 67.33 kB / 441.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.3162, allocations: 0.7098 MB / 441.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.3162, allocations: 1.953 kB / 441.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.3163, allocations: 30.48 kB / 441.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3163, allocations: 16.5 kB / 441.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.3175, allocations: 0.6045 MB / 442.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.3207, allocations: 2.32 MB / 444.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.322, allocations: 1.575 MB / 446.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.3225, allocations: 240.3 kB / 446.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.3227, allocations: 183.1 kB / 446.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3227, allocations: 39.02 kB / 446.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.564e-06/0.3227, allocations: 3.938 kB / 446.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001565/0.3243, allocations: 0.7073 MB / 447.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.3243, allocations: 110.5 kB / 447.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3246, allocations: 261.9 kB / 447.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.3247, allocations: 41.73 kB / 447.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3248, allocations: 272.4 kB / 448.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.3249, allocations: 233.2 kB / 448.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.3251, allocations: 121.6 kB / 448.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.3252, allocations: 346.6 kB / 448.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.3256, allocations: 215.2 kB / 449.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.3261, allocations: 303 kB / 449.4 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.327, allocations: 0.5159 MB / 449.9 MB, free: 80 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.327, allocations: 1.188 kB / 449.9 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001372/0.3283, allocations: 0.6408 MB / 450.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3284, allocations: 5.969 kB / 450.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3284, allocations: 3.781 kB / 450.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3284, allocations: 4.312 kB / 450.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.3291, allocations: 160.4 kB / 450.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3291, allocations: 5.531 kB / 450.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.3296, allocations: 81.09 kB / 450.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.3297, allocations: 23.34 kB / 450.8 MB, free: 15.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002731/0.3299, allocations: 187.9 kB / 451 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3301, allocations: 42.45 kB / 451 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.3314, allocations: 0.6047 MB / 451.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.3314, allocations: 7.219 kB / 451.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3314, allocations: 1.188 kB / 451.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3314, allocations: 4.422 kB / 451.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.3337, allocations: 1.287 MB / 452.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3337, allocations: 1.469 kB / 452.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.3343, allocations: 132.2 kB / 453.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3343, allocations: 5.031 kB / 453.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.3344, allocations: 18.47 kB / 453.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.702e-05/0.3344, allocations: 6.594 kB / 453.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3344, allocations: 6.031 kB / 453.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3361, allocations: 0.9753 MB / 454.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3363, allocations: 127.5 kB / 454.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.3363, allocations: 11.31 kB / 454.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3367, allocations: 30.92 kB / 454.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3368, allocations: 44.53 kB / 454.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.3369, allocations: 18.02 kB / 454.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.3371, allocations: 196.5 kB / 454.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3371, allocations: 0 / 454.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00064/0.3377, allocations: 182.9 kB / 454.7 MB, free: 13.75 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.338, allocations: 158.1 kB / 454.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.3391, allocations: 0.5054 MB / 455.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3391, allocations: 0 / 455.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.3396, allocations: 248.9 kB / 455.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.3401, allocations: 41.11 kB / 455.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.3423, allocations: 1.078 MB / 456.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.3428, allocations: 0.8446 MB / 457.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.3431, allocations: 55.78 kB / 457.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3431, allocations: 3.938 kB / 457.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01253/0.3556, allocations: 7.029 MB / 464.6 MB, free: 8.906 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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: 6.984077243134379]