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.001384/0.001384, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001041/0.001041, allocations: 145.1 kB / 24.54 MB, free: 36 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 0.9681/0.9681, allocations: 173.3 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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.014e-06/2.014e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.747e-05, allocations: 2.312 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004159/0.004186, allocations: 4.156 MB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.006665, allocations: 1.603 MB / 273.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.006916, allocations: 12 kB / 273.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.008295, allocations: 1.069 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.008784, allocations: 246.1 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.009979, allocations: 0.7666 MB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.01053, allocations: 0.6453 MB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007606/0.01129, allocations: 439.4 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.0117, allocations: 395.1 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.01196, allocations: 267.2 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.01201, allocations: 52 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.0124, allocations: 255.6 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.01246, allocations: 143.4 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.0126, allocations: 207.5 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.0132, allocations: 0.6657 MB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01321, allocations: 0 / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01321, allocations: 0 / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.01321, allocations: 0 / 278.9 MB, free: 11.48 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.001952/0.01517, allocations: 1.249 MB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.0152, allocations: 8.922 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.0159, allocations: 300 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.01605, allocations: 184.5 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.01608, allocations: 54.38 kB / 280.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.01617, allocations: 64.38 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.01688, allocations: 0.5936 MB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.0169, allocations: 192 / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.01694, allocations: 28.38 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.01695, allocations: 19.94 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.01746, allocations: 315.5 kB / 281.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.01944, allocations: 1.793 MB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/0.02033, allocations: 0.5718 MB / 284 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.02053, allocations: 160.3 kB / 284.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.553e-05/0.02061, allocations: 28.64 kB / 284.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.02063, allocations: 49.97 kB / 284.3 MB, free: 5.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.444e-06/0.02064, allocations: 0 / 284.3 MB, free: 5.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006501/0.02129, allocations: 473.7 kB / 284.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.02134, allocations: 115.4 kB / 284.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.02152, allocations: 286.6 kB / 285.1 MB, free: 4.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.02154, allocations: 37.7 kB / 285.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.02166, allocations: 319.4 kB / 285.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.02177, allocations: 234 kB / 285.7 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.02191, allocations: 132.4 kB / 285.8 MB, free: 4.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.02203, allocations: 0.5157 MB / 286.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.02221, allocations: 109.9 kB / 286.5 MB, free: 3.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.02244, allocations: 249.8 kB / 286.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.02283, allocations: 354.8 kB / 287 MB, free: 2.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02284, allocations: 4.031 kB / 287.1 MB, free: 2.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005606/0.0234, allocations: 472.9 kB / 287.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.02342, allocations: 18.69 kB / 287.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02342, allocations: 0 / 287.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.02344, allocations: 4 kB / 287.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.02381, allocations: 155.8 kB / 287.7 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.02382, allocations: 7.938 kB / 287.7 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.02402, allocations: 67.73 kB / 287.8 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.02405, allocations: 27.98 kB / 287.8 MB, free: 2.215 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.000132/0.02418, allocations: 188.5 kB / 288 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.02426, allocations: 63.7 kB / 288 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.02479, allocations: 441.1 kB / 288.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.02479, allocations: 8 kB / 288.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.0248, allocations: 0 / 288.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.0248, allocations: 3.984 kB / 288.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.02589, allocations: 0.975 MB / 289.5 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.02589, allocations: 4 kB / 289.5 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.02618, allocations: 119.9 kB / 289.6 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.02618, allocations: 4 kB / 289.6 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.0262, allocations: 16 kB / 289.6 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.02621, allocations: 4 kB / 289.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02621, allocations: 0 / 289.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1182/0.1444, allocations: 0.7622 MB / 290.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1445, allocations: 45.42 kB / 290.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.1445, allocations: 15.44 kB / 290.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.1448, allocations: 19.7 kB / 290.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.1449, allocations: 43.42 kB / 290.5 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.1449, allocations: 21.48 kB / 290.5 MB, free: 24.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.145, allocations: 205 kB / 290.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.145, allocations: 0 / 290.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.1455, allocations: 181 kB / 290.9 MB, free: 23.98 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.0002225/0.1457, allocations: 148.6 kB / 291 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.1463, allocations: 361.8 kB / 291.4 MB, free: 23.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1463, allocations: 0 / 291.4 MB, free: 23.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.1466, allocations: 193.5 kB / 291.6 MB, free: 23.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.147, allocations: 57.47 kB / 291.6 MB, free: 23.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1487, allocations: 1.001 MB / 292.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.1488, allocations: 123.1 kB / 292.7 MB, free: 23.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000223/0.149, allocations: 77.81 kB / 292.8 MB, free: 23.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1491, allocations: 46.19 kB / 292.9 MB, free: 23.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1491, allocations: 4 kB / 292.9 MB, free: 23.34 MB / 266.7 MB Notification: Performance of Templates: time 0.009164/0.1583, allocations: 4.935 MB / 297.8 MB, free: 22.77 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0567327341996133]