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.001916/0.001916, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00224/0.00224, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.148/2.148, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002173/0.002173, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.008706/0.3582, allocations: 3.8 MB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.3731, allocations: 1.623 MB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.3734, allocations: 12 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.3766, allocations: 0.945 MB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009297/0.3776, allocations: 242.2 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.3878, allocations: 0.7158 MB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.3892, allocations: 0.6144 MB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003375/0.3926, allocations: 439.2 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005233/0.3931, allocations: 271 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.3937, allocations: 334.6 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3938, allocations: 52 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000878/0.3947, allocations: 291.8 kB / 441.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3948, allocations: 127.5 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.3951, allocations: 250.8 kB / 442 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3966, allocations: 0.9486 MB / 443 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3966, allocations: 4 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3966, allocations: 4 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3967, allocations: 0 / 443 MB, free: 12.05 MB / 350.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.006266/0.4029, allocations: 1.153 MB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.403, allocations: 12.03 kB / 444.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.4054, allocations: 180.4 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.4058, allocations: 186.4 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.4058, allocations: 54.31 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.406, allocations: 68.33 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.4082, allocations: 0.7289 MB / 445.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.4082, allocations: 7.922 kB / 445.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.4083, allocations: 32 kB / 445.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.4084, allocations: 16 kB / 445.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.4107, allocations: 0.6023 MB / 446 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/0.4162, allocations: 1.771 MB / 447.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.4185, allocations: 0.6735 MB / 448.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/0.4194, allocations: 261.5 kB / 448.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.4196, allocations: 24.64 kB / 448.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.4196, allocations: 39.22 kB / 448.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.607e-06/0.4196, allocations: 0 / 448.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002692/0.4223, allocations: 0.7046 MB / 449.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4224, allocations: 115.5 kB / 449.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.4229, allocations: 247.9 kB / 449.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.4229, allocations: 33.7 kB / 449.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.4232, allocations: 272.7 kB / 450.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.4235, allocations: 234 kB / 450.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.4238, allocations: 122.6 kB / 450.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.424, allocations: 342.8 kB / 450.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.4249, allocations: 214 kB / 451 MB, free: 3.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000958/0.4258, allocations: 327 kB / 451.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.4276, allocations: 0.5264 MB / 451.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4276, allocations: 0 / 451.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002232/0.4298, allocations: 0.6337 MB / 452.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4298, allocations: 12 kB / 452.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4298, allocations: 0 / 452.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4298, allocations: 4 kB / 452.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.4312, allocations: 155.8 kB / 452.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.4312, allocations: 8 kB / 452.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.432, allocations: 71.53 kB / 452.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.4321, allocations: 23.98 kB / 452.8 MB, free: 1.969 MB / 350.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.0003877/0.4325, allocations: 193.7 kB / 452.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.4327, allocations: 35.77 kB / 453 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.4349, allocations: 0.6025 MB / 453.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4349, allocations: 8 kB / 453.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.435, allocations: 0 / 453.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.435, allocations: 3.984 kB / 453.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.4386, allocations: 1.109 MB / 454.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4386, allocations: 0 / 454.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.4398, allocations: 131.8 kB / 454.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.4398, allocations: 0 / 454.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.4399, allocations: 23.92 kB / 454.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.4399, allocations: 3.938 kB / 454.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4399, allocations: 0 / 454.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.4428, allocations: 0.9862 MB / 455.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.443, allocations: 47.59 kB / 455.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4431, allocations: 16 kB / 455.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.4438, allocations: 31.91 kB / 455.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4439, allocations: 44.52 kB / 456 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.444, allocations: 24.06 kB / 456 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002956/0.4443, allocations: 180.5 kB / 456.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4443, allocations: 0 / 456.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001039/0.4453, allocations: 179.7 kB / 456.4 MB, free: 14.29 MB / 366.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.0003688/0.4457, allocations: 151 kB / 456.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.4477, allocations: 0.5092 MB / 457 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4477, allocations: 3.938 kB / 457 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/0.4486, allocations: 243.6 kB / 457.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.4495, allocations: 44.66 kB / 457.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.4531, allocations: 1.047 MB / 458.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.4536, allocations: 249.1 kB / 458.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006254/0.4542, allocations: 71.34 kB / 458.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.4544, allocations: 47.42 kB / 458.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4544, allocations: 4 kB / 458.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.02297/0.4774, allocations: 5.874 MB / 464.6 MB, free: 6.09 MB / 366.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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: 6.9376560219971]