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.0007435/0.0007435, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009201/0.001664, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009982/0.0009982, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002305, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8601/0.8601, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07529/0.9354, allocations: 53.87 MB / 243.7 MB, free: 14.89 MB / 250.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.473e-06/1.473e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.454e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005249/0.005264, allocations: 4.16 MB / 249.2 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.008109, allocations: 1.728 MB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.008317, allocations: 12 kB / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.009556, allocations: 1.073 MB / 252 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.009895, allocations: 246.1 kB / 252.2 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.01071, allocations: 0.7392 MB / 253 MB, free: 5.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.0111, allocations: 0.6297 MB / 253.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.01152, allocations: 433.5 kB / 254 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.01193, allocations: 400.1 kB / 254.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.01217, allocations: 267.3 kB / 254.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.01222, allocations: 52 kB / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.01259, allocations: 299.5 kB / 255 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.01265, allocations: 95.62 kB / 255.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.01277, allocations: 167.7 kB / 255.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.0133, allocations: 0.6306 MB / 255.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.01331, allocations: 3.984 kB / 255.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01331, allocations: 0 / 255.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.01333, allocations: 0 / 255.9 MB, free: 2.691 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.00183/0.01516, allocations: 1.382 MB / 257.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.01519, allocations: 12.62 kB / 257.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.01588, allocations: 312.3 kB / 257.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.016, allocations: 177.7 kB / 257.8 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.01603, allocations: 50.38 kB / 257.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.0161, allocations: 68.31 kB / 257.9 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.01655, allocations: 0.5266 MB / 258.4 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.01657, allocations: 8.141 kB / 258.4 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.01661, allocations: 28.36 kB / 258.5 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01662, allocations: 19.94 kB / 258.5 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.01687, allocations: 201 kB / 258.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.01835, allocations: 1.375 MB / 260 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.01881, allocations: 482.5 kB / 260.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.01892, allocations: 111.7 kB / 260.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.514e-05/0.019, allocations: 36.56 kB / 260.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.01902, allocations: 39.22 kB / 260.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.914e-06/0.01903, allocations: 0 / 260.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003599/0.01939, allocations: 321.8 kB / 261 MB, free: 13.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.01942, allocations: 85.77 kB / 261.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.01954, allocations: 231.3 kB / 261.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.01958, allocations: 41.7 kB / 261.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.01967, allocations: 260.6 kB / 261.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/0.01977, allocations: 237.9 kB / 261.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.01987, allocations: 114.6 kB / 262 MB, free: 12.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.01995, allocations: 346.7 kB / 262.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.02003, allocations: 69.95 kB / 262.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.02016, allocations: 187 kB / 262.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.0204, allocations: 282.9 kB / 262.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.0204, allocations: 0 / 262.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0002992/0.0207, allocations: 313.1 kB / 263.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.02071, allocations: 8 kB / 263.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.02072, allocations: 0 / 263.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.02073, allocations: 8.125 kB / 263.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.02111, allocations: 179.8 kB / 263.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.02112, allocations: 4 kB / 263.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.02128, allocations: 67.55 kB / 263.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.0213, allocations: 19.98 kB / 263.4 MB, free: 10.88 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.0001027/0.0214, allocations: 141.7 kB / 263.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.02146, allocations: 43.97 kB / 263.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.02179, allocations: 325.1 kB / 263.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.0218, allocations: 11.94 kB / 263.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.0218, allocations: 0 / 263.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0218, allocations: 4 kB / 263.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.02249, allocations: 0.6327 MB / 264.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02249, allocations: 0 / 264.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.02278, allocations: 147.8 kB / 264.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.02281, allocations: 39.64 kB / 264.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02282, allocations: 0 / 264.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.02283, allocations: 19.98 kB / 264.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.02284, allocations: 8 kB / 264.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02284, allocations: 3.938 kB / 264.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.02323, allocations: 0.5255 MB / 265.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.02327, allocations: 15.98 kB / 265.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.0234, allocations: 20 kB / 265.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.02346, allocations: 44.56 kB / 265.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.02348, allocations: 12 kB / 265.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.02353, allocations: 70.78 kB / 265.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02353, allocations: 0 / 265.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002976/0.02383, allocations: 191.5 kB / 265.6 MB, free: 8.586 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.0001497/0.02398, allocations: 132.3 kB / 265.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.02427, allocations: 284.2 kB / 266.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.02428, allocations: 11.98 kB / 266.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.02441, allocations: 149.8 kB / 266.2 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.02468, allocations: 93.08 kB / 266.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.02944, allocations: 0.9947 MB / 267.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.03e-05/0.02952, allocations: 128.8 kB / 267.4 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.02971, allocations: 75.34 kB / 267.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.02988, allocations: 127.3 kB / 267.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of SimCode: time 5e-07/0.02988, allocations: 0 / 267.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of Templates: time 0.007434/0.03732, allocations: 5.626 MB / 273.2 MB, free: 0.9844 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 -ignoreHideResult -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.399775062687695]