Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008776/0.0008776, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.000897/0.000897, allocations: 164.2 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8906/0.8906, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.551e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003868/0.003893, allocations: 3.734 MB / 303.4 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.006018, allocations: 1.585 MB / 305 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.006267, allocations: 12 kB / 305 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.007537, allocations: 0.9874 MB / 306 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.007995, allocations: 246.1 kB / 306.3 MB, free: 300 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009485/0.008944, allocations: 0.7199 MB / 307 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.009384, allocations: 0.6527 MB / 307.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.00988, allocations: 427.4 kB / 308.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.01023, allocations: 399.1 kB / 308.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.01048, allocations: 255.3 kB / 308.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.01054, allocations: 56 kB / 308.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.01087, allocations: 255.6 kB / 309 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.01094, allocations: 131.4 kB / 309.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.01107, allocations: 211.5 kB / 309.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009306/0.012, allocations: 0.9462 MB / 310.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.012, allocations: 0 / 310.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.012, allocations: 3.938 kB / 310.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.01201, allocations: 0 / 310.3 MB, free: 12.26 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.001894/0.01391, allocations: 1.141 MB / 311.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.01394, allocations: 15.98 kB / 311.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/0.0145, allocations: 176.4 kB / 311.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.01465, allocations: 189.6 kB / 311.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.01468, allocations: 50.38 kB / 311.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.01476, allocations: 68.36 kB / 311.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.01557, allocations: 0.733 MB / 312.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.01559, allocations: 192 / 312.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.01563, allocations: 32.38 kB / 312.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.01564, allocations: 19.94 kB / 312.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.0164, allocations: 0.5946 MB / 313.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.01834, allocations: 1.768 MB / 315.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/0.01914, allocations: 0.6644 MB / 315.7 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.01944, allocations: 243.6 kB / 316 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.01952, allocations: 20.64 kB / 316 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.01955, allocations: 43.16 kB / 316 MB, free: 6.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.993e-06/0.01955, allocations: 0 / 316 MB, free: 6.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009553/0.02051, allocations: 0.7085 MB / 316.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.02056, allocations: 107.5 kB / 316.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.02073, allocations: 248 kB / 317.1 MB, free: 5.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.02076, allocations: 37.7 kB / 317.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.02104, allocations: 272.6 kB / 317.4 MB, free: 4.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.02116, allocations: 230 kB / 317.6 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.02127, allocations: 118.6 kB / 317.7 MB, free: 4.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.02137, allocations: 342.8 kB / 318.1 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.02164, allocations: 214 kB / 318.3 MB, free: 4.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.02197, allocations: 331 kB / 318.6 MB, free: 3.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/0.02257, allocations: 0.5107 MB / 319.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02257, allocations: 0 / 319.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007275/0.0233, allocations: 0.6338 MB / 319.7 MB, free: 2.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.02331, allocations: 11.94 kB / 319.8 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/0.02332, allocations: 0 / 319.8 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.02333, allocations: 4 kB / 319.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.02369, allocations: 159.8 kB / 319.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.0237, allocations: 11.98 kB / 319.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.02391, allocations: 71.53 kB / 320 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.02394, allocations: 24 kB / 320 MB, free: 2.246 MB / 298.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.0001498/0.02409, allocations: 185.7 kB / 320.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.02414, allocations: 43.69 kB / 320.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007223/0.02486, allocations: 0.6142 MB / 320.9 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.02487, allocations: 8 kB / 320.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02487, allocations: 0 / 320.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02488, allocations: 3.984 kB / 320.9 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.02608, allocations: 1.097 MB / 322 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02608, allocations: 4 kB / 322 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.02636, allocations: 135.8 kB / 322.1 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.02636, allocations: 4 kB / 322.1 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.02638, allocations: 12 kB / 322.1 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.02638, allocations: 4 kB / 322.1 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02638, allocations: 0 / 322.1 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.02743, allocations: 0.9784 MB / 323.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.02747, allocations: 47.61 kB / 323.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.02751, allocations: 12 kB / 323.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.02769, allocations: 27.97 kB / 323.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.02776, allocations: 40.58 kB / 323.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.02778, allocations: 23.98 kB / 323.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.0279, allocations: 181.2 kB / 323.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0279, allocations: 0 / 323.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.02826, allocations: 183.7 kB / 323.6 MB, free: 14.59 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.0002163/0.02848, allocations: 147 kB / 323.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.02917, allocations: 0.5052 MB / 324.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02917, allocations: 0 / 324.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.02962, allocations: 248 kB / 324.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.03, allocations: 52.72 kB / 324.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.03136, allocations: 1.059 MB / 325.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.03152, allocations: 244.9 kB / 325.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.03166, allocations: 56.48 kB / 325.9 MB, free: 12.22 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03167, allocations: 3.938 kB / 325.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of Templates: time 0.007587/0.03925, allocations: 6.961 MB / 332.9 MB, free: 5.246 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.267785642296076]