Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008065/0.0008065, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002006, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007178/0.0007178, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001726, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9384/0.9384, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.138/1.076, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.376e-05, allocations: 6.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003407/0.003421, allocations: 4.094 MB / 226.1 MB, free: 11.94 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.005279, allocations: 1.693 MB / 227.8 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.005429, allocations: 8 kB / 227.8 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.006479, allocations: 1.069 MB / 228.8 MB, free: 9.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.006798, allocations: 230.1 kB / 229.1 MB, free: 8.926 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.007618, allocations: 0.7354 MB / 229.8 MB, free: 8.188 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.008043, allocations: 0.6492 MB / 230.5 MB, free: 7.535 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.008479, allocations: 425.6 kB / 230.9 MB, free: 7.117 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003569/0.008835, allocations: 431.9 kB / 231.3 MB, free: 6.695 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.009089, allocations: 255.3 kB / 231.5 MB, free: 6.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.009142, allocations: 55.94 kB / 231.6 MB, free: 6.391 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.009526, allocations: 263.7 kB / 231.9 MB, free: 6.133 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.009586, allocations: 95.62 kB / 232 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.009706, allocations: 171.6 kB / 232.1 MB, free: 5.871 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.01023, allocations: 0.5994 MB / 232.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.01025, allocations: 4 kB / 232.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01025, allocations: 3.984 kB / 232.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.01026, allocations: 4 kB / 232.7 MB, free: 5.258 MB / 234.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.001979/0.01224, allocations: 1.359 MB / 234.1 MB, free: 3.855 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.01227, allocations: 8.031 kB / 234.1 MB, free: 3.848 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/0.01296, allocations: 312.3 kB / 234.4 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.0131, allocations: 177.7 kB / 234.6 MB, free: 3.344 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.01314, allocations: 50.38 kB / 234.6 MB, free: 3.293 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.01322, allocations: 72.31 kB / 234.7 MB, free: 3.223 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.01372, allocations: 0.5305 MB / 235.2 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.01373, allocations: 8.141 kB / 235.2 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.01377, allocations: 24.38 kB / 235.3 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01378, allocations: 19.94 kB / 235.3 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.01403, allocations: 201 kB / 235.5 MB, free: 2.422 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.01558, allocations: 1.367 MB / 236.8 MB, free: 1.008 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.01603, allocations: 481.9 kB / 237.3 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.01615, allocations: 115.7 kB / 237.4 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.288e-05/0.01622, allocations: 20.64 kB / 237.4 MB, free: 392 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.01625, allocations: 43.22 kB / 237.5 MB, free: 340 kB / 234.7 MB Notification: Performance of pre-optimization done (n=66): time 1.633e-06/0.01625, allocations: 0 / 237.5 MB, free: 340 kB / 234.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003635/0.01661, allocations: 317.8 kB / 237.8 MB, free: 16 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.01665, allocations: 85.77 kB / 237.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01678, allocations: 227.2 kB / 238.1 MB, free: 15.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.01681, allocations: 37.7 kB / 238.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.01691, allocations: 256.6 kB / 238.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.01701, allocations: 246 kB / 238.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01713, allocations: 118.6 kB / 238.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.01722, allocations: 346.7 kB / 239.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.01731, allocations: 69.95 kB / 239.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.01747, allocations: 199 kB / 239.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.01774, allocations: 274.2 kB / 239.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01775, allocations: 8.031 kB / 239.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0003209/0.01807, allocations: 313.1 kB / 239.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01808, allocations: 4 kB / 239.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01809, allocations: 4 kB / 239.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.0181, allocations: 7.938 kB / 239.9 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.01849, allocations: 179.8 kB / 240.1 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.0185, allocations: 8.188 kB / 240.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.01866, allocations: 63.55 kB / 240.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.01869, allocations: 23.98 kB / 240.2 MB, free: 13.47 MB / 250.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.0001056/0.01879, allocations: 137.7 kB / 240.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.01885, allocations: 43.97 kB / 240.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.01918, allocations: 321.1 kB / 240.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.01919, allocations: 11.94 kB / 240.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01919, allocations: 0 / 240.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.0192, allocations: 3.984 kB / 240.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.01991, allocations: 0.6405 MB / 241.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01991, allocations: 0 / 241.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.0202, allocations: 143.8 kB / 241.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.02023, allocations: 43.64 kB / 241.5 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.02023, allocations: 4 kB / 241.5 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.02026, allocations: 16 kB / 241.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.02026, allocations: 0 / 241.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02026, allocations: 3.984 kB / 241.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.02071, allocations: 0.5294 MB / 242.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.02075, allocations: 15.94 kB / 242.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.0209, allocations: 19.98 kB / 242.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.02096, allocations: 40.58 kB / 242.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.02097, allocations: 11.98 kB / 242.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.02104, allocations: 74.83 kB / 242.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02104, allocations: 0 / 242.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.02135, allocations: 183.6 kB / 242.4 MB, free: 11.19 MB / 250.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.0001568/0.02151, allocations: 124.3 kB / 242.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.02181, allocations: 289 kB / 242.8 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.02182, allocations: 12 kB / 242.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.02199, allocations: 195.6 kB / 243 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.02238, allocations: 407.4 kB / 243.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.02723, allocations: 1.041 MB / 244.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.511e-05/0.02731, allocations: 136.8 kB / 244.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.02753, allocations: 80.11 kB / 244.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.02772, allocations: 131.3 kB / 244.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02772, allocations: 0 / 244.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of Templates: time 0.007598/0.03532, allocations: 5.812 MB / 250.6 MB, free: 2.875 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6868443079292774]