Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 43.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2261, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00568/0.2317, allocations: 4.233 MB / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2345, allocations: 1.654 MB / 426.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.2347, allocations: 12 kB / 426.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.2369, allocations: 1.011 MB / 427.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.2374, allocations: 242.2 kB / 428 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.239, allocations: 0.7928 MB / 428.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000654/0.2396, allocations: 0.6222 MB / 429.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.2403, allocations: 380.8 kB / 429.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.2406, allocations: 271 kB / 430.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.241, allocations: 338.7 kB / 430.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.776e-05/0.2411, allocations: 56 kB / 430.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.2416, allocations: 267.7 kB / 430.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.2417, allocations: 135.5 kB / 430.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.242, allocations: 310.5 kB / 431.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2431, allocations: 0.922 MB / 432.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.2431, allocations: 0 / 432.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2431, allocations: 0 / 432.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2431, allocations: 0 / 432.1 MB, free: 3.855 MB / 334.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.003536/0.2466, allocations: 1.224 MB / 433.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2466, allocations: 8.031 kB / 433.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.2478, allocations: 180.4 kB / 433.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.248, allocations: 237.7 kB / 433.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.2481, allocations: 54.31 kB / 433.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2482, allocations: 68.38 kB / 433.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.2495, allocations: 0.7077 MB / 434.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.2495, allocations: 4 kB / 434.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.2496, allocations: 24 kB / 434.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.2496, allocations: 16 kB / 434.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.251, allocations: 0.6063 MB / 435.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.2545, allocations: 2.309 MB / 437.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.2563, allocations: 1.575 MB / 439.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.2569, allocations: 243.4 kB / 439.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.257, allocations: 93.66 kB / 439.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.257, allocations: 43.12 kB / 439.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.257, allocations: 4 kB / 439.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001755/0.2588, allocations: 0.7017 MB / 440.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.2589, allocations: 107.4 kB / 440.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2592, allocations: 260.9 kB / 440.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.2592, allocations: 41.83 kB / 440.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.2594, allocations: 272.7 kB / 440.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.2596, allocations: 234 kB / 441 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.2598, allocations: 118.6 kB / 441.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.26, allocations: 346.8 kB / 441.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.2605, allocations: 209.9 kB / 441.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.2611, allocations: 305.3 kB / 442 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.2621, allocations: 0.5142 MB / 442.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2621, allocations: 4 kB / 442.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001315/0.2634, allocations: 0.6336 MB / 443.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2634, allocations: 11.12 kB / 443.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2634, allocations: 0 / 443.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2635, allocations: 4 kB / 443.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.2642, allocations: 167.7 kB / 443.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2642, allocations: 8.188 kB / 443.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.2647, allocations: 71.55 kB / 443.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.2647, allocations: 23.98 kB / 443.4 MB, free: 7.867 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.0002452/0.265, allocations: 185.7 kB / 443.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.2651, allocations: 39.77 kB / 443.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.2664, allocations: 0.6084 MB / 444.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.2664, allocations: 8 kB / 444.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2664, allocations: 0 / 444.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2664, allocations: 7.984 kB / 444.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.2686, allocations: 1.29 MB / 445.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2686, allocations: 0 / 445.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.2692, allocations: 131.8 kB / 445.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2692, allocations: 4 kB / 445.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.2693, allocations: 16 kB / 445.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.2693, allocations: 3.938 kB / 445.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2693, allocations: 4 kB / 445.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.271, allocations: 0.9793 MB / 446.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2711, allocations: 120.8 kB / 446.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.2712, allocations: 15.94 kB / 446.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.2716, allocations: 31.91 kB / 446.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2717, allocations: 40.5 kB / 446.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.2717, allocations: 16 kB / 446.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.2719, allocations: 192.5 kB / 447.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2719, allocations: 4.062 kB / 447.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.2725, allocations: 179.7 kB / 447.3 MB, free: 3.895 MB / 350.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.0002387/0.2728, allocations: 147.1 kB / 447.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.2739, allocations: 0.5038 MB / 447.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2739, allocations: 8.312 kB / 447.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.2744, allocations: 247.1 kB / 448.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.2749, allocations: 48.34 kB / 448.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.2771, allocations: 1.091 MB / 449.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.2775, allocations: 0.8499 MB / 450.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.2779, allocations: 79.39 kB / 450.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.278, allocations: 43.42 kB / 450.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.278, allocations: 4 kB / 450.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Templates: time 0.01105/0.2891, allocations: 5.422 MB / 455.7 MB, free: 11.44 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.475713270716369]