Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00205/0.00205, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002447/0.002447, allocations: 209.1 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2483, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005554/0.2539, allocations: 3.798 MB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.257, allocations: 1.631 MB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.2573, allocations: 12 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.2596, allocations: 0.9411 MB / 438.7 MB, free: 340 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.2603, allocations: 246.2 kB / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.262, allocations: 0.7146 MB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.2627, allocations: 0.6105 MB / 440.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007019/0.2634, allocations: 442.5 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.2638, allocations: 271 kB / 441 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.2643, allocations: 338.6 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/0.2644, allocations: 52 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005956/0.265, allocations: 287.8 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.2651, allocations: 135.5 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.2653, allocations: 246.8 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2665, allocations: 0.9492 MB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2665, allocations: 0 / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2665, allocations: 4 kB / 443 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2665, allocations: 0 / 443 MB, free: 12.07 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.003787/0.2703, allocations: 1.161 MB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2703, allocations: 8.031 kB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.2716, allocations: 180.4 kB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2718, allocations: 178.5 kB / 444.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.2719, allocations: 50.38 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.272, allocations: 76.31 kB / 444.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.2734, allocations: 0.725 MB / 445.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.2734, allocations: 4 kB / 445.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.2735, allocations: 27.94 kB / 445.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2735, allocations: 16 kB / 445.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2747, allocations: 0.6101 MB / 446 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.2781, allocations: 1.771 MB / 447.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2794, allocations: 0.6695 MB / 448.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.2799, allocations: 251.5 kB / 448.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.28, allocations: 32.62 kB / 448.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.2801, allocations: 43.25 kB / 448.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.454e-06/0.2801, allocations: 0 / 448.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001587/0.2817, allocations: 0.7009 MB / 449.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.2817, allocations: 115.4 kB / 449.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.282, allocations: 251.9 kB / 449.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.2821, allocations: 37.7 kB / 449.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.2823, allocations: 272.7 kB / 450.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.2825, allocations: 234 kB / 450.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.2827, allocations: 118.6 kB / 450.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2828, allocations: 346.8 kB / 450.8 MB, free: 4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2833, allocations: 213.9 kB / 451 MB, free: 3.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.2838, allocations: 331.1 kB / 451.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2849, allocations: 0.5185 MB / 451.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2849, allocations: 0 / 451.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001263/0.2861, allocations: 0.6297 MB / 452.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2861, allocations: 12.19 kB / 452.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2862, allocations: 0 / 452.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2862, allocations: 4 kB / 452.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.2869, allocations: 163.8 kB / 452.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2869, allocations: 4 kB / 452.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.2874, allocations: 71.48 kB / 452.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.2875, allocations: 27.98 kB / 452.8 MB, free: 1.988 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.0002548/0.2877, allocations: 189.7 kB / 452.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2878, allocations: 39.77 kB / 453 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.2892, allocations: 0.6025 MB / 453.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2892, allocations: 8 kB / 453.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2892, allocations: 0 / 453.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2892, allocations: 3.984 kB / 453.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.2913, allocations: 1.101 MB / 454.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2913, allocations: 7.875 kB / 454.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.2919, allocations: 127.9 kB / 454.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2919, allocations: 0 / 454.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.292, allocations: 15.94 kB / 454.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.292, allocations: 8 kB / 454.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.292, allocations: 3.984 kB / 454.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2937, allocations: 0.9901 MB / 455.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.2938, allocations: 47.61 kB / 455.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.2939, allocations: 12 kB / 455.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.2943, allocations: 27.97 kB / 455.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2944, allocations: 44.52 kB / 456 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.2944, allocations: 24.05 kB / 456 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.2946, allocations: 180.5 kB / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2946, allocations: 0 / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006326/0.2952, allocations: 179.7 kB / 456.3 MB, free: 14.32 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.0002642/0.2955, allocations: 147 kB / 456.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.2966, allocations: 0.5094 MB / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2966, allocations: 0 / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.2971, allocations: 247.6 kB / 457.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.2976, allocations: 52.53 kB / 457.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.2998, allocations: 1.08 MB / 458.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3, allocations: 245.1 kB / 458.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.3002, allocations: 59.41 kB / 458.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3002, allocations: 0 / 458.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Templates: time 0.01102/0.3112, allocations: 7.212 MB / 465.9 MB, free: 4.746 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.282373496011132]