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.0009477/0.0009477, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009059/0.0009059, allocations: 143.1 kB / 24.97 MB, free: 8.781 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.8893/0.8893, allocations: 173.3 MB / 201.5 MB, free: 9.336 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 1.553e-06/1.553e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.634e-05, allocations: 2.312 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003599/0.003616, allocations: 4.152 MB / 272.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.005599, allocations: 1.592 MB / 273.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.005796, allocations: 12 kB / 273.8 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.007074, allocations: 1.069 MB / 274.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.007468, allocations: 242.1 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009482/0.008416, allocations: 0.7627 MB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.008914, allocations: 0.6492 MB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.009431, allocations: 431.4 kB / 277 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.009781, allocations: 399.1 kB / 277.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.01006, allocations: 263.2 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.01012, allocations: 52 kB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.01052, allocations: 255.6 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.01059, allocations: 135.4 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.01074, allocations: 211.5 kB / 278.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.01142, allocations: 0.6773 MB / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01143, allocations: 0 / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01143, allocations: 0 / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.01144, allocations: 0 / 278.9 MB, free: 11.81 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.002105/0.01354, allocations: 1.241 MB / 280.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.01358, allocations: 12.86 kB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/0.01444, allocations: 296.1 kB / 280.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.01461, allocations: 192.5 kB / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.01465, allocations: 50.38 kB / 280.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.01473, allocations: 68.38 kB / 280.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.01541, allocations: 0.5858 MB / 281.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.01543, allocations: 4.125 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.01547, allocations: 32.38 kB / 281.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.01548, allocations: 19.94 kB / 281.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.01596, allocations: 311.6 kB / 281.7 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.01787, allocations: 1.793 MB / 283.5 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.01854, allocations: 0.5756 MB / 284.1 MB, free: 6.473 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.01874, allocations: 164.7 kB / 284.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.595e-05/0.0188, allocations: 20.64 kB / 284.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.01883, allocations: 50.02 kB / 284.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.713e-06/0.01883, allocations: 0 / 284.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006649/0.0195, allocations: 473.6 kB / 284.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.01955, allocations: 111.5 kB / 284.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.01973, allocations: 290.7 kB / 285.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.01976, allocations: 37.7 kB / 285.2 MB, free: 5.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01989, allocations: 323.3 kB / 285.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.02001, allocations: 230 kB / 285.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.02013, allocations: 128.3 kB / 285.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.02027, allocations: 0.5235 MB / 286.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.02044, allocations: 101.9 kB / 286.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.02068, allocations: 249.8 kB / 286.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.02108, allocations: 358.8 kB / 287.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02108, allocations: 0 / 287.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005588/0.02164, allocations: 480.9 kB / 287.6 MB, free: 2.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.02166, allocations: 14.89 kB / 287.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.02166, allocations: 4.188 kB / 287.6 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.02168, allocations: 8 kB / 287.6 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.02206, allocations: 151.7 kB / 287.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.02206, allocations: 4 kB / 287.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.02226, allocations: 67.55 kB / 287.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.02229, allocations: 24 kB / 287.8 MB, free: 2.555 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.0001265/0.02242, allocations: 188.4 kB / 288 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.02249, allocations: 63.7 kB / 288.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.02303, allocations: 445.1 kB / 288.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.02303, allocations: 11.94 kB / 288.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.02304, allocations: 0 / 288.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.02304, allocations: 3.984 kB / 288.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.02412, allocations: 0.9751 MB / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02412, allocations: 0 / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.0244, allocations: 115.9 kB / 289.6 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0244, allocations: 4 kB / 289.6 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.02442, allocations: 15.98 kB / 289.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.02443, allocations: 7.938 kB / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02443, allocations: 0 / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09704/0.1215, allocations: 0.7645 MB / 290.4 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1216, allocations: 46.17 kB / 290.5 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1216, allocations: 12.69 kB / 290.5 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.1219, allocations: 23.03 kB / 290.5 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.1219, allocations: 42.28 kB / 290.5 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.122, allocations: 19.44 kB / 290.6 MB, free: 24.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1221, allocations: 201.9 kB / 290.7 MB, free: 24.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1221, allocations: 2.031 kB / 290.8 MB, free: 24.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004384/0.1225, allocations: 181.6 kB / 290.9 MB, free: 24.67 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.0001987/0.1227, allocations: 153.6 kB / 291.1 MB, free: 24.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005521/0.1233, allocations: 364.5 kB / 291.4 MB, free: 24.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1233, allocations: 0 / 291.4 MB, free: 24.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.1235, allocations: 188.1 kB / 291.6 MB, free: 24.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1238, allocations: 56.16 kB / 291.7 MB, free: 24.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1253, allocations: 0.9939 MB / 292.7 MB, free: 24.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.188e-05/0.1254, allocations: 126.9 kB / 292.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.1256, allocations: 82.83 kB / 292.9 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1257, allocations: 45.58 kB / 292.9 MB, free: 24.04 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1257, allocations: 0 / 292.9 MB, free: 24.04 MB / 266.7 MB Notification: Performance of Templates: time 0.007658/0.1334, allocations: 4.93 MB / 297.8 MB, free: 23.49 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: 2.849538811016828]