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.00116/0.00116, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001926/0.003086, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001043/0.001043, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.002137, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8706/0.8706, allocations: 173.4 MB / 186 MB, free: 7.547 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1347/1.005, allocations: 52.5 MB / 238.5 MB, free: 7.617 MB / 234.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 1.293e-06/1.293e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.2e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.007283/0.007295, allocations: 4.144 MB / 243.9 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.01165, allocations: 1.65 MB / 245.5 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.01214, allocations: 12.69 kB / 245.5 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004302/0.01644, allocations: 1.078 MB / 246.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.01697, allocations: 228.1 kB / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.01839, allocations: 0.7665 MB / 247.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.01897, allocations: 0.6454 MB / 248.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.01957, allocations: 446.2 kB / 248.7 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.02005, allocations: 408.1 kB / 249.1 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.02041, allocations: 265 kB / 249.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.02048, allocations: 52 kB / 249.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.02097, allocations: 267.6 kB / 249.7 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.02106, allocations: 95.69 kB / 249.8 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.02124, allocations: 172.3 kB / 249.9 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.022, allocations: 0.6001 MB / 250.5 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.02201, allocations: 0 / 250.5 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.02201, allocations: 9.906 kB / 250.5 MB, free: 11.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.02202, allocations: 0 / 250.5 MB, free: 11.55 MB / 250.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.00304/0.02506, allocations: 1.366 MB / 251.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.02509, allocations: 12.03 kB / 251.9 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.02631, allocations: 304.4 kB / 252.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.02646, allocations: 177.7 kB / 252.4 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.02651, allocations: 54.38 kB / 252.4 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/0.0266, allocations: 64.38 kB / 252.5 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.0273, allocations: 0.5343 MB / 253 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.02732, allocations: 8.172 kB / 253 MB, free: 8.953 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.02738, allocations: 28.38 kB / 253.1 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.02739, allocations: 23.94 kB / 253.1 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.02766, allocations: 193 kB / 253.3 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.02907, allocations: 1.375 MB / 254.7 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.02952, allocations: 481.9 kB / 255.1 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.02962, allocations: 115.6 kB / 255.2 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.718e-05/0.02969, allocations: 28.64 kB / 255.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.0297, allocations: 43.16 kB / 255.3 MB, free: 6.609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 1.593e-06/0.02971, allocations: 0 / 255.3 MB, free: 6.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003418/0.03005, allocations: 313.8 kB / 255.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.03008, allocations: 85.77 kB / 255.7 MB, free: 6.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.03019, allocations: 227.2 kB / 255.9 MB, free: 5.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.03022, allocations: 37.7 kB / 256 MB, free: 5.914 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.0303, allocations: 268.6 kB / 256.2 MB, free: 5.645 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.03041, allocations: 229.9 kB / 256.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.03051, allocations: 122.7 kB / 256.6 MB, free: 5.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.03058, allocations: 346.7 kB / 256.9 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.03066, allocations: 69.95 kB / 257 MB, free: 4.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.03079, allocations: 187.1 kB / 257.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.03102, allocations: 286.1 kB / 257.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.03103, allocations: 4.031 kB / 257.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0002861/0.03131, allocations: 309.2 kB / 257.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.03132, allocations: 8 kB / 257.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.03133, allocations: 0 / 257.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.03134, allocations: 7.938 kB / 257.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.03172, allocations: 179.9 kB / 257.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.03173, allocations: 12 kB / 257.9 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.03188, allocations: 63.55 kB / 258 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.0319, allocations: 16 kB / 258 MB, free: 3.77 MB / 250.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 9.933e-05/0.032, allocations: 149.7 kB / 258.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.03206, allocations: 43.97 kB / 258.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.03238, allocations: 329.1 kB / 258.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.03238, allocations: 7.938 kB / 258.5 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.03239, allocations: 4 kB / 258.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.03239, allocations: 7.969 kB / 258.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.03305, allocations: 0.6288 MB / 259.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.03305, allocations: 0 / 259.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.03333, allocations: 143.8 kB / 259.3 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.03336, allocations: 51.52 kB / 259.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.03336, allocations: 0 / 259.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.03338, allocations: 15.94 kB / 259.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.03339, allocations: 4 kB / 259.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03339, allocations: 0 / 259.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.03377, allocations: 0.5217 MB / 259.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.03381, allocations: 12 kB / 259.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.03395, allocations: 23.98 kB / 259.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.034, allocations: 44.61 kB / 260 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.03402, allocations: 15.98 kB / 260 MB, free: 1.727 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.03407, allocations: 70.78 kB / 260.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03407, allocations: 0 / 260.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.03436, allocations: 183.6 kB / 260.3 MB, free: 1.477 MB / 250.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.0001423/0.0345, allocations: 132.2 kB / 260.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.03478, allocations: 293.1 kB / 260.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.03479, allocations: 8 kB / 260.7 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.03495, allocations: 199 kB / 260.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.0353, allocations: 409.3 kB / 261.3 MB, free: 392 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/0.03998, allocations: 1.05 MB / 262.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.04005, allocations: 124.8 kB / 262.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.04026, allocations: 80.12 kB / 262.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.04044, allocations: 135.3 kB / 262.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04044, allocations: 0 / 262.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of Templates: time 0.007412/0.04785, allocations: 5.841 MB / 268.5 MB, free: 9.191 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5078284023329616]