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.000884/0.000884, allocations: 82.17 kB / 21.42 MB, free: 3.082 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.0008457/0.0008457, allocations: 153.7 kB / 24.81 MB, free: 8.875 MB / 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.9206/0.9206, allocations: 173.4 MB / 201.5 MB, free: 8.312 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.114e-06/2.114e-06, allocations: 0 / 268.4 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.098e-05, allocations: 2.312 kB / 268.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005269/0.00529, allocations: 4.069 MB / 272.5 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.008091, allocations: 1.576 MB / 274.1 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.008374, allocations: 12 kB / 274.1 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.01015, allocations: 1.037 MB / 275.1 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005805/0.01073, allocations: 246 kB / 275.4 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.01209, allocations: 0.7471 MB / 276.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006976/0.01278, allocations: 0.657 MB / 276.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.0133, allocations: 439.3 kB / 277.2 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.01369, allocations: 391.2 kB / 277.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.01395, allocations: 271.2 kB / 277.8 MB, free: 340 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.014, allocations: 52 kB / 277.9 MB, free: 288 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.01436, allocations: 255.5 kB / 278.1 MB, free: 32 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.236e-05/0.01444, allocations: 139.5 kB / 278.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.01458, allocations: 211.5 kB / 278.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.01518, allocations: 0.6617 MB / 279.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01518, allocations: 4 kB / 279.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01518, allocations: 0 / 279.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.01519, allocations: 0 / 279.1 MB, free: 15.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.001844/0.01703, allocations: 1.256 MB / 280.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.01706, allocations: 8.031 kB / 280.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.01775, allocations: 296.1 kB / 280.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.01788, allocations: 180.5 kB / 280.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.01791, allocations: 58.38 kB / 280.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/0.01799, allocations: 72.34 kB / 281 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.01854, allocations: 0.5388 MB / 281.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01856, allocations: 192 / 281.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.01859, allocations: 24.38 kB / 281.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.01861, allocations: 19.94 kB / 281.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.01891, allocations: 244.9 kB / 281.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.02072, allocations: 1.747 MB / 283.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.02126, allocations: 0.5347 MB / 284.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.02139, allocations: 133.3 kB / 284.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.657e-05/0.02146, allocations: 28.61 kB / 284.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.02148, allocations: 46.05 kB / 284.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.744e-06/0.02148, allocations: 0 / 284.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0004919/0.02197, allocations: 417.5 kB / 284.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.02202, allocations: 111.5 kB / 284.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.02217, allocations: 286.5 kB / 285.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.02219, allocations: 41.83 kB / 285.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.02231, allocations: 315.3 kB / 285.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.02243, allocations: 238 kB / 285.7 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.02256, allocations: 132.2 kB / 285.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.02268, allocations: 0.5234 MB / 286.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.02279, allocations: 81.92 kB / 286.4 MB, free: 7.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.02296, allocations: 233.6 kB / 286.6 MB, free: 7.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.02325, allocations: 302.8 kB / 286.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02325, allocations: 4 kB / 286.9 MB, free: 6.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004262/0.02368, allocations: 424.9 kB / 287.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.02369, allocations: 4 kB / 287.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.0237, allocations: 3.938 kB / 287.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.02371, allocations: 8.188 kB / 287.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.02405, allocations: 151.8 kB / 287.5 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.02406, allocations: 4 kB / 287.5 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.02424, allocations: 67.55 kB / 287.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.02426, allocations: 19.98 kB / 287.6 MB, free: 6.199 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.0001203/0.02438, allocations: 192.4 kB / 287.8 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.02445, allocations: 63.77 kB / 287.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.02486, allocations: 409 kB / 288.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02487, allocations: 8 kB / 288.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.02487, allocations: 0 / 288.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.02487, allocations: 3.984 kB / 288.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008693/0.02574, allocations: 0.8701 MB / 289.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02574, allocations: 8 kB / 289.1 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.02601, allocations: 119.8 kB / 289.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02601, allocations: 4 kB / 289.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.02603, allocations: 15.98 kB / 289.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.02604, allocations: 4 kB / 289.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02604, allocations: 0 / 289.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.02658, allocations: 0.6975 MB / 290 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.02662, allocations: 51.56 kB / 290 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.02666, allocations: 15.94 kB / 290.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.02682, allocations: 28.02 kB / 290.1 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.02687, allocations: 40.58 kB / 290.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.02689, allocations: 12 kB / 290.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.28e-05/0.02697, allocations: 193.1 kB / 290.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02697, allocations: 0 / 290.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.02731, allocations: 183.6 kB / 290.5 MB, free: 3.242 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.0001643/0.02748, allocations: 149 kB / 290.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.02781, allocations: 315 kB / 291 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.02781, allocations: 7.938 kB / 291 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.02797, allocations: 176.6 kB / 291.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.02827, allocations: 66.59 kB / 291.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.02953, allocations: 0.9723 MB / 292.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.435e-05/0.02961, allocations: 128.8 kB / 292.3 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.02983, allocations: 75.34 kB / 292.4 MB, free: 1.297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.03002, allocations: 150.2 kB / 292.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03002, allocations: 0 / 292.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of Templates: time 0.007492/0.03751, allocations: 5.451 MB / 298 MB, free: 11.78 MB / 282.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: 2.643200454302132]