Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009419/0.0009419, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009306/0.0009306, allocations: 159.1 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9151/0.9151, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.244e-05, allocations: 5.125 kB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004203/0.004226, allocations: 4.156 MB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.006237, allocations: 1.677 MB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.006397, allocations: 8 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.007627, allocations: 1.065 MB / 279.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.007993, allocations: 254 kB / 280.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008927/0.008886, allocations: 0.7316 MB / 280.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007445/0.00963, allocations: 0.6336 MB / 281.5 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.01013, allocations: 439.4 kB / 282 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.0105, allocations: 379.2 kB / 282.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.01074, allocations: 259.3 kB / 282.6 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.0108, allocations: 52 kB / 282.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.01117, allocations: 283.5 kB / 282.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.01124, allocations: 131.5 kB / 283 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.01138, allocations: 215.4 kB / 283.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.01198, allocations: 0.6889 MB / 283.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01199, allocations: 0 / 283.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01199, allocations: 0 / 283.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.01199, allocations: 4 kB / 283.9 MB, free: 6.762 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.002071/0.01406, allocations: 1.261 MB / 285.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.0141, allocations: 15.98 kB / 285.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009003/0.015, allocations: 296 kB / 285.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.01515, allocations: 192.5 kB / 285.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.01519, allocations: 54.38 kB / 285.7 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.01526, allocations: 68.38 kB / 285.8 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.01593, allocations: 0.5819 MB / 286.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.01595, allocations: 192 / 286.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.01599, allocations: 32.38 kB / 286.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.01601, allocations: 19.94 kB / 286.4 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.0165, allocations: 315.5 kB / 286.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.01862, allocations: 1.813 MB / 288.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.01929, allocations: 0.5709 MB / 289.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.01948, allocations: 157.3 kB / 289.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.902e-05/0.01958, allocations: 32.62 kB / 289.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.01961, allocations: 49.98 kB / 289.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.884e-06/0.01961, allocations: 0 / 289.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006643/0.02028, allocations: 469.7 kB / 289.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.02033, allocations: 111.5 kB / 289.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.02051, allocations: 294.5 kB / 290.2 MB, free: 228 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.02053, allocations: 41.83 kB / 290.3 MB, free: 180 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0979/0.1184, allocations: 317.5 kB / 290.6 MB, free: 28.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.1186, allocations: 232.3 kB / 290.8 MB, free: 27.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1188, allocations: 129.3 kB / 290.9 MB, free: 27.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.1189, allocations: 0.5192 MB / 291.4 MB, free: 27.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.1191, allocations: 107.4 kB / 291.6 MB, free: 27.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1193, allocations: 255.4 kB / 291.8 MB, free: 27.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.1197, allocations: 351.8 kB / 292.1 MB, free: 27.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1198, allocations: 1.625 kB / 292.1 MB, free: 27.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006428/0.1204, allocations: 478.2 kB / 292.6 MB, free: 27.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1204, allocations: 12.69 kB / 292.6 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1204, allocations: 1.625 kB / 292.6 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1204, allocations: 4.875 kB / 292.6 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.1209, allocations: 149.6 kB / 292.8 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1209, allocations: 10.41 kB / 292.8 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.1211, allocations: 63.25 kB / 292.8 MB, free: 27.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.1211, allocations: 27.91 kB / 292.9 MB, free: 27.1 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.0001301/0.1213, allocations: 192 kB / 293.1 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.1213, allocations: 59.7 kB / 293.1 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/0.122, allocations: 438.2 kB / 293.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.122, allocations: 6.656 kB / 293.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.122, allocations: 5.781 kB / 293.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.122, allocations: 5.016 kB / 293.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1231, allocations: 0.9859 MB / 294.6 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1231, allocations: 1.25 kB / 294.6 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.1234, allocations: 119 kB / 294.7 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1234, allocations: 3.438 kB / 294.7 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1234, allocations: 18.91 kB / 294.7 MB, free: 26.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1234, allocations: 2.344 kB / 294.7 MB, free: 26.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1234, allocations: 2.5 kB / 294.7 MB, free: 26.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/0.1242, allocations: 0.7673 MB / 295.5 MB, free: 25.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.1242, allocations: 39.22 kB / 295.5 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.1242, allocations: 18.3 kB / 295.5 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1244, allocations: 20.84 kB / 295.5 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.1245, allocations: 43.19 kB / 295.6 MB, free: 25.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.1245, allocations: 19.06 kB / 295.6 MB, free: 25.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1246, allocations: 204.9 kB / 295.8 MB, free: 25.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1246, allocations: 0 / 295.8 MB, free: 25.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004029/0.125, allocations: 183.3 kB / 296 MB, free: 25.62 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.0002007/0.1252, allocations: 158.4 kB / 296.1 MB, free: 25.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.1257, allocations: 358.6 kB / 296.5 MB, free: 25.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1257, allocations: 0 / 296.5 MB, free: 25.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.126, allocations: 197.8 kB / 296.7 MB, free: 25.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1263, allocations: 64.73 kB / 296.7 MB, free: 25.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1277, allocations: 0.9543 MB / 297.7 MB, free: 24.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.253e-05/0.1278, allocations: 123.8 kB / 297.8 MB, free: 24.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.128, allocations: 76.47 kB / 297.9 MB, free: 24.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1281, allocations: 47.47 kB / 297.9 MB, free: 24.74 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1281, allocations: 0 / 297.9 MB, free: 24.74 MB / 266.7 MB Notification: Performance of Templates: time 0.007792/0.1359, allocations: 5.057 MB / 303 MB, free: 23.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8788914170581847]