Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.0007614/0.0007614, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001787, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006862/0.0006862, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008925/0.001579, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8955/0.8955, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07919/0.9747, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.021e-05, allocations: 6.109 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.0053/0.005321, allocations: 4.168 MB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.007823, allocations: 1.735 MB / 250.6 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.008003, allocations: 12 kB / 250.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.009684, allocations: 1.069 MB / 251.7 MB, free: 7.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.01014, allocations: 246.1 kB / 251.9 MB, free: 6.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.01144, allocations: 0.7431 MB / 252.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000574/0.01202, allocations: 0.6258 MB / 253.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.01263, allocations: 433.5 kB / 253.7 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.01315, allocations: 404 kB / 254.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.0135, allocations: 259.3 kB / 254.4 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.01358, allocations: 52 kB / 254.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.01409, allocations: 299.5 kB / 254.7 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.01418, allocations: 103.6 kB / 254.8 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.01436, allocations: 167.7 kB / 255 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00081/0.01517, allocations: 0.6266 MB / 255.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.01518, allocations: 0 / 255.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01519, allocations: 0 / 255.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.0152, allocations: 0 / 255.6 MB, free: 3.277 MB / 250.7 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.003064/0.01826, allocations: 1.379 MB / 257 MB, free: 1.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.0183, allocations: 8.031 kB / 257 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.01952, allocations: 316.2 kB / 257.3 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.0197, allocations: 177.7 kB / 257.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.01975, allocations: 50.38 kB / 257.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.01986, allocations: 68.38 kB / 257.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.02061, allocations: 0.5305 MB / 258.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.02063, allocations: 8.125 kB / 258.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.02069, allocations: 28.38 kB / 258.2 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.02071, allocations: 19.94 kB / 258.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.02113, allocations: 205.8 kB / 258.4 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.02348, allocations: 1.371 MB / 259.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.02421, allocations: 481.9 kB / 260.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.02439, allocations: 111.7 kB / 260.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.02451, allocations: 32.64 kB / 260.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.02455, allocations: 43.2 kB / 260.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 3.055e-06/0.02455, allocations: 0 / 260.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0005913/0.02514, allocations: 313.8 kB / 260.7 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.02519, allocations: 89.7 kB / 260.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.02538, allocations: 235.2 kB / 261 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.02542, allocations: 33.7 kB / 261.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.02555, allocations: 268.6 kB / 261.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.02571, allocations: 226 kB / 261.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.02587, allocations: 122.5 kB / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.02598, allocations: 346.7 kB / 262 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.02613, allocations: 65.97 kB / 262.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.02635, allocations: 199 kB / 262.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.02677, allocations: 278.4 kB / 262.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02678, allocations: 0 / 262.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005105/0.02729, allocations: 321.1 kB / 262.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.0273, allocations: 4 kB / 262.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.02731, allocations: 12.17 kB / 262.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.02733, allocations: 7.938 kB / 262.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.02779, allocations: 179.8 kB / 263 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.02779, allocations: 4 kB / 263 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.02797, allocations: 63.55 kB / 263.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.02799, allocations: 19.98 kB / 263.1 MB, free: 11.45 MB / 266.7 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.0001007/0.02809, allocations: 141.7 kB / 263.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.02815, allocations: 43.97 kB / 263.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.02848, allocations: 321.2 kB / 263.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.02849, allocations: 11.94 kB / 263.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.02849, allocations: 0 / 263.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.0285, allocations: 7.969 kB / 263.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.0292, allocations: 0.6366 MB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.0292, allocations: 4 kB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.02948, allocations: 147.8 kB / 264.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.02952, allocations: 39.64 kB / 264.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.02952, allocations: 8 kB / 264.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.02954, allocations: 12 kB / 264.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02954, allocations: 0 / 264.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02954, allocations: 4 kB / 264.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.02994, allocations: 0.5255 MB / 265 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.02997, allocations: 12 kB / 265 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.03011, allocations: 19.98 kB / 265 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.03017, allocations: 48.5 kB / 265.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.03018, allocations: 8 kB / 265.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.331e-05/0.03023, allocations: 78.78 kB / 265.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03023, allocations: 4.031 kB / 265.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.03053, allocations: 183.6 kB / 265.4 MB, free: 9.156 MB / 266.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 (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.0001522/0.03068, allocations: 140.2 kB / 265.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.03096, allocations: 281 kB / 265.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.03097, allocations: 7.938 kB / 265.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.03122, allocations: 199.6 kB / 266 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.03158, allocations: 399.4 kB / 266.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.03617, allocations: 0.9986 MB / 267.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.03624, allocations: 132.8 kB / 267.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.03644, allocations: 72.12 kB / 267.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.03662, allocations: 135.3 kB / 267.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03662, allocations: 0 / 267.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of Templates: time 0.007819/0.04444, allocations: 5.946 MB / 273.6 MB, free: 0.8242 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.434712106361985]