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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001396/0.001396, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.082 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-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] "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.002022/0.002022, allocations: 68.77 kB / 379.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2418, allocations: 53.36 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00592/0.2478, allocations: 4.222 MB / 436.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.2508, allocations: 1.759 MB / 438.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.251, allocations: 12 kB / 438.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.2534, allocations: 1.018 MB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005627/0.254, allocations: 246.2 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.2556, allocations: 0.7591 MB / 440.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.2563, allocations: 0.6105 MB / 441 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006851/0.257, allocations: 433.5 kB / 441.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.2574, allocations: 282.9 kB / 441.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.2578, allocations: 326.7 kB / 442.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.2579, allocations: 59.94 kB / 442.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.2585, allocations: 291.7 kB / 442.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.2586, allocations: 135.5 kB / 442.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.2589, allocations: 310.5 kB / 442.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.2602, allocations: 0.9453 MB / 443.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2602, allocations: 0 / 443.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2602, allocations: 0 / 443.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2602, allocations: 0 / 443.8 MB, free: 11.58 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.003746/0.2639, allocations: 1.164 MB / 444.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.264, allocations: 8.031 kB / 445 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.2652, allocations: 180.4 kB / 445.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.2654, allocations: 178.5 kB / 445.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.2655, allocations: 54.38 kB / 445.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2656, allocations: 72.33 kB / 445.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2669, allocations: 0.7077 MB / 446.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.2669, allocations: 0 / 446.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.646e-05/0.267, allocations: 28 kB / 446.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.267, allocations: 16 kB / 446.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.2683, allocations: 0.6062 MB / 446.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.2721, allocations: 2.244 MB / 449 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.2735, allocations: 0.6725 MB / 449.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.274, allocations: 247.6 kB / 449.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2741, allocations: 24.62 kB / 450 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2742, allocations: 43.22 kB / 450 MB, free: 5.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.773e-06/0.2742, allocations: 4 kB / 450 MB, free: 5.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001644/0.2758, allocations: 0.7085 MB / 450.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.2759, allocations: 111.5 kB / 450.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.2762, allocations: 268.8 kB / 451.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.2763, allocations: 41.83 kB / 451.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.2765, allocations: 264.7 kB / 451.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.2767, allocations: 238 kB / 451.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.2769, allocations: 114.6 kB / 451.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.2771, allocations: 346.8 kB / 452.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.2776, allocations: 213.9 kB / 452.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.2782, allocations: 305.3 kB / 452.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2792, allocations: 0.5146 MB / 453.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2792, allocations: 3.984 kB / 453.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001292/0.2805, allocations: 0.6376 MB / 453.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2806, allocations: 8 kB / 453.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2806, allocations: 0 / 453.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.2806, allocations: 11.94 kB / 453.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.2813, allocations: 159.7 kB / 453.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2813, allocations: 4.188 kB / 453.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.2818, allocations: 79.48 kB / 454 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.2818, allocations: 24 kB / 454 MB, free: 1.004 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.0002437/0.2821, allocations: 185.7 kB / 454.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2822, allocations: 43.75 kB / 454.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.2835, allocations: 0.6067 MB / 454.8 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2835, allocations: 4 kB / 454.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2835, allocations: 0 / 454.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.2835, allocations: 7.984 kB / 454.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.2858, allocations: 1.268 MB / 456.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2858, allocations: 0 / 456.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.2864, allocations: 135.8 kB / 456.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2864, allocations: 0 / 456.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.2864, allocations: 12 kB / 456.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.2864, allocations: 7.938 kB / 456.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2864, allocations: 0 / 456.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.2882, allocations: 0.9824 MB / 457.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.2883, allocations: 43.67 kB / 457.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.2883, allocations: 15.98 kB / 457.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.2888, allocations: 27.92 kB / 457.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.2889, allocations: 48.62 kB / 457.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.2889, allocations: 19.94 kB / 457.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.2891, allocations: 192.5 kB / 457.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2891, allocations: 3.938 kB / 457.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000592/0.2897, allocations: 183.6 kB / 457.8 MB, free: 13.16 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.0002501/0.2899, allocations: 155.1 kB / 457.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.2911, allocations: 0.5052 MB / 458.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2911, allocations: 0 / 458.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.2916, allocations: 247.6 kB / 458.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.2921, allocations: 48.36 kB / 458.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.2942, allocations: 1.051 MB / 459.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.2947, allocations: 0.846 MB / 460.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000335/0.2951, allocations: 79.41 kB / 460.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2952, allocations: 47.42 kB / 460.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2952, allocations: 0 / 460.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01153/0.3068, allocations: 5.668 MB / 466.4 MB, free: 4.516 MB / 366.1 MB " [Timeout remaining time 660] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6149156000465155]