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.001344/0.001344, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.001563/0.001563, allocations: 214.1 kB / 23 MB, free: 5.609 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.414/1.414, allocations: 230.2 MB / 256.2 MB, free: 8.57 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.001824/0.001824, allocations: 63.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2398, allocations: 53.33 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005672/0.2454, allocations: 4.223 MB / 434 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.2483, allocations: 1.744 MB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.2485, allocations: 8 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.2509, allocations: 1.018 MB / 436.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.2514, allocations: 242.2 kB / 437 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.2531, allocations: 0.7746 MB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007542/0.2538, allocations: 0.6066 MB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000704/0.2545, allocations: 377 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.255, allocations: 263 kB / 439 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.2554, allocations: 334.6 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.2555, allocations: 52 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.2561, allocations: 303.7 kB / 439.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2562, allocations: 123.6 kB / 439.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.2565, allocations: 306.5 kB / 440.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2577, allocations: 0.9492 MB / 441.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2577, allocations: 0 / 441.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2577, allocations: 0 / 441.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2577, allocations: 4 kB / 441.1 MB, free: 12.21 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.0037/0.2614, allocations: 1.232 MB / 442.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2615, allocations: 8.031 kB / 442.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.2627, allocations: 180.4 kB / 442.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.263, allocations: 248.2 kB / 442.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.2631, allocations: 54.31 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2632, allocations: 68.38 kB / 442.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2645, allocations: 0.7077 MB / 443.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.2646, allocations: 0 / 443.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.2646, allocations: 28 kB / 443.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.2646, allocations: 16 kB / 443.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2659, allocations: 0.6101 MB / 444.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.2695, allocations: 2.313 MB / 446.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.2713, allocations: 1.582 MB / 448.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.2718, allocations: 239.4 kB / 448.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.272, allocations: 182.7 kB / 448.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.2721, allocations: 51.12 kB / 448.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.035e-06/0.2721, allocations: 0 / 448.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001673/0.2738, allocations: 0.7017 MB / 449.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.2739, allocations: 111.4 kB / 449.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.2742, allocations: 269 kB / 449.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.2743, allocations: 41.7 kB / 449.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.2745, allocations: 268.7 kB / 450 MB, free: 2.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.2747, allocations: 230 kB / 450.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.2749, allocations: 118.6 kB / 450.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.275, allocations: 346.8 kB / 450.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.2755, allocations: 213.8 kB / 450.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.276, allocations: 305.4 kB / 451.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.277, allocations: 0.5142 MB / 451.7 MB, free: 1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.277, allocations: 0 / 451.7 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001263/0.2783, allocations: 0.6375 MB / 452.3 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2783, allocations: 8 kB / 452.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2783, allocations: 7.922 kB / 452.3 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.2783, allocations: 4 kB / 452.3 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/0.279, allocations: 160 kB / 452.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2791, allocations: 4 kB / 452.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.2795, allocations: 79.48 kB / 452.6 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.2795, allocations: 20 kB / 452.6 MB, free: 80 kB / 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.0002561/0.2798, allocations: 189.7 kB / 452.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.2799, allocations: 35.77 kB / 452.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2812, allocations: 0.6084 MB / 453.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.2812, allocations: 8 kB / 453.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2812, allocations: 0 / 453.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.2812, allocations: 3.984 kB / 453.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.2834, allocations: 1.294 MB / 454.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2834, allocations: 0 / 454.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.284, allocations: 127.8 kB / 454.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.284, allocations: 4 kB / 454.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.284, allocations: 12 kB / 454.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.284, allocations: 7.938 kB / 454.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.284, allocations: 0 / 454.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.2857, allocations: 0.9832 MB / 455.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2859, allocations: 128.7 kB / 456 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.2859, allocations: 16 kB / 456 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.2863, allocations: 31.98 kB / 456 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/0.2864, allocations: 40.5 kB / 456.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.2864, allocations: 19.98 kB / 456.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.2867, allocations: 188.5 kB / 456.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2867, allocations: 0 / 456.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.2872, allocations: 183.6 kB / 456.4 MB, free: 12.11 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.0002534/0.2875, allocations: 155 kB / 456.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.2886, allocations: 0.5039 MB / 457.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2886, allocations: 3.938 kB / 457.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.2891, allocations: 243.1 kB / 457.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.2896, allocations: 52.23 kB / 457.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.2916, allocations: 1.052 MB / 458.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.2921, allocations: 0.8421 MB / 459.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.2924, allocations: 83.39 kB / 459.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.2926, allocations: 47.42 kB / 459.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2926, allocations: 0 / 459.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of Templates: time 0.01099/0.3036, allocations: 5.483 MB / 464.9 MB, free: 3.633 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.461837206967175]