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.0008643/0.0008643, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003657/0.003657, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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.8573/0.8573, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.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 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.93e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003129/0.003148, allocations: 3.812 MB / 329.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.004746, allocations: 1.631 MB / 331.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.004883, allocations: 12 kB / 331.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.005927, allocations: 0.9872 MB / 332.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.006224, allocations: 242.1 kB / 332.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.007033, allocations: 0.743 MB / 333.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.007405, allocations: 0.6294 MB / 333.9 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.00786, allocations: 431.4 kB / 334.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.008189, allocations: 383.1 kB / 334.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.008412, allocations: 259.2 kB / 334.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.008461, allocations: 52 kB / 335 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.008767, allocations: 283.5 kB / 335.3 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.008834, allocations: 131.5 kB / 335.4 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.008956, allocations: 215.4 kB / 335.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.009654, allocations: 0.9735 MB / 336.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.009656, allocations: 0 / 336.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.009657, allocations: 0 / 336.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.009664, allocations: 0 / 336.6 MB, free: 4.664 MB / 298.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.001813/0.01148, allocations: 1.153 MB / 337.7 MB, free: 3.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.01151, allocations: 8.031 kB / 337.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.01209, allocations: 176.3 kB / 337.9 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.01222, allocations: 193.6 kB / 338.1 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.01225, allocations: 50.38 kB / 338.1 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.01232, allocations: 68.33 kB / 338.2 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.01308, allocations: 0.7331 MB / 338.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01309, allocations: 192 / 338.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.01313, allocations: 28.38 kB / 339 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01314, allocations: 19.94 kB / 339 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/0.01386, allocations: 0.6023 MB / 339.6 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.01569, allocations: 1.78 MB / 341.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.01644, allocations: 0.6689 MB / 342 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.01672, allocations: 243.6 kB / 342.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.01683, allocations: 28.64 kB / 342.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.01685, allocations: 43.16 kB / 342.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.534e-06/0.01685, allocations: 4 kB / 342.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0008948/0.01775, allocations: 0.7046 MB / 343.1 MB, free: 14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.01779, allocations: 111.5 kB / 343.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01796, allocations: 248 kB / 343.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.01798, allocations: 37.7 kB / 343.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01809, allocations: 272.8 kB / 343.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.01819, allocations: 233.9 kB / 343.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.0183, allocations: 122.6 kB / 344.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.01839, allocations: 346.8 kB / 344.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.01865, allocations: 209.9 kB / 344.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.01896, allocations: 327 kB / 344.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.01954, allocations: 0.5185 MB / 345.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01954, allocations: 0 / 345.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007054/0.02025, allocations: 0.6336 MB / 346.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.02026, allocations: 11.88 kB / 346.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.02027, allocations: 4 kB / 346.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.02028, allocations: 4 kB / 346.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.02063, allocations: 159.8 kB / 346.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.02063, allocations: 4.188 kB / 346.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.02083, allocations: 79.53 kB / 346.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.02085, allocations: 20 kB / 346.4 MB, free: 10.58 MB / 314.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.0001391/0.02099, allocations: 189.7 kB / 346.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.02104, allocations: 39.7 kB / 346.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.02174, allocations: 0.6025 MB / 347.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.02175, allocations: 8 kB / 347.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.02175, allocations: 4 kB / 347.2 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.02176, allocations: 3.984 kB / 347.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.02292, allocations: 1.105 MB / 348.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02293, allocations: 0 / 348.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.02318, allocations: 127.8 kB / 348.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.02319, allocations: 8 kB / 348.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.02321, allocations: 15.98 kB / 348.5 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.02321, allocations: 4 kB / 348.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02321, allocations: 0 / 348.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.02417, allocations: 0.9745 MB / 349.4 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.02421, allocations: 55.59 kB / 349.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.02425, allocations: 16 kB / 349.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.02441, allocations: 23.98 kB / 349.5 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.02448, allocations: 52.5 kB / 349.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.0245, allocations: 16 kB / 349.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.02462, allocations: 181.2 kB / 349.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02462, allocations: 0 / 349.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.02496, allocations: 183.6 kB / 349.9 MB, free: 6.922 MB / 314.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.0001901/0.02515, allocations: 151.1 kB / 350.1 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006295/0.02578, allocations: 0.5052 MB / 350.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02578, allocations: 0 / 350.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.02604, allocations: 251.6 kB / 350.8 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.02638, allocations: 45.16 kB / 350.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.02763, allocations: 1.031 MB / 351.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.02777, allocations: 249.1 kB / 352.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.02791, allocations: 52.48 kB / 352.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02791, allocations: 0 / 352.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of Templates: time 0.006234/0.03414, allocations: 7.219 MB / 359.4 MB, free: 13.39 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.218880302272737]