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.001049/0.001049, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005949/0.006999, allocations: 449.7 kB / 10.37 MB, free: 332 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.001049/0.001049, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002359, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9044/0.9044, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0817/0.9861, allocations: 52.5 MB / 238.3 MB, free: 4.434 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.302e-06/1.302e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.784e-05, allocations: 2.875 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.008517/0.008535, allocations: 4.137 MB / 243.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007694/0.01623, allocations: 1.669 MB / 245.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.01652, allocations: 12 kB / 245.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.01795, allocations: 1.061 MB / 246.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.0215, allocations: 238.1 kB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.02264, allocations: 0.7664 MB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.02322, allocations: 0.6453 MB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005427/0.02376, allocations: 437.4 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.0242, allocations: 412.1 kB / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.02752, allocations: 263.2 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.02759, allocations: 56 kB / 249.2 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.02809, allocations: 263.5 kB / 249.5 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.02817, allocations: 99.62 kB / 249.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.02833, allocations: 167.7 kB / 249.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.02902, allocations: 0.615 MB / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.02904, allocations: 0 / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02904, allocations: 0 / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.02905, allocations: 0 / 250.3 MB, free: 8.332 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.005418/0.03447, allocations: 1.371 MB / 251.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.03449, allocations: 8.031 kB / 251.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009399/0.03543, allocations: 312.3 kB / 252 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.03558, allocations: 185.7 kB / 252.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.03562, allocations: 50.38 kB / 252.3 MB, free: 6.348 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.0357, allocations: 64.38 kB / 252.3 MB, free: 6.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/0.0363, allocations: 0.5304 MB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.03632, allocations: 8.172 kB / 252.9 MB, free: 5.727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.03636, allocations: 28.31 kB / 252.9 MB, free: 5.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.03637, allocations: 23.94 kB / 252.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.03662, allocations: 197 kB / 253.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.03812, allocations: 1.371 MB / 254.5 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.03857, allocations: 473.7 kB / 254.9 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.03868, allocations: 126.4 kB / 255.1 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-05/0.03875, allocations: 20.64 kB / 255.1 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.03878, allocations: 39.22 kB / 255.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 1.603e-06/0.03878, allocations: 0 / 255.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003628/0.03914, allocations: 321.8 kB / 255.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.03918, allocations: 89.89 kB / 255.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.03932, allocations: 227.2 kB / 255.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.03935, allocations: 41.7 kB / 255.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.03944, allocations: 256.6 kB / 256 MB, free: 2.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.03955, allocations: 237.9 kB / 256.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.03966, allocations: 114.6 kB / 256.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.03975, allocations: 350.7 kB / 256.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.03983, allocations: 69.95 kB / 256.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.03998, allocations: 187.1 kB / 257 MB, free: 1.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.04024, allocations: 278.8 kB / 257.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.04024, allocations: 4 kB / 257.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0002988/0.04054, allocations: 317.1 kB / 257.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.04055, allocations: 4.188 kB / 257.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.04056, allocations: 8 kB / 257.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.04057, allocations: 11.94 kB / 257.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.04096, allocations: 175.8 kB / 257.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.04096, allocations: 4 kB / 257.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.04113, allocations: 67.55 kB / 257.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.04115, allocations: 19.94 kB / 257.8 MB, free: 0.5391 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.0001191/0.04127, allocations: 137.7 kB / 258 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.04132, allocations: 51.95 kB / 258 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.04164, allocations: 325.1 kB / 258.3 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.04165, allocations: 11.94 kB / 258.4 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.04165, allocations: 4 kB / 258.4 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.04166, allocations: 3.984 kB / 258.4 MB, free: 0 / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.04234, allocations: 0.6327 MB / 259 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.04235, allocations: 0 / 259 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.04263, allocations: 139.8 kB / 259.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.04266, allocations: 43.58 kB / 259.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.04267, allocations: 7.984 kB / 259.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.04268, allocations: 12 kB / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.04269, allocations: 0 / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.04269, allocations: 8 kB / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.04309, allocations: 0.5217 MB / 259.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.04313, allocations: 12 kB / 259.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.04327, allocations: 23.98 kB / 259.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.04332, allocations: 44.52 kB / 259.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.04334, allocations: 8 kB / 259.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.13e-05/0.04339, allocations: 78.78 kB / 259.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04339, allocations: 0 / 259.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.04369, allocations: 179.6 kB / 260.1 MB, free: 14.26 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.0001504/0.04384, allocations: 136.3 kB / 260.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.04412, allocations: 280.3 kB / 260.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.04413, allocations: 8 kB / 260.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.04426, allocations: 157.8 kB / 260.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.04451, allocations: 93.02 kB / 260.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.04928, allocations: 1.053 MB / 261.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.04936, allocations: 124.8 kB / 261.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.04957, allocations: 79.34 kB / 262 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.04973, allocations: 127.3 kB / 262.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04973, allocations: 0 / 262.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Templates: time 0.007035/0.05677, allocations: 5.513 MB / 267.6 MB, free: 6.707 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.568372025154531]