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.001446/0.001446, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001523/0.001523, allocations: 210.4 kB / 23.73 MB, free: 4.387 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001678/0.001678, allocations: 47.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2267, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005555/0.2323, allocations: 3.796 MB / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.2351, allocations: 1.627 MB / 437 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.2353, allocations: 12 kB / 437 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.2377, allocations: 0.9365 MB / 438 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.2383, allocations: 242.2 kB / 438.2 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.24, allocations: 0.7272 MB / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.2407, allocations: 0.6027 MB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007719/0.2415, allocations: 435.1 kB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.242, allocations: 275 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.2425, allocations: 298.6 kB / 440.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.2426, allocations: 52 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006013/0.2432, allocations: 279.7 kB / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2433, allocations: 127.5 kB / 441 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.2436, allocations: 254.8 kB / 441.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2449, allocations: 0.9443 MB / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2449, allocations: 0 / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2449, allocations: 0 / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.2449, allocations: 0 / 442.1 MB, free: 12.11 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.003698/0.2486, allocations: 1.164 MB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2486, allocations: 8.031 kB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.2499, allocations: 180.4 kB / 443.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2502, allocations: 178.5 kB / 443.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.2502, allocations: 50.38 kB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.2504, allocations: 76.33 kB / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.2519, allocations: 0.7367 MB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.2519, allocations: 0 / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.252, allocations: 24 kB / 444.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.252, allocations: 16 kB / 444.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.2534, allocations: 0.6023 MB / 445.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.2571, allocations: 1.775 MB / 446.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.2585, allocations: 0.6773 MB / 447.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.259, allocations: 243.6 kB / 447.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.2591, allocations: 36.56 kB / 447.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.2592, allocations: 43.25 kB / 447.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.985e-06/0.2592, allocations: 4 kB / 447.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001687/0.2609, allocations: 0.7007 MB / 448.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.2609, allocations: 111.5 kB / 448.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.2613, allocations: 260 kB / 449 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.2613, allocations: 37.7 kB / 449 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.2615, allocations: 268.7 kB / 449.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.2617, allocations: 238 kB / 449.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.2619, allocations: 118.6 kB / 449.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2621, allocations: 346.8 kB / 450 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.2626, allocations: 205.9 kB / 450.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.2631, allocations: 335.1 kB / 450.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.2643, allocations: 0.5146 MB / 451 MB, free: 2.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2643, allocations: 0 / 451 MB, free: 2.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001332/0.2656, allocations: 0.6336 MB / 451.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2656, allocations: 8 kB / 451.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2656, allocations: 0 / 451.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2656, allocations: 4 kB / 451.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.2664, allocations: 168 kB / 451.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2664, allocations: 7.938 kB / 451.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.2669, allocations: 71.55 kB / 451.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.2669, allocations: 27.97 kB / 452 MB, free: 2.012 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.2672, allocations: 189.7 kB / 452.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2673, allocations: 35.77 kB / 452.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.2687, allocations: 0.6026 MB / 452.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.2687, allocations: 11.98 kB / 452.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.2687, allocations: 4 kB / 452.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2687, allocations: 3.984 kB / 452.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.2709, allocations: 1.105 MB / 453.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2709, allocations: 0 / 453.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.2715, allocations: 131.9 kB / 454 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.2715, allocations: 4 kB / 454 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.2716, allocations: 12 kB / 454 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.944e-06/0.2716, allocations: 4 kB / 454 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2716, allocations: 0 / 454 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.2734, allocations: 0.9862 MB / 455 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/0.2735, allocations: 47.61 kB / 455.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.2736, allocations: 15.98 kB / 455.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.274, allocations: 23.98 kB / 455.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.2741, allocations: 52.5 kB / 455.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.2741, allocations: 19.94 kB / 455.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.2743, allocations: 184.4 kB / 455.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2743, allocations: 0 / 455.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006125/0.2749, allocations: 175.7 kB / 455.5 MB, free: 14.35 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.0002868/0.2752, allocations: 155.1 kB / 455.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.2764, allocations: 0.5052 MB / 456.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2764, allocations: 0 / 456.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.2769, allocations: 252 kB / 456.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.2774, allocations: 50.66 kB / 456.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2796, allocations: 1.05 MB / 457.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2799, allocations: 245 kB / 457.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.2803, allocations: 75.34 kB / 457.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2804, allocations: 43.42 kB / 457.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2804, allocations: 0 / 457.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Templates: time 0.01173/0.2921, allocations: 5.672 MB / 463.6 MB, free: 6.34 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/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_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.546181656420231]