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.001753/0.001753, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002108/0.002108, allocations: 205.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001938/0.001938, allocations: 63.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2807, allocations: 53.4 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005875/0.2866, allocations: 3.796 MB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.2897, allocations: 1.631 MB / 437.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.29, allocations: 12 kB / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.2926, allocations: 0.9334 MB / 438 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007217/0.2933, allocations: 242.2 kB / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.295, allocations: 0.7233 MB / 439 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007655/0.2958, allocations: 0.6066 MB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.2965, allocations: 435.1 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.2969, allocations: 267 kB / 440.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.2974, allocations: 302.5 kB / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/0.2975, allocations: 52 kB / 440.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.2981, allocations: 279.7 kB / 440.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2982, allocations: 131.5 kB / 441 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.2984, allocations: 250.8 kB / 441.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.2996, allocations: 0.9521 MB / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2996, allocations: 0 / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2996, allocations: 0 / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.2997, allocations: 0 / 442.2 MB, free: 11.91 MB / 350.1 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.003753/0.3034, allocations: 1.161 MB / 443.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3034, allocations: 11.98 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.3047, allocations: 176.4 kB / 443.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.3049, allocations: 186.4 kB / 443.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.305, allocations: 54.38 kB / 443.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.3051, allocations: 68.33 kB / 443.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.3065, allocations: 0.7289 MB / 444.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3065, allocations: 11.92 kB / 444.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.3066, allocations: 28 kB / 444.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.3066, allocations: 16 kB / 444.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3079, allocations: 0.5945 MB / 445.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.3114, allocations: 1.783 MB / 447 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.3128, allocations: 0.6618 MB / 447.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.3133, allocations: 255.1 kB / 447.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.3134, allocations: 28.64 kB / 448 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.3135, allocations: 43.25 kB / 448 MB, free: 5.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.514e-06/0.3135, allocations: 0 / 448 MB, free: 5.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001646/0.3151, allocations: 0.7046 MB / 448.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.3152, allocations: 115.5 kB / 448.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3155, allocations: 243.9 kB / 449.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.3155, allocations: 37.7 kB / 449.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3157, allocations: 268.7 kB / 449.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.3159, allocations: 238 kB / 449.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3161, allocations: 126.7 kB / 449.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3163, allocations: 346.7 kB / 450 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.3168, allocations: 209.9 kB / 450.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.3174, allocations: 323.1 kB / 450.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3185, allocations: 0.5263 MB / 451.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3185, allocations: 0 / 451.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001321/0.3198, allocations: 0.6337 MB / 451.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.3198, allocations: 8 kB / 451.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3198, allocations: 3.938 kB / 451.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3198, allocations: 4 kB / 451.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.3206, allocations: 155.8 kB / 451.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.3206, allocations: 11.92 kB / 451.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.3211, allocations: 79.66 kB / 452 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.3211, allocations: 23.98 kB / 452 MB, free: 1.812 MB / 350.1 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.0002424/0.3213, allocations: 193.6 kB / 452.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3214, allocations: 35.77 kB / 452.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.3228, allocations: 0.5986 MB / 452.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.3228, allocations: 12 kB / 452.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3228, allocations: 4 kB / 452.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3228, allocations: 3.984 kB / 452.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.3249, allocations: 1.109 MB / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3249, allocations: 0 / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.3255, allocations: 123.9 kB / 454.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3255, allocations: 4 kB / 454.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.3255, allocations: 15.98 kB / 454.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3255, allocations: 8 kB / 454.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3255, allocations: 0 / 454.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.3273, allocations: 0.9823 MB / 455.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.3273, allocations: 47.59 kB / 455.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.3274, allocations: 19.98 kB / 455.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.3278, allocations: 32.03 kB / 455.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.3279, allocations: 44.52 kB / 455.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.3279, allocations: 16 kB / 455.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.3281, allocations: 180.5 kB / 455.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3281, allocations: 0 / 455.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.3287, allocations: 179.7 kB / 455.6 MB, free: 14.15 MB / 366.1 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.0002476/0.3289, allocations: 155 kB / 455.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.3301, allocations: 0.5052 MB / 456.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3301, allocations: 4 kB / 456.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.3306, allocations: 243.6 kB / 456.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.3311, allocations: 56.97 kB / 456.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3332, allocations: 1.05 MB / 457.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3335, allocations: 249 kB / 457.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.3338, allocations: 79.34 kB / 457.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.334, allocations: 43.42 kB / 458 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.334, allocations: 0 / 458 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01224/0.3462, allocations: 5.654 MB / 463.6 MB, free: 6.141 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.68332445807755]