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.001346/0.001346, allocations: 74.27 kB / 21.24 MB, free: 0.5547 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.001433/0.001433, allocations: 161.7 kB / 24.5 MB, free: 3.711 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 1.415/1.415, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.00157/0.00157, allocations: 56.05 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08804/0.08962, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005849/0.09546, allocations: 3.802 MB / 382.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.09848, allocations: 1.619 MB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.09882, allocations: 12 kB / 384.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.1013, allocations: 0.9801 MB / 385.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.102, allocations: 246.2 kB / 385.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.1037, allocations: 0.7239 MB / 386.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.1045, allocations: 0.6027 MB / 386.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007516/0.1052, allocations: 439.4 kB / 387.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.1057, allocations: 271 kB / 387.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.1061, allocations: 294.7 kB / 387.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.1062, allocations: 52 kB / 387.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.1068, allocations: 275.8 kB / 388.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1069, allocations: 139.5 kB / 388.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.1072, allocations: 246.8 kB / 388.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1083, allocations: 0.9495 MB / 389.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1083, allocations: 0 / 389.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1083, allocations: 0 / 389.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1083, allocations: 0 / 389.5 MB, free: 4.988 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.00367/0.112, allocations: 1.164 MB / 390.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.112, allocations: 8.031 kB / 390.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.1133, allocations: 184.3 kB / 390.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1135, allocations: 175.4 kB / 391 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.1135, allocations: 54.38 kB / 391.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1137, allocations: 76.31 kB / 391.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.115, allocations: 0.7289 MB / 391.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.115, allocations: 0 / 391.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.1151, allocations: 27.94 kB / 391.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1151, allocations: 16 kB / 391.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.1164, allocations: 0.6023 MB / 392.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.1196, allocations: 1.776 MB / 394.3 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.121, allocations: 0.6781 MB / 395 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.1215, allocations: 246.5 kB / 395.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.1217, allocations: 36.62 kB / 395.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1217, allocations: 43.25 kB / 395.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 1.954e-06/0.1217, allocations: 0 / 395.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00164/0.1234, allocations: 0.6969 MB / 396 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.1234, allocations: 119.5 kB / 396.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.1237, allocations: 255.9 kB / 396.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.1238, allocations: 37.7 kB / 396.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.124, allocations: 276.6 kB / 396.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.1242, allocations: 234 kB / 396.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.1244, allocations: 118.6 kB / 397 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1245, allocations: 346.8 kB / 397.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.125, allocations: 205.9 kB / 397.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.1256, allocations: 335.1 kB / 397.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1267, allocations: 0.5107 MB / 398.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1267, allocations: 4.031 kB / 398.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001346/0.128, allocations: 0.6297 MB / 399 MB, free: 11.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1281, allocations: 11.94 kB / 399.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1281, allocations: 0 / 399.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1281, allocations: 4.188 kB / 399.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/0.1288, allocations: 167.8 kB / 399.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1288, allocations: 4 kB / 399.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.1293, allocations: 67.55 kB / 399.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.1293, allocations: 27.98 kB / 399.3 MB, free: 10.89 MB / 366.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.000241/0.1296, allocations: 201.5 kB / 399.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1297, allocations: 35.77 kB / 399.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.131, allocations: 0.6026 MB / 400.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.131, allocations: 8 kB / 400.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.131, allocations: 0 / 400.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.131, allocations: 0 / 400.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.1331, allocations: 1.109 MB / 401.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1331, allocations: 7.938 kB / 401.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/0.1337, allocations: 127.9 kB / 401.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1337, allocations: 3.984 kB / 401.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.1338, allocations: 16 kB / 401.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.1338, allocations: 4 kB / 401.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1338, allocations: 3.984 kB / 401.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.1356, allocations: 0.9862 MB / 402.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1357, allocations: 43.67 kB / 402.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.1357, allocations: 12 kB / 402.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.1361, allocations: 27.97 kB / 402.5 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1362, allocations: 44.52 kB / 402.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/0.1363, allocations: 19.98 kB / 402.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1365, allocations: 185.2 kB / 402.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1365, allocations: 0 / 402.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005788/0.137, allocations: 183.7 kB / 402.9 MB, free: 7.215 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.000245/0.1373, allocations: 151 kB / 403.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.1384, allocations: 0.5013 MB / 403.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1384, allocations: 0 / 403.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.1389, allocations: 256 kB / 403.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.1394, allocations: 48.17 kB / 403.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.1415, allocations: 1.054 MB / 404.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1418, allocations: 245 kB / 405.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003303/0.1421, allocations: 75.34 kB / 405.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1423, allocations: 44.48 kB / 405.3 MB, free: 4.781 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1423, allocations: 3.938 kB / 405.3 MB, free: 4.777 MB / 366.1 MB Notification: Performance of Templates: time 0.01102/0.1533, allocations: 5.015 MB / 410.3 MB, free: 15.85 MB / 382.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 ida -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: 4.372343800030649]