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.001577/0.001577, allocations: 120.8 kB / 19.18 MB, free: 3.906 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.001733/0.001733, allocations: 202.6 kB / 22.12 MB, free: 0.9648 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.429/1.429, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.002095/0.002095, allocations: 59.91 kB / 374.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1011, allocations: 53.32 MB / 427.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006547/0.1076, allocations: 4.212 MB / 432.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2453/0.3529, allocations: 1.725 MB / 433.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.3531, allocations: 15.23 kB / 433.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.3551, allocations: 1.015 MB / 434.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005431/0.3557, allocations: 247.5 kB / 435 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.357, allocations: 0.7652 MB / 435.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.3575, allocations: 0.6062 MB / 436.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005592/0.358, allocations: 378.6 kB / 436.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.3584, allocations: 266.3 kB / 437.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.3587, allocations: 336 kB / 437.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.944e-05/0.3588, allocations: 52.12 kB / 437.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000604/0.3594, allocations: 294.1 kB / 437.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.3595, allocations: 130.5 kB / 437.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.3598, allocations: 308.3 kB / 438.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3609, allocations: 0.9413 MB / 439.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3609, allocations: 1.266 kB / 439.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3609, allocations: 5.125 kB / 439.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3609, allocations: 3.938 kB / 439.1 MB, free: 6.879 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.003473/0.3644, allocations: 1.233 MB / 440.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3644, allocations: 10.28 kB / 440.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.3656, allocations: 178.5 kB / 440.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3659, allocations: 245.5 kB / 440.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.031e-05/0.3659, allocations: 51.92 kB / 440.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3661, allocations: 68.56 kB / 440.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.3674, allocations: 0.7032 MB / 441.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.3675, allocations: 8.969 kB / 441.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.3675, allocations: 30.56 kB / 441.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.3675, allocations: 17.31 kB / 441.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.3688, allocations: 0.5995 MB / 442.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.3728, allocations: 2.321 MB / 444.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.3747, allocations: 1.568 MB / 446.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.3753, allocations: 250 kB / 446.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.3755, allocations: 187.9 kB / 446.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.3756, allocations: 43.41 kB / 446.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.936e-06/0.3756, allocations: 0 / 446.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001908/0.3775, allocations: 0.7033 MB / 447.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.3776, allocations: 115.4 kB / 447.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3779, allocations: 261.3 kB / 447.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.3779, allocations: 36.75 kB / 447.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.3781, allocations: 271.3 kB / 448 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.3782, allocations: 232.9 kB / 448.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.3784, allocations: 126.5 kB / 448.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.3785, allocations: 344 kB / 448.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.379, allocations: 208.2 kB / 448.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.3795, allocations: 303.8 kB / 449.1 MB, free: 404 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.3804, allocations: 0.5221 MB / 449.7 MB, free: 128 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3804, allocations: 0 / 449.7 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00131/0.3817, allocations: 0.6285 MB / 450.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3817, allocations: 6.281 kB / 450.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3818, allocations: 3.172 kB / 450.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.3818, allocations: 4.344 kB / 450.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008091/0.3826, allocations: 161.2 kB / 450.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.3826, allocations: 9.391 kB / 450.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.3832, allocations: 72.17 kB / 450.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.3832, allocations: 28.39 kB / 450.6 MB, free: 15.79 MB / 366.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.0003532/0.3836, allocations: 191.1 kB / 450.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3837, allocations: 38.14 kB / 450.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.3852, allocations: 0.5988 MB / 451.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3852, allocations: 6.844 kB / 451.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3852, allocations: 13.06 kB / 451.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3852, allocations: 8.125 kB / 451.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.3877, allocations: 1.293 MB / 452.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3877, allocations: 1.094 kB / 452.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.3882, allocations: 129.2 kB / 452.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3882, allocations: 3.781 kB / 452.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.3883, allocations: 21.39 kB / 452.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3883, allocations: 3.672 kB / 452.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3883, allocations: 0.9375 kB / 452.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.39, allocations: 0.9757 MB / 453.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.3902, allocations: 127.4 kB / 454 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.3902, allocations: 16.81 kB / 454 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.3906, allocations: 26.8 kB / 454 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3907, allocations: 43.89 kB / 454.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.3907, allocations: 18.69 kB / 454.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.391, allocations: 190.6 kB / 454.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.391, allocations: 4.062 kB / 454.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006664/0.3916, allocations: 181 kB / 454.4 MB, free: 13.77 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.0002896/0.3919, allocations: 153.5 kB / 454.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3931, allocations: 0.4974 MB / 455.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3931, allocations: 5.125 kB / 455.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.3936, allocations: 249.5 kB / 455.3 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.0005532/0.3941, allocations: 49.05 kB / 455.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3964, allocations: 1.076 MB / 456.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.397, allocations: 0.846 MB / 457.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3972, allocations: 60.28 kB / 457.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.3972, allocations: 0 / 457.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01196/0.4092, allocations: 7.032 MB / 464.4 MB, free: 8.918 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/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_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: 7.250245486036874]