Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.0007549/0.0007549, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009315/0.001686, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006909/0.0006909, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009128/0.001604, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9313/0.9313, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07474/1.006, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.622e-06/7.654e-06, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003238/0.003246, allocations: 4.3 MB / 249.3 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004753, allocations: 1.739 MB / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.004871, allocations: 12 kB / 251.1 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009932/0.005864, allocations: 1.081 MB / 252.1 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.006145, allocations: 262 kB / 252.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.007193, allocations: 0.7392 MB / 253.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005584/0.007751, allocations: 0.6569 MB / 253.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005994/0.00835, allocations: 463.5 kB / 254.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.008809, allocations: 419 kB / 254.6 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.009142, allocations: 287.2 kB / 254.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/0.009215, allocations: 56 kB / 255 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.009692, allocations: 283.5 kB / 255.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.009778, allocations: 103.6 kB / 255.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.009975, allocations: 183.6 kB / 255.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007514/0.01073, allocations: 0.6501 MB / 256.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.01074, allocations: 0 / 256.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01074, allocations: 4 kB / 256.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.01076, allocations: 0 / 256.2 MB, free: 2.418 MB / 250.7 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.001851/0.01261, allocations: 1.445 MB / 257.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.438e-05/0.01263, allocations: 8.625 kB / 257.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.01341, allocations: 356.2 kB / 258 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.01352, allocations: 184.9 kB / 258.2 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.01355, allocations: 54.38 kB / 258.2 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.01362, allocations: 80.33 kB / 258.3 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.01411, allocations: 0.5694 MB / 258.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.01413, allocations: 192 / 258.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.01416, allocations: 32.38 kB / 258.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.01417, allocations: 19.94 kB / 258.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.01444, allocations: 221.7 kB / 259.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.01623, allocations: 1.817 MB / 261 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.01693, allocations: 0.6275 MB / 261.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.01709, allocations: 155.5 kB / 261.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.168e-05/0.01715, allocations: 28.62 kB / 261.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.01718, allocations: 47.22 kB / 261.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.793e-06/0.01718, allocations: 0 / 261.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007782/0.01796, allocations: 0.5538 MB / 262.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.01799, allocations: 85.77 kB / 262.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.01811, allocations: 244.8 kB / 262.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.01814, allocations: 37.7 kB / 262.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01824, allocations: 296.4 kB / 263 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.01835, allocations: 257.7 kB / 263.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.01846, allocations: 142.5 kB / 263.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.01854, allocations: 354.7 kB / 263.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.01862, allocations: 73.95 kB / 263.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.01879, allocations: 260 kB / 264.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.01908, allocations: 388.8 kB / 264.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01908, allocations: 0 / 264.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004284/0.01951, allocations: 468.9 kB / 264.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01952, allocations: 8 kB / 264.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01953, allocations: 4 kB / 264.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.01985, allocations: 157.6 kB / 265.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.02017, allocations: 175.7 kB / 265.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.02167, allocations: 3.018 MB / 268.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.02185, allocations: 75.52 kB / 268.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.02187, allocations: 27.97 kB / 268.4 MB, free: 5.641 MB / 266.7 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.0001055/0.02198, allocations: 153.7 kB / 268.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.02204, allocations: 55.92 kB / 268.6 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.02252, allocations: 407.5 kB / 269 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02252, allocations: 11.98 kB / 269 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.02253, allocations: 3.938 kB / 269 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02253, allocations: 3.984 kB / 269 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.02334, allocations: 0.7707 MB / 269.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.02335, allocations: 3.938 kB / 269.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.02358, allocations: 119.9 kB / 269.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.02361, allocations: 47.58 kB / 269.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.02391, allocations: 141.8 kB / 270.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.02394, allocations: 16 kB / 270.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.02546, allocations: 2.631 MB / 272.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02546, allocations: 0 / 272.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.02609, allocations: 0.6175 MB / 273.3 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.02613, allocations: 20.06 kB / 273.4 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.02634, allocations: 23.88 kB / 273.4 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.02642, allocations: 56.48 kB / 273.4 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.02644, allocations: 15.98 kB / 273.5 MB, free: 312 kB / 266.7 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.02651, allocations: 78.78 kB / 273.5 MB, free: 232 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02651, allocations: 0 / 273.5 MB, free: 232 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005514/0.02706, allocations: 223.5 kB / 273.7 MB, free: 8 kB / 266.7 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.0001746/0.02724, allocations: 140.2 kB / 273.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.02808, allocations: 0.6092 MB / 274.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.0281, allocations: 8.312 kB / 274.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.02842, allocations: 450.8 kB / 274.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.02875, allocations: 83.73 kB / 275 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.03509, allocations: 1.014 MB / 276 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.0352, allocations: 140.8 kB / 276.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.03544, allocations: 72.33 kB / 276.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.03561, allocations: 115.3 kB / 276.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03561, allocations: 8 kB / 276.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of Templates: time 0.01063/0.04624, allocations: 6.82 MB / 283.2 MB, free: 6.496 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5495058074593544]