Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.4 MB / 251.1 MB, free: 8.457 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.84 kB / 369 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2274, allocations: 53.32 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005904/0.2333, allocations: 4.208 MB / 426.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.2363, allocations: 1.74 MB / 428.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.2366, allocations: 12 kB / 428.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.2389, allocations: 1.022 MB / 429.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.2396, allocations: 238.2 kB / 429.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.2412, allocations: 0.7704 MB / 430.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007438/0.2419, allocations: 0.6066 MB / 430.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006431/0.2426, allocations: 379.5 kB / 431.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.243, allocations: 259 kB / 431.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.2434, allocations: 338.6 kB / 431.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.2435, allocations: 52 kB / 431.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.2441, allocations: 307.7 kB / 432.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2442, allocations: 127.5 kB / 432.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.2445, allocations: 306.5 kB / 432.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.2457, allocations: 0.9412 MB / 433.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2457, allocations: 4 kB / 433.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2457, allocations: 0 / 433.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.2457, allocations: 0 / 433.5 MB, free: 12.5 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.003777/0.2495, allocations: 1.232 MB / 434.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2495, allocations: 8.031 kB / 434.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.2509, allocations: 180.4 kB / 434.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.2511, allocations: 244.3 kB / 435.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.2511, allocations: 54.38 kB / 435.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.2513, allocations: 68.33 kB / 435.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.2526, allocations: 0.7077 MB / 436 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.2526, allocations: 4 kB / 436 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.2526, allocations: 24 kB / 436 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.2527, allocations: 16 kB / 436.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.2539, allocations: 0.6101 MB / 436.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.2574, allocations: 2.317 MB / 439 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.2592, allocations: 1.571 MB / 440.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.2597, allocations: 248.8 kB / 440.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.2599, allocations: 186.7 kB / 441 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.26, allocations: 47.16 kB / 441 MB, free: 4.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.813e-06/0.26, allocations: 0 / 441 MB, free: 4.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001609/0.2616, allocations: 0.7096 MB / 441.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.2617, allocations: 107.4 kB / 441.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.262, allocations: 265 kB / 442.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.262, allocations: 37.7 kB / 442.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.2622, allocations: 268.7 kB / 442.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.2624, allocations: 234 kB / 442.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.2626, allocations: 122.6 kB / 442.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2627, allocations: 350.7 kB / 443.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.2632, allocations: 209.9 kB / 443.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.2638, allocations: 301.4 kB / 443.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.2647, allocations: 0.522 MB / 444.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2647, allocations: 0 / 444.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001275/0.266, allocations: 0.6259 MB / 444.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.266, allocations: 11.98 kB / 444.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2661, allocations: 192 / 444.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.2661, allocations: 8 kB / 444.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.2668, allocations: 155.8 kB / 444.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.2668, allocations: 11.94 kB / 444.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.2673, allocations: 75.48 kB / 445 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.2673, allocations: 24 kB / 445 MB, free: 380 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.0002465/0.2675, allocations: 185.7 kB / 445.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2676, allocations: 51.7 kB / 445.2 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.2689, allocations: 0.5967 MB / 445.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.2689, allocations: 8 kB / 445.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2689, allocations: 0 / 445.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2689, allocations: 7.984 kB / 445.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.2711, allocations: 1.294 MB / 447.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2711, allocations: 0 / 447.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.2717, allocations: 127.9 kB / 447.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2717, allocations: 0 / 447.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.2717, allocations: 12 kB / 447.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.2717, allocations: 7.938 kB / 447.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.2717, allocations: 3.984 kB / 447.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.2734, allocations: 0.9793 MB / 448.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.2735, allocations: 128.7 kB / 448.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.2736, allocations: 20.06 kB / 448.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.274, allocations: 27.92 kB / 448.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.2741, allocations: 40.5 kB / 448.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.2741, allocations: 19.98 kB / 448.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.2743, allocations: 192.5 kB / 448.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2743, allocations: 0 / 448.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.2749, allocations: 183.6 kB / 448.9 MB, free: 12.4 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.000263/0.2752, allocations: 155 kB / 449 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2763, allocations: 0.5 MB / 449.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2763, allocations: 0 / 449.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.2768, allocations: 251.5 kB / 449.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.2773, allocations: 52.34 kB / 449.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2794, allocations: 1.041 MB / 450.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.2799, allocations: 0.846 MB / 451.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.2803, allocations: 75.41 kB / 451.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.2804, allocations: 47.42 kB / 451.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2804, allocations: 0 / 451.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of Templates: time 0.01152/0.2919, allocations: 5.385 MB / 457.2 MB, free: 4.062 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches