Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.00177/0.00177, allocations: 86.67 kB / 21.44 MB, free: 276 kB / 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.002153/0.002153, allocations: 160.2 kB / 24.7 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.183e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.008442/0.008473, allocations: 3.866 MB / 302.8 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005042/0.01352, allocations: 1.593 MB / 304.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.01399, allocations: 12 kB / 304.4 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.01833, allocations: 1.003 MB / 305.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.01977, allocations: 262 kB / 305.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.02273, allocations: 0.7122 MB / 306.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.02399, allocations: 0.6644 MB / 307.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.02525, allocations: 473.3 kB / 307.5 MB, free: 84 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.02619, allocations: 414.9 kB / 307.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007308/0.02692, allocations: 275.2 kB / 308.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.02706, allocations: 60 kB / 308.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.02799, allocations: 259.6 kB / 308.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.02818, allocations: 139.4 kB / 308.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.02859, allocations: 223.4 kB / 308.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.03069, allocations: 0.9891 MB / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.0307, allocations: 0 / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.0307, allocations: 0 / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.03071, allocations: 0 / 309.9 MB, free: 13.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006905/0.03762, allocations: 1.196 MB / 311.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.03768, allocations: 15.98 kB / 311.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.04077, allocations: 208.3 kB / 311.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.04114, allocations: 180.8 kB / 311.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/0.04124, allocations: 58.38 kB / 311.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.04148, allocations: 76.36 kB / 311.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.04417, allocations: 0.7877 MB / 312.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.04422, allocations: 4.141 kB / 312.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.04435, allocations: 36.31 kB / 312.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.04438, allocations: 23.88 kB / 312.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.0471, allocations: 0.661 MB / 313.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007479/0.05458, allocations: 2.173 MB / 315.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/0.05816, allocations: 0.8038 MB / 316.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.05945, allocations: 295.5 kB / 316.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.05959, allocations: 16.94 kB / 316.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.039e-05/0.05966, allocations: 51.14 kB / 316.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.368e-06/0.05966, allocations: 0 / 316.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005115/0.06478, allocations: 0.9793 MB / 317.4 MB, free: 5.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.06491, allocations: 115.4 kB / 317.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.06545, allocations: 265.5 kB / 317.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.17e-05/0.06554, allocations: 37.7 kB / 317.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.06592, allocations: 308.3 kB / 318.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.06633, allocations: 249.9 kB / 318.4 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.06674, allocations: 130.6 kB / 318.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002956/0.06704, allocations: 354.8 kB / 318.8 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.06812, allocations: 233.9 kB / 319.1 MB, free: 4.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.06948, allocations: 404 kB / 319.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.07262, allocations: 0.6414 MB / 320.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.07263, allocations: 0 / 320.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003429/0.07606, allocations: 0.8268 MB / 320.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.07609, allocations: 8 kB / 320.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.07611, allocations: 15.86 kB / 320.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007775/0.07689, allocations: 121.7 kB / 321.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.07815, allocations: 160 kB / 321.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1558/0.234, allocations: 3.505 MB / 324.7 MB, free: 32.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.2346, allocations: 81.38 kB / 324.8 MB, free: 32.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.2347, allocations: 31.8 kB / 324.8 MB, free: 32.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003067/0.235, allocations: 205.7 kB / 325 MB, free: 32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2351, allocations: 42.39 kB / 325.1 MB, free: 32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.2368, allocations: 0.7411 MB / 325.8 MB, free: 31.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2368, allocations: 7.344 kB / 325.8 MB, free: 31.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2368, allocations: 4.938 kB / 325.8 MB, free: 31.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2368, allocations: 5.469 kB / 325.8 MB, free: 31.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.2392, allocations: 1.288 MB / 327.1 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2392, allocations: 0 / 327.1 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.2397, allocations: 114.7 kB / 327.2 MB, free: 31.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.24, allocations: 115.3 kB / 327.4 MB, free: 31.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/0.2401, allocations: 19.34 kB / 327.4 MB, free: 31.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.2424, allocations: 3.074 MB / 330.4 MB, free: 28.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2424, allocations: 0 / 330.4 MB, free: 28.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.2445, allocations: 1.117 MB / 331.6 MB, free: 27.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2446, allocations: 51.91 kB / 331.6 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.2447, allocations: 18.69 kB / 331.6 MB, free: 27.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.2451, allocations: 31.23 kB / 331.7 MB, free: 27.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.2453, allocations: 55.66 kB / 331.7 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.2454, allocations: 19.72 kB / 331.7 MB, free: 27.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.2456, allocations: 177.9 kB / 331.9 MB, free: 27.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2456, allocations: 0 / 331.9 MB, free: 27.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009542/0.2465, allocations: 219.5 kB / 332.1 MB, free: 27.61 MB / 302.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002684/0.2468, allocations: 146.2 kB / 332.3 MB, free: 27.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.2484, allocations: 0.8469 MB / 333.1 MB, free: 27.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2484, allocations: 1.125 kB / 333.1 MB, free: 27.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.2493, allocations: 0.5322 MB / 333.6 MB, free: 26.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.2498, allocations: 44.67 kB / 333.7 MB, free: 26.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2519, allocations: 1.079 MB / 334.8 MB, free: 26.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2521, allocations: 266.6 kB / 335 MB, free: 26.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.2525, allocations: 78.33 kB / 335.1 MB, free: 26.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2527, allocations: 53.78 kB / 335.2 MB, free: 26.02 MB / 302.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2527, allocations: 0 / 335.2 MB, free: 26.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01305/0.2657, allocations: 5.979 MB / 341.1 MB, free: 24.51 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.679672859609127]