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.001366/0.001366, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001505/0.001505, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.476/1.476, allocations: 230.3 MB / 258 MB, free: 8.195 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.001915/0.001915, allocations: 59.91 kB / 378.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2246, allocations: 53.37 MB / 432.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00588/0.2305, allocations: 4.234 MB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.2335, allocations: 1.752 MB / 438.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.2338, allocations: 12 kB / 438.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.2363, allocations: 1.015 MB / 439.2 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.2369, allocations: 246.2 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.2385, allocations: 0.7629 MB / 440.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.2392, allocations: 0.6067 MB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.2398, allocations: 381.9 kB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.2402, allocations: 267.1 kB / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.2406, allocations: 338.6 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.2407, allocations: 56 kB / 441.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/0.2412, allocations: 291.7 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2414, allocations: 131.5 kB / 442.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.2417, allocations: 306.5 kB / 442.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2428, allocations: 0.9492 MB / 443.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2428, allocations: 0 / 443.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2428, allocations: 0 / 443.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2428, allocations: 0 / 443.5 MB, free: 11.74 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.003675/0.2465, allocations: 1.157 MB / 444.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.2465, allocations: 8.031 kB / 444.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.2478, allocations: 180.4 kB / 444.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.248, allocations: 186.4 kB / 445 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.248, allocations: 54.31 kB / 445 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2481, allocations: 76.31 kB / 445.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2495, allocations: 0.7077 MB / 445.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.2495, allocations: 0 / 445.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.2496, allocations: 28 kB / 445.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2496, allocations: 19.94 kB / 445.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2509, allocations: 0.6062 MB / 446.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.2545, allocations: 2.24 MB / 448.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.2559, allocations: 0.6732 MB / 449.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.2564, allocations: 250.6 kB / 449.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.2566, allocations: 32.62 kB / 449.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.2566, allocations: 39.22 kB / 449.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.994e-06/0.2566, allocations: 0 / 449.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001652/0.2582, allocations: 0.7125 MB / 450.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.2583, allocations: 111.5 kB / 450.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.2587, allocations: 260.8 kB / 450.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.2587, allocations: 37.7 kB / 450.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.2589, allocations: 268.7 kB / 451.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.2591, allocations: 234 kB / 451.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.2593, allocations: 118.6 kB / 451.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2595, allocations: 346.8 kB / 451.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.2599, allocations: 213.9 kB / 452 MB, free: 2.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.2605, allocations: 305.3 kB / 452.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2616, allocations: 0.5185 MB / 452.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2616, allocations: 4 kB / 452.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001335/0.2629, allocations: 0.6375 MB / 453.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.263, allocations: 4 kB / 453.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.263, allocations: 8.109 kB / 453.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.263, allocations: 12 kB / 453.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.2637, allocations: 155.8 kB / 453.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2637, allocations: 4 kB / 453.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.2642, allocations: 75.48 kB / 453.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.2643, allocations: 24 kB / 453.7 MB, free: 1.156 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.0002423/0.2645, allocations: 185.7 kB / 453.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2646, allocations: 43.77 kB / 453.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.266, allocations: 0.6067 MB / 454.5 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.266, allocations: 4 kB / 454.5 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.266, allocations: 4 kB / 454.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.266, allocations: 3.984 kB / 454.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.2682, allocations: 1.268 MB / 455.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2683, allocations: 0 / 455.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.2688, allocations: 131.8 kB / 455.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2688, allocations: 3.984 kB / 455.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.2689, allocations: 16 kB / 456 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/0.2689, allocations: 3.938 kB / 456 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2689, allocations: 0 / 456 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.2707, allocations: 0.9862 MB / 456.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.2707, allocations: 43.67 kB / 457 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.2708, allocations: 16.06 kB / 457 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.2712, allocations: 31.91 kB / 457 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.2713, allocations: 44.52 kB / 457.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.2713, allocations: 19.98 kB / 457.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.2716, allocations: 192.5 kB / 457.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2716, allocations: 0 / 457.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005926/0.2721, allocations: 183.6 kB / 457.5 MB, free: 13.31 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.0002547/0.2724, allocations: 155.1 kB / 457.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2737, allocations: 0.5013 MB / 458.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2737, allocations: 0 / 458.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.2742, allocations: 252 kB / 458.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.2747, allocations: 48.41 kB / 458.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.2768, allocations: 1.05 MB / 459.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.2773, allocations: 0.8498 MB / 460.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000327/0.2776, allocations: 75.41 kB / 460.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2778, allocations: 43.42 kB / 460.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2778, allocations: 4 kB / 460.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01131/0.2891, allocations: 5.664 MB / 466.1 MB, free: 4.641 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.559829981997609]