Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008953/0.0008953, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004617/0.004617, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8792/0.8792, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.633e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004886/0.004913, allocations: 3.812 MB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.007642, allocations: 1.623 MB / 331.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.00786, allocations: 19.94 kB / 331.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.009796, allocations: 0.9908 MB / 332.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.01034, allocations: 242.1 kB / 332.5 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.01181, allocations: 0.7277 MB / 333.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.01243, allocations: 0.6333 MB / 333.8 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006838/0.01311, allocations: 431.4 kB / 334.2 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.01363, allocations: 387.1 kB / 334.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.01398, allocations: 255.3 kB / 334.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.01406, allocations: 52 kB / 334.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.01454, allocations: 283.5 kB / 335.2 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.01463, allocations: 131.5 kB / 335.3 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.01483, allocations: 207.4 kB / 335.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.0159, allocations: 0.9774 MB / 336.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01591, allocations: 0 / 336.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01591, allocations: 0 / 336.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.01592, allocations: 0 / 336.5 MB, free: 4.59 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.003067/0.01899, allocations: 1.161 MB / 337.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.01904, allocations: 15.92 kB / 337.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.02009, allocations: 172.4 kB / 337.9 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.02033, allocations: 189.6 kB / 338 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.02039, allocations: 50.38 kB / 338.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.0205, allocations: 68.33 kB / 338.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.0219, allocations: 0.7292 MB / 338.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.02193, allocations: 4.172 kB / 338.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.02198, allocations: 28.38 kB / 338.9 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.02199, allocations: 19.94 kB / 338.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.02273, allocations: 0.5985 MB / 339.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.02463, allocations: 1.78 MB / 341.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.0254, allocations: 0.6646 MB / 342 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.02569, allocations: 251.6 kB / 342.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.02579, allocations: 24.64 kB / 342.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.02582, allocations: 43.16 kB / 342.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.014e-06/0.02582, allocations: 4 kB / 342.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.000911/0.02673, allocations: 0.7086 MB / 343 MB, free: 13.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.02678, allocations: 119.4 kB / 343.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.02695, allocations: 244 kB / 343.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.02698, allocations: 37.7 kB / 343.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.02709, allocations: 272.6 kB / 343.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.0272, allocations: 237.9 kB / 343.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.02732, allocations: 122.6 kB / 344 MB, free: 12.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.02741, allocations: 346.8 kB / 344.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.02767, allocations: 213.8 kB / 344.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.028, allocations: 331.1 kB / 344.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.02858, allocations: 0.5185 MB / 345.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02858, allocations: 0 / 345.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000711/0.0293, allocations: 0.6297 MB / 346 MB, free: 10.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.02931, allocations: 7.938 kB / 346 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.02932, allocations: 4.188 kB / 346 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.02933, allocations: 8 kB / 346.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.02968, allocations: 155.8 kB / 346.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.02969, allocations: 4 kB / 346.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.02988, allocations: 75.53 kB / 346.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.0299, allocations: 23.98 kB / 346.3 MB, free: 10.49 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.0001418/0.03005, allocations: 185.7 kB / 346.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.0301, allocations: 43.7 kB / 346.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.03082, allocations: 0.6026 MB / 347.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.03083, allocations: 4 kB / 347.1 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.03084, allocations: 4 kB / 347.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.03084, allocations: 3.984 kB / 347.1 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.03203, allocations: 1.112 MB / 348.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.03203, allocations: 0 / 348.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.0323, allocations: 127.8 kB / 348.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.03231, allocations: 4 kB / 348.4 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.03233, allocations: 15.98 kB / 348.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.03233, allocations: 4 kB / 348.4 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03233, allocations: 0 / 348.4 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009614/0.03329, allocations: 0.9823 MB / 349.4 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.03333, allocations: 51.59 kB / 349.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.03337, allocations: 12 kB / 349.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.03353, allocations: 27.97 kB / 349.5 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.03361, allocations: 44.58 kB / 349.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.03363, allocations: 16 kB / 349.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.03373, allocations: 181.2 kB / 349.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03373, allocations: 4.062 kB / 349.7 MB, free: 7.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.03407, allocations: 183.6 kB / 349.9 MB, free: 6.832 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.0002167/0.03429, allocations: 159 kB / 350.1 MB, free: 6.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.03496, allocations: 0.5052 MB / 350.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.03497, allocations: 384 / 350.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.03524, allocations: 251.6 kB / 350.8 MB, free: 5.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.03558, allocations: 44.66 kB / 350.8 MB, free: 5.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.03677, allocations: 1.027 MB / 351.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.03692, allocations: 241.1 kB / 352.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.03706, allocations: 60.48 kB / 352.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03706, allocations: 0 / 352.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of Templates: time 0.005957/0.04302, allocations: 7.215 MB / 359.4 MB, free: 13.29 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.268366573378444]