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.001805/0.001805, allocations: 82.17 kB / 22 MB, free: 5.18 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.002122/0.002122, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 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 1.315/1.315, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 59.91 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2026, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005429/0.208, allocations: 3.747 MB / 352.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2106, allocations: 1.577 MB / 353.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2107, allocations: 8 kB / 353.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.213, allocations: 0.988 MB / 354.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.2135, allocations: 230.3 kB / 355.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.215, allocations: 0.724 MB / 355.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000646/0.2157, allocations: 0.6183 MB / 356.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006744/0.2164, allocations: 435.2 kB / 356.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.2167, allocations: 283 kB / 357.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.2171, allocations: 294.7 kB / 357.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.2172, allocations: 56 kB / 357.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.2177, allocations: 251.8 kB / 357.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2178, allocations: 131.5 kB / 357.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.2181, allocations: 242.9 kB / 358.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.2191, allocations: 0.9285 MB / 359 MB, free: 5.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2191, allocations: 4 kB / 359 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2191, allocations: 0 / 359 MB, free: 5.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2191, allocations: 4 kB / 359 MB, free: 5.008 MB / 318.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.003616/0.2227, allocations: 1.141 MB / 360.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2228, allocations: 11.98 kB / 360.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.224, allocations: 172.4 kB / 360.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.2242, allocations: 190.3 kB / 360.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.2242, allocations: 54.38 kB / 360.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2243, allocations: 68.38 kB / 360.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2257, allocations: 0.725 MB / 361.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.2257, allocations: 4 kB / 361.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.2258, allocations: 24 kB / 361.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.2258, allocations: 16 kB / 361.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.2272, allocations: 0.6024 MB / 362 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.2304, allocations: 1.76 MB / 363.8 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2318, allocations: 0.6777 MB / 364.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.2323, allocations: 251.6 kB / 364.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.747e-05/0.2324, allocations: 16.59 kB / 364.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2325, allocations: 47.2 kB / 364.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.2325, allocations: 0 / 364.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001706/0.2342, allocations: 0.7046 MB / 365.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.2342, allocations: 111.5 kB / 365.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.2345, allocations: 248 kB / 365.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.2346, allocations: 41.83 kB / 365.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.2347, allocations: 268.6 kB / 366.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.2349, allocations: 234 kB / 366.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.2351, allocations: 118.6 kB / 366.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2353, allocations: 346.8 kB / 366.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.2358, allocations: 205.9 kB / 367 MB, free: 12.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.2364, allocations: 335 kB / 367.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2376, allocations: 0.5068 MB / 367.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2376, allocations: 0 / 367.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00136/0.2389, allocations: 0.6375 MB / 368.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.239, allocations: 4 kB / 368.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.239, allocations: 4 kB / 368.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.239, allocations: 4 kB / 368.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.2397, allocations: 160 kB / 368.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2397, allocations: 8 kB / 368.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.2402, allocations: 71.53 kB / 368.7 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.2403, allocations: 24 kB / 368.7 MB, free: 10.98 MB / 334.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.000228/0.2405, allocations: 189.7 kB / 368.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.2406, allocations: 43.75 kB / 368.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.242, allocations: 0.6025 MB / 369.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.242, allocations: 8 kB / 369.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.242, allocations: 0 / 369.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.242, allocations: 7.922 kB / 369.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.244, allocations: 1.109 MB / 370.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.244, allocations: 0 / 370.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.2446, allocations: 127.8 kB / 370.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2446, allocations: 4 kB / 370.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.2447, allocations: 12 kB / 370.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2447, allocations: 4 kB / 370.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.2447, allocations: 7.984 kB / 370.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.2465, allocations: 0.9745 MB / 371.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.2466, allocations: 51.61 kB / 371.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.2466, allocations: 8 kB / 371.9 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.247, allocations: 36.03 kB / 371.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2472, allocations: 44.52 kB / 371.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.2472, allocations: 19.98 kB / 372 MB, free: 7.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.2474, allocations: 181.2 kB / 372.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2474, allocations: 0 / 372.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.248, allocations: 179.6 kB / 372.3 MB, free: 7.316 MB / 334.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.0002229/0.2482, allocations: 143.1 kB / 372.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.2493, allocations: 0.5091 MB / 373 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2493, allocations: 0 / 373 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.2499, allocations: 243.6 kB / 373.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.2504, allocations: 48.72 kB / 373.2 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.2524, allocations: 1.082 MB / 374.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2527, allocations: 249.1 kB / 374.6 MB, free: 5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000339/0.253, allocations: 79.33 kB / 374.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.2532, allocations: 44.48 kB / 374.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2532, allocations: 0 / 374.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of Templates: time 0.01074/0.2639, allocations: 4.857 MB / 379.5 MB, free: 8 kB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.336857403977774]