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.001002/0.001002, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.00112/0.00112, allocations: 173.2 kB / 25.33 MB, free: 9.191 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.9227/0.9227, allocations: 158.6 MB / 187.2 MB, free: 2.918 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 1.152e-06/1.152e-06, allocations: 0 / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.712e-05, allocations: 2.312 kB / 251 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003663/0.003681, allocations: 4.124 MB / 255.2 MB, free: 3.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.005913, allocations: 1.64 MB / 256.8 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.006144, allocations: 12 kB / 256.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.007533, allocations: 1.061 MB / 257.9 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.008035, allocations: 246.1 kB / 258.1 MB, free: 388 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.00907, allocations: 0.7277 MB / 258.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.009637, allocations: 0.6492 MB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.01019, allocations: 435.4 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.01058, allocations: 399.1 kB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.01091, allocations: 259.3 kB / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.01099, allocations: 52 kB / 260.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.01146, allocations: 259.5 kB / 260.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.01155, allocations: 135.4 kB / 261 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.01171, allocations: 207.5 kB / 261.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006662/0.01237, allocations: 0.6656 MB / 261.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01238, allocations: 4 kB / 261.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01238, allocations: 0 / 261.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.01239, allocations: 0 / 261.9 MB, free: 12.61 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.001989/0.01437, allocations: 1.245 MB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.01442, allocations: 15.98 kB / 263.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/0.01521, allocations: 296.1 kB / 263.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.01542, allocations: 188.5 kB / 263.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.01546, allocations: 54.38 kB / 263.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.01555, allocations: 68.38 kB / 263.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.01628, allocations: 0.5819 MB / 264.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01629, allocations: 192 / 264.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.01633, allocations: 24.38 kB / 264.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.01635, allocations: 19.94 kB / 264.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.01683, allocations: 319.5 kB / 264.7 MB, free: 9.723 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.01878, allocations: 1.805 MB / 266.5 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.01946, allocations: 0.5705 MB / 267 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.01965, allocations: 153.3 kB / 267.2 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.197e-05/0.01974, allocations: 24.64 kB / 267.2 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.01977, allocations: 49.98 kB / 267.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/0.01977, allocations: 3.938 kB / 267.3 MB, free: 7.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006558/0.02042, allocations: 469.6 kB / 267.7 MB, free: 6.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.02047, allocations: 111.5 kB / 267.8 MB, free: 6.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.02066, allocations: 290.6 kB / 268.1 MB, free: 6.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.02069, allocations: 33.7 kB / 268.2 MB, free: 6.074 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.02082, allocations: 327.5 kB / 268.5 MB, free: 5.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.02094, allocations: 234 kB / 268.7 MB, free: 5.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.02107, allocations: 124.3 kB / 268.8 MB, free: 5.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02121, allocations: 0.5235 MB / 269.4 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.02138, allocations: 105.9 kB / 269.5 MB, free: 4.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.02162, allocations: 249.8 kB / 269.7 MB, free: 4.469 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.02203, allocations: 350.8 kB / 270 MB, free: 4.102 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02203, allocations: 0 / 270 MB, free: 4.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005609/0.02259, allocations: 476.9 kB / 270.5 MB, free: 3.629 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.02261, allocations: 7.938 kB / 270.5 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.02262, allocations: 4 kB / 270.5 MB, free: 3.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.02263, allocations: 4 kB / 270.5 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.02301, allocations: 147.8 kB / 270.7 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.02302, allocations: 8.188 kB / 270.7 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.02322, allocations: 71.5 kB / 270.7 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.02325, allocations: 27.98 kB / 270.8 MB, free: 3.363 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.0001329/0.02339, allocations: 192.4 kB / 271 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.02346, allocations: 63.7 kB / 271 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/0.02399, allocations: 437.1 kB / 271.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.02399, allocations: 8 kB / 271.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.024, allocations: 0 / 271.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.02401, allocations: 3.984 kB / 271.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.02507, allocations: 0.9712 MB / 272.4 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02507, allocations: 0 / 272.4 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.02536, allocations: 131.8 kB / 272.6 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.02536, allocations: 0 / 272.6 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.02539, allocations: 20 kB / 272.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02539, allocations: 4 kB / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02539, allocations: 0 / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.02612, allocations: 0.7678 MB / 273.4 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.02617, allocations: 47.56 kB / 273.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.02621, allocations: 15.94 kB / 273.4 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.02637, allocations: 27.98 kB / 273.4 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.02645, allocations: 44.56 kB / 273.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.02647, allocations: 16 kB / 273.5 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.02659, allocations: 201.1 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02659, allocations: 4.031 kB / 273.7 MB, free: 356 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.02696, allocations: 179.6 kB / 273.9 MB, free: 176 kB / 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.0001832/0.02714, allocations: 151 kB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004997/0.02764, allocations: 363.1 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02764, allocations: 0 / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.02785, allocations: 188.7 kB / 274.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.02815, allocations: 57.08 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.02961, allocations: 1.002 MB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.0297, allocations: 124.8 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002128/0.02991, allocations: 75.34 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.03002, allocations: 44.48 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.03002, allocations: 0 / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Templates: time 0.007566/0.03758, allocations: 5.354 MB / 281.2 MB, free: 8.801 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.751619766931981]