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.000717/0.000717, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001754, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006932/0.0006932, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009442/0.001637, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.8977/0.8977, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07624/0.9739, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.553e-06/1.553e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.64e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005207/0.005223, allocations: 4.152 MB / 249.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.007959, allocations: 1.735 MB / 251.1 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.008133, allocations: 12 kB / 251.1 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.01004, allocations: 1.077 MB / 252.2 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.0105, allocations: 242.1 kB / 252.4 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.01191, allocations: 0.7392 MB / 253.2 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.01248, allocations: 0.6297 MB / 253.8 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006085/0.01309, allocations: 429.5 kB / 254.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.0136, allocations: 408 kB / 254.6 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.01395, allocations: 263.3 kB / 254.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.01403, allocations: 56 kB / 254.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.01455, allocations: 287.6 kB / 255.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.01464, allocations: 103.6 kB / 255.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.01482, allocations: 167.7 kB / 255.5 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.01561, allocations: 0.6305 MB / 256.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.01563, allocations: 0 / 256.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01563, allocations: 0 / 256.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.01564, allocations: 0 / 256.1 MB, free: 2.625 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.00254/0.01818, allocations: 1.386 MB / 257.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.01821, allocations: 12.62 kB / 257.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006964/0.01891, allocations: 300.3 kB / 257.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.01902, allocations: 181.7 kB / 258 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.01905, allocations: 58.3 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.01912, allocations: 68.38 kB / 258.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.01958, allocations: 0.5227 MB / 258.6 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.0196, allocations: 4.141 kB / 258.6 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.01964, allocations: 28.45 kB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.01965, allocations: 19.94 kB / 258.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.0199, allocations: 209 kB / 258.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.02145, allocations: 1.375 MB / 260.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.02192, allocations: 478.6 kB / 260.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.02203, allocations: 115.7 kB / 260.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.02211, allocations: 28.62 kB / 260.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.02213, allocations: 43.22 kB / 260.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.593e-06/0.02213, allocations: 0 / 260.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003739/0.02251, allocations: 321.8 kB / 261.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.02254, allocations: 85.77 kB / 261.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.02267, allocations: 231.2 kB / 261.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.0227, allocations: 37.7 kB / 261.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.02279, allocations: 256.6 kB / 261.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.02289, allocations: 237.9 kB / 262 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.023, allocations: 118.6 kB / 262.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.02308, allocations: 346.7 kB / 262.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.02316, allocations: 69.95 kB / 262.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.0233, allocations: 195.1 kB / 262.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.02355, allocations: 286.2 kB / 263 MB, free: 11.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02356, allocations: 0 / 263 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000295/0.02385, allocations: 313.1 kB / 263.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.02386, allocations: 12.19 kB / 263.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.02387, allocations: 3.984 kB / 263.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.02388, allocations: 7.938 kB / 263.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.02432, allocations: 171.8 kB / 263.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.02433, allocations: 7.984 kB / 263.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.02453, allocations: 63.56 kB / 263.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.02455, allocations: 19.98 kB / 263.6 MB, free: 10.8 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.0001046/0.02465, allocations: 141.7 kB / 263.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.02471, allocations: 47.91 kB / 263.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.02506, allocations: 317.2 kB / 264.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.02506, allocations: 11.94 kB / 264.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02506, allocations: 0 / 264.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.02507, allocations: 7.984 kB / 264.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.02579, allocations: 0.6327 MB / 264.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02579, allocations: 3.984 kB / 264.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.02608, allocations: 147.8 kB / 264.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.02612, allocations: 43.64 kB / 265 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.02612, allocations: 0 / 265 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.02614, allocations: 19.98 kB / 265 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.02614, allocations: 4 kB / 265 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02614, allocations: 3.984 kB / 265 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.02656, allocations: 0.5177 MB / 265.5 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.02659, allocations: 16 kB / 265.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.02673, allocations: 19.98 kB / 265.5 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.02685, allocations: 40.58 kB / 265.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.02686, allocations: 12 kB / 265.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.02692, allocations: 78.81 kB / 265.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02692, allocations: 0 / 265.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.02721, allocations: 187.5 kB / 265.8 MB, free: 8.516 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.0001508/0.02736, allocations: 136.2 kB / 266 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.02764, allocations: 285 kB / 266.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.02766, allocations: 8.562 kB / 266.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.02782, allocations: 203.1 kB / 266.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.02818, allocations: 403.2 kB / 266.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.03289, allocations: 0.9986 MB / 267.9 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.03297, allocations: 124.8 kB / 268 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.03317, allocations: 76.11 kB / 268 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.03335, allocations: 143.3 kB / 268.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03335, allocations: 4 kB / 268.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of Templates: time 0.008104/0.04145, allocations: 5.939 MB / 274.1 MB, free: 164 kB / 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4255751073360443]