Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 88.64 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 149.1 kB / 24.25 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.976e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.009064/0.009094, allocations: 3.798 MB / 271.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.01368, allocations: 1.557 MB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.01422, allocations: 12 kB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.01791, allocations: 0.9758 MB / 273.7 MB, free: 356 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.0192, allocations: 254 kB / 273.9 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.02181, allocations: 0.751 MB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.02306, allocations: 0.6491 MB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.02414, allocations: 431.4 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008294/0.02497, allocations: 391.2 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.0256, allocations: 263.2 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.02573, allocations: 56 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008965/0.02662, allocations: 247.7 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.02683, allocations: 139.4 kB / 276.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.0272, allocations: 211.4 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.02914, allocations: 0.9539 MB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.02915, allocations: 0 / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.02915, allocations: 0 / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.02916, allocations: 0 / 278 MB, free: 12.02 MB / 266.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.006641/0.0358, allocations: 1.141 MB / 279.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.03587, allocations: 16.86 kB / 279.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.03845, allocations: 296.1 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.03889, allocations: 181.7 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.03899, allocations: 50.38 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.03926, allocations: 68.38 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.04203, allocations: 0.7214 MB / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.04207, allocations: 192 / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.04219, allocations: 28.38 kB / 280.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.04223, allocations: 19.94 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.04496, allocations: 0.6024 MB / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/0.05191, allocations: 1.791 MB / 282.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.05466, allocations: 0.6763 MB / 283.5 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.05567, allocations: 243.6 kB / 283.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.05584, allocations: 28.66 kB / 283.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.917e-05/0.05591, allocations: 43.16 kB / 283.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 4.689e-06/0.05592, allocations: 0 / 283.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.003368/0.05929, allocations: 0.7243 MB / 284.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.05944, allocations: 107.5 kB / 284.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.06007, allocations: 255.9 kB / 284.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/0.06016, allocations: 41.7 kB / 285 MB, free: 4.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.06053, allocations: 268.6 kB / 285.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.06093, allocations: 234 kB / 285.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.06132, allocations: 118.6 kB / 285.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003176/0.06164, allocations: 350.7 kB / 285.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.06265, allocations: 209.9 kB / 286.1 MB, free: 3.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.06386, allocations: 331.1 kB / 286.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.06604, allocations: 0.5107 MB / 287 MB, free: 2.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.06605, allocations: 0 / 287 MB, free: 2.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002723/0.06877, allocations: 0.6532 MB / 287.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.0688, allocations: 8.125 kB / 287.6 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.06882, allocations: 8 kB / 287.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/0.06885, allocations: 4 kB / 287.6 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.07032, allocations: 155.8 kB / 287.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.07034, allocations: 7.938 kB / 287.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.07133, allocations: 75.53 kB / 287.9 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.6e-05/0.07143, allocations: 24 kB / 287.9 MB, free: 1.797 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.0004961/0.07192, allocations: 193.7 kB / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.07221, allocations: 63.7 kB / 288.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.07493, allocations: 0.5987 MB / 288.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.07494, allocations: 4 kB / 288.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.07495, allocations: 0 / 288.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.07496, allocations: 7.984 kB / 288.8 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1475/0.2225, allocations: 1.098 MB / 289.9 MB, free: 31.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.2225, allocations: 1 kB / 289.9 MB, free: 31.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.2231, allocations: 133.2 kB / 290 MB, free: 31.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2231, allocations: 2.406 kB / 290 MB, free: 31.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.2232, allocations: 14.64 kB / 290 MB, free: 31.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.2232, allocations: 4.172 kB / 290 MB, free: 31.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2232, allocations: 0 / 290 MB, free: 31.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.2249, allocations: 0.9959 MB / 291 MB, free: 31.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.225, allocations: 46.3 kB / 291 MB, free: 31.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.225, allocations: 16.67 kB / 291.1 MB, free: 31.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.2254, allocations: 32.38 kB / 291.1 MB, free: 31.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2256, allocations: 42.11 kB / 291.1 MB, free: 31.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.2256, allocations: 18.17 kB / 291.2 MB, free: 31.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.2258, allocations: 181.5 kB / 291.3 MB, free: 31.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2258, allocations: 0 / 291.3 MB, free: 31.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006198/0.2264, allocations: 182.6 kB / 291.5 MB, free: 31.56 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.0002323/0.2266, allocations: 146.7 kB / 291.7 MB, free: 31.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.2277, allocations: 0.5052 MB / 292.2 MB, free: 31.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2277, allocations: 1.062 kB / 292.2 MB, free: 31.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.2282, allocations: 253.2 kB / 292.4 MB, free: 31.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.2288, allocations: 61.09 kB / 292.5 MB, free: 31.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.2307, allocations: 1.047 MB / 293.5 MB, free: 31.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2309, allocations: 242 kB / 293.7 MB, free: 30.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003566/0.2313, allocations: 80.14 kB / 293.8 MB, free: 30.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2314, allocations: 45.78 kB / 293.9 MB, free: 30.89 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2314, allocations: 1.062 kB / 293.9 MB, free: 30.89 MB / 266.7 MB Notification: Performance of Templates: time 0.01004/0.2415, allocations: 4.92 MB / 298.8 MB, free: 29.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.490062762983143]