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.0009661/0.0009661, 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.001138/0.001138, allocations: 163 kB / 25.7 MB, free: 8.406 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.8924/0.8924, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.283e-06/1.283e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.32e-05, allocations: 6.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003617/0.00363, allocations: 4.073 MB / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.006126, allocations: 1.682 MB / 257.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.006333, allocations: 16 kB / 257.3 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.007574, allocations: 1.065 MB / 258.4 MB, free: 356 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.007989, allocations: 242.1 kB / 258.6 MB, free: 112 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.008927, allocations: 0.7198 MB / 259.4 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.009401, allocations: 0.6453 MB / 260 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.009893, allocations: 469.3 kB / 260.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.01025, allocations: 395.1 kB / 260.9 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.01052, allocations: 267.3 kB / 261.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.01058, allocations: 55.94 kB / 261.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.01096, allocations: 267.6 kB / 261.4 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.01103, allocations: 127.5 kB / 261.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.01116, allocations: 211.4 kB / 261.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.01176, allocations: 0.6656 MB / 262.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.01177, allocations: 0 / 262.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01177, allocations: 4 kB / 262.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.01177, allocations: 0 / 262.4 MB, free: 12.3 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.002064/0.01384, allocations: 1.163 MB / 263.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.01387, allocations: 11.98 kB / 263.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.01458, allocations: 300.3 kB / 263.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.01473, allocations: 189.7 kB / 264.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.01476, allocations: 50.38 kB / 264.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.01483, allocations: 64.38 kB / 264.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.01531, allocations: 0.5266 MB / 264.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.01533, allocations: 8.141 kB / 264.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.01536, allocations: 32.38 kB / 264.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.01538, allocations: 19.94 kB / 264.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.01564, allocations: 205 kB / 265 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01717, allocations: 1.36 MB / 266.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.01764, allocations: 474 kB / 266.8 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.01777, allocations: 115.7 kB / 266.9 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.836e-05/0.01787, allocations: 32.64 kB / 267 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.0179, allocations: 39.22 kB / 267 MB, free: 7.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 1.763e-06/0.0179, allocations: 0 / 267 MB, free: 7.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.000372/0.01827, allocations: 317.8 kB / 267.3 MB, free: 7.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.01831, allocations: 111.5 kB / 267.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.01844, allocations: 235.2 kB / 267.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.01847, allocations: 33.7 kB / 267.7 MB, free: 6.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.01856, allocations: 264.6 kB / 267.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.01867, allocations: 229.9 kB / 268.2 MB, free: 6.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.01879, allocations: 118.6 kB / 268.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.01888, allocations: 350.8 kB / 268.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.01897, allocations: 69.97 kB / 268.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.01911, allocations: 187.1 kB / 268.9 MB, free: 5.621 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.01936, allocations: 274.8 kB / 269.1 MB, free: 5.328 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01936, allocations: 0 / 269.1 MB, free: 5.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0003206/0.01968, allocations: 313.2 kB / 269.4 MB, free: 5.016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01969, allocations: 11.98 kB / 269.4 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.0197, allocations: 0 / 269.4 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01971, allocations: 7.938 kB / 269.5 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.02009, allocations: 167.8 kB / 269.6 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.0201, allocations: 11.94 kB / 269.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.02027, allocations: 63.55 kB / 269.7 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.02029, allocations: 20.19 kB / 269.7 MB, free: 4.738 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.0001041/0.02039, allocations: 141.7 kB / 269.9 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.02045, allocations: 47.95 kB / 269.9 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.02079, allocations: 325.1 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.0208, allocations: 7.938 kB / 270.2 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.0208, allocations: 4 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.0208, allocations: 3.984 kB / 270.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.02176, allocations: 0.6249 MB / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02177, allocations: 7.875 kB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.02204, allocations: 127.9 kB / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.02204, allocations: 4 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.02206, allocations: 12 kB / 271 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02206, allocations: 4 kB / 271 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.02207, allocations: 3.984 kB / 271 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.0225, allocations: 0.5255 MB / 271.5 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.02253, allocations: 43.58 kB / 271.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.02257, allocations: 15.98 kB / 271.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.02271, allocations: 16 kB / 271.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.02278, allocations: 44.56 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.02279, allocations: 8 kB / 271.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.871e-05/0.02285, allocations: 74.78 kB / 271.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02285, allocations: 4 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.02319, allocations: 179.7 kB / 271.9 MB, free: 2.473 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.0001602/0.02335, allocations: 140.2 kB / 272.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.02366, allocations: 284.3 kB / 272.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.02367, allocations: 4 kB / 272.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.0238, allocations: 149.8 kB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.02405, allocations: 65.02 kB / 272.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.02528, allocations: 0.9589 MB / 273.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.782e-05/0.02536, allocations: 124.7 kB / 273.6 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.02558, allocations: 87.31 kB / 273.7 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.02577, allocations: 119.3 kB / 273.8 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02577, allocations: 4 kB / 273.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of Templates: time 0.007344/0.03312, allocations: 5.348 MB / 279.2 MB, free: 11.16 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 -s gbode -gbm=radauIIA3 -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.638148187659681]