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.0009801/0.0009801, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001115/0.001115, allocations: 168.2 kB / 25.7 MB, free: 8.434 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.9154/0.9154, allocations: 158.6 MB / 187.6 MB, free: 2.789 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 2.455e-06/2.455e-06, allocations: 3.984 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.232e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003733/0.003755, allocations: 4.034 MB / 255.6 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.005776, allocations: 1.678 MB / 257.2 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.005922, allocations: 12 kB / 257.3 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.007118, allocations: 1.069 MB / 258.3 MB, free: 444 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.007491, allocations: 254 kB / 258.6 MB, free: 188 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.008379, allocations: 0.7316 MB / 259.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.008784, allocations: 0.6453 MB / 259.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.009249, allocations: 465.4 kB / 260.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.009593, allocations: 399.1 kB / 260.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.00985, allocations: 259.3 kB / 261 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.009902, allocations: 52 kB / 261.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.01023, allocations: 255.6 kB / 261.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.01031, allocations: 139.4 kB / 261.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.01044, allocations: 207.5 kB / 261.7 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.01098, allocations: 0.6656 MB / 262.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01098, allocations: 0 / 262.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01098, allocations: 0 / 262.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.01099, allocations: 0 / 262.3 MB, free: 12.38 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.001661/0.01265, allocations: 1.163 MB / 263.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.01268, allocations: 15.98 kB / 263.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.01333, allocations: 312.2 kB / 263.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.01345, allocations: 173.7 kB / 264 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.01348, allocations: 50.38 kB / 264.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.01355, allocations: 68.38 kB / 264.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.01403, allocations: 0.5305 MB / 264.6 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.01404, allocations: 4.141 kB / 264.7 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.01408, allocations: 28.38 kB / 264.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.01409, allocations: 19.94 kB / 264.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.01434, allocations: 205 kB / 264.9 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.0159, allocations: 1.364 MB / 266.3 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.01637, allocations: 478 kB / 266.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.01649, allocations: 115.7 kB / 266.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.197e-05/0.01657, allocations: 24.64 kB / 266.9 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.01659, allocations: 39.22 kB / 266.9 MB, free: 7.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 1.974e-06/0.0166, allocations: 0 / 266.9 MB, free: 7.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003684/0.01696, allocations: 321.8 kB / 267.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.01701, allocations: 115.5 kB / 267.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.01714, allocations: 223.3 kB / 267.5 MB, free: 6.977 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.01716, allocations: 37.7 kB / 267.6 MB, free: 6.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01727, allocations: 260.6 kB / 267.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.01737, allocations: 233.9 kB / 268.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.01748, allocations: 126.5 kB / 268.2 MB, free: 6.316 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.01757, allocations: 346.7 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.01765, allocations: 65.97 kB / 268.6 MB, free: 5.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.01779, allocations: 191.1 kB / 268.8 MB, free: 5.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.01804, allocations: 275 kB / 269.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01804, allocations: 0 / 269.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0003156/0.01836, allocations: 313.1 kB / 269.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01837, allocations: 8.188 kB / 269.4 MB, free: 5.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01838, allocations: 4 kB / 269.4 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01839, allocations: 7.938 kB / 269.4 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.01871, allocations: 151.8 kB / 269.5 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01872, allocations: 4 kB / 269.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.01889, allocations: 63.56 kB / 269.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.01891, allocations: 15.98 kB / 269.6 MB, free: 4.836 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 0.0001114/0.01902, allocations: 145.7 kB / 269.7 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.01908, allocations: 47.95 kB / 269.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.01941, allocations: 329.1 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.01942, allocations: 11.94 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01942, allocations: 4 kB / 270.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01943, allocations: 3.984 kB / 270.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000716/0.02014, allocations: 0.6327 MB / 270.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02015, allocations: 0 / 270.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.02039, allocations: 119.8 kB / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.02039, allocations: 0 / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.02041, allocations: 15.98 kB / 270.9 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.02041, allocations: 4 kB / 270.9 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02041, allocations: 0 / 270.9 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.02084, allocations: 0.5255 MB / 271.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.02088, allocations: 47.56 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.02091, allocations: 12 kB / 271.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.02105, allocations: 31.97 kB / 271.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.02111, allocations: 40.56 kB / 271.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.02113, allocations: 12 kB / 271.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.472e-05/0.02118, allocations: 74.78 kB / 271.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02118, allocations: 0 / 271.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.0215, allocations: 175.6 kB / 271.8 MB, free: 2.562 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.0001741/0.02167, allocations: 140.2 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.02197, allocations: 280.4 kB / 272.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.02198, allocations: 0 / 272.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.02211, allocations: 157.8 kB / 272.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.02235, allocations: 56.58 kB / 272.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.02362, allocations: 0.9631 MB / 273.4 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.772e-05/0.0237, allocations: 124.8 kB / 273.5 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.0239, allocations: 75.34 kB / 273.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.02407, allocations: 131.3 kB / 273.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02407, allocations: 3.938 kB / 273.7 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of Templates: time 0.02473/0.04881, allocations: 5.354 MB / 279.1 MB, free: 11.25 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] 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","",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.770515512675047]