Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.0009036/0.0009036, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004985/0.005889, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006831/0.0006831, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001739, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.904/0.904, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08001/0.984, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 3.984 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.499e-05, allocations: 10.88 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004586/0.004601, allocations: 4.275 MB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.006907, allocations: 1.673 MB / 245.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.007112, allocations: 12 kB / 245.5 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.008504, allocations: 1.073 MB / 246.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.00897, allocations: 262 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.0101, allocations: 0.7626 MB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006301/0.01073, allocations: 0.6608 MB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005996/0.01133, allocations: 459.5 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.01177, allocations: 427 kB / 249.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.01209, allocations: 287.2 kB / 249.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.01216, allocations: 56 kB / 249.5 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.01261, allocations: 263.6 kB / 249.7 MB, free: 8.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.01268, allocations: 99.62 kB / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.01286, allocations: 183.6 kB / 250 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.01354, allocations: 0.6422 MB / 250.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.01356, allocations: 0 / 250.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01356, allocations: 0 / 250.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.01358, allocations: 0 / 250.6 MB, free: 8.035 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.002446/0.01602, allocations: 1.421 MB / 252.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.01605, allocations: 8.031 kB / 252.1 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.01719, allocations: 376.1 kB / 252.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.01734, allocations: 180.9 kB / 252.6 MB, free: 5.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.01739, allocations: 66.31 kB / 252.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.01748, allocations: 76.36 kB / 252.7 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.01813, allocations: 0.5734 MB / 253.3 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.01815, allocations: 4.141 kB / 253.3 MB, free: 5.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.0182, allocations: 32.38 kB / 253.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.01821, allocations: 19.94 kB / 253.4 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.01857, allocations: 225 kB / 253.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.02086, allocations: 1.79 MB / 255.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009167/0.02178, allocations: 0.6272 MB / 256 MB, free: 2.457 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.02199, allocations: 155.8 kB / 256.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-05/0.02206, allocations: 24.64 kB / 256.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.02209, allocations: 43.22 kB / 256.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.02209, allocations: 0 / 256.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001024/0.02311, allocations: 0.55 MB / 256.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.02315, allocations: 85.77 kB / 256.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.02332, allocations: 244.8 kB / 257.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.02335, allocations: 37.73 kB / 257.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.02349, allocations: 300.3 kB / 257.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.02362, allocations: 253.8 kB / 257.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.02378, allocations: 142.5 kB / 257.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.02388, allocations: 346.7 kB / 258.2 MB, free: 216 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.02399, allocations: 77.95 kB / 258.2 MB, free: 140 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.02422, allocations: 272 kB / 258.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.0246, allocations: 376.8 kB / 258.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0246, allocations: 0 / 258.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005777/0.02518, allocations: 464.9 kB / 259.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.0252, allocations: 8 kB / 259.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.02521, allocations: 4 kB / 259.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.02562, allocations: 161.5 kB / 259.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.02605, allocations: 175.7 kB / 259.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.02787, allocations: 3.025 MB / 262.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.02811, allocations: 83.39 kB / 262.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.02814, allocations: 16 kB / 262.8 MB, free: 11.29 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.0001336/0.02828, allocations: 157.7 kB / 262.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.02837, allocations: 47.91 kB / 263 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.02892, allocations: 427.3 kB / 263.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.02893, allocations: 8 kB / 263.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02893, allocations: 3.938 kB / 263.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.02894, allocations: 3.984 kB / 263.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.02983, allocations: 0.7668 MB / 264.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.02984, allocations: 4 kB / 264.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.0301, allocations: 115.9 kB / 264.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.03014, allocations: 47.56 kB / 264.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/0.03042, allocations: 137.5 kB / 264.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.03045, allocations: 19.98 kB / 264.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.03183, allocations: 2.631 MB / 267.1 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03183, allocations: 0 / 267.1 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.03233, allocations: 0.6136 MB / 267.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.03237, allocations: 16 kB / 267.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.03251, allocations: 27.98 kB / 267.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.03258, allocations: 56.55 kB / 267.8 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.0326, allocations: 8 kB / 267.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.066e-05/0.03266, allocations: 86.75 kB / 267.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03266, allocations: 0 / 267.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.03312, allocations: 219.6 kB / 268.2 MB, free: 5.656 MB / 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.0002122/0.03333, allocations: 128.6 kB / 268.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.03389, allocations: 0.6056 MB / 268.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.03391, allocations: 8 kB / 268.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.03418, allocations: 447 kB / 269.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.03445, allocations: 83.3 kB / 269.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.03956, allocations: 1.084 MB / 270.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.565e-05/0.03966, allocations: 136.8 kB / 270.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.03986, allocations: 84.33 kB / 270.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.04001, allocations: 115.3 kB / 270.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04001, allocations: 0 / 270.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of Templates: time 0.008767/0.04877, allocations: 6.707 MB / 277.5 MB, free: 12.21 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.561524759978056]