Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001373/0.001373, allocations: 87.58 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001425/0.001425, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 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 0.8814/0.8814, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.054e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003829/0.00385, allocations: 4.322 MB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.005852, allocations: 1.685 MB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.006029, allocations: 12 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.007315, allocations: 1.085 MB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.007738, allocations: 273.9 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.008685, allocations: 0.7355 MB / 281.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.009256, allocations: 0.6646 MB / 281.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.009836, allocations: 457.4 kB / 282.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.01026, allocations: 399.1 kB / 282.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.01056, allocations: 283.2 kB / 282.9 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.01063, allocations: 56 kB / 282.9 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.01107, allocations: 279.5 kB / 283.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.01114, allocations: 139.4 kB / 283.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.01129, allocations: 223.4 kB / 283.6 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.01194, allocations: 0.7123 MB / 284.3 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01195, allocations: 4 kB / 284.3 MB, free: 6.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01195, allocations: 0 / 284.3 MB, free: 6.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.01195, allocations: 0 / 284.3 MB, free: 6.195 MB / 266.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.002004/0.01396, allocations: 1.319 MB / 285.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.01399, allocations: 8.031 kB / 285.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.01483, allocations: 335.9 kB / 285.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.01497, allocations: 186.3 kB / 286.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.01501, allocations: 58.38 kB / 286.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.01509, allocations: 72.38 kB / 286.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.01582, allocations: 0.6326 MB / 286.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.01583, allocations: 4.188 kB / 286.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.01588, allocations: 28.38 kB / 286.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.01589, allocations: 19.94 kB / 286.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.01639, allocations: 359.6 kB / 287.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.01864, allocations: 2.233 MB / 289.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.01958, allocations: 0.7242 MB / 290.2 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1035/0.1231, allocations: 199 kB / 290.4 MB, free: 20.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.1232, allocations: 32.88 kB / 290.5 MB, free: 20.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1233, allocations: 43.7 kB / 290.5 MB, free: 20.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.927e-06/0.1233, allocations: 1.469 kB / 290.5 MB, free: 20.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001695/0.125, allocations: 0.7268 MB / 291.2 MB, free: 20.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.125, allocations: 112.5 kB / 291.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1252, allocations: 308.9 kB / 291.6 MB, free: 20.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1252, allocations: 40.86 kB / 291.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1254, allocations: 354.8 kB / 292 MB, free: 19.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.1255, allocations: 256.8 kB / 292.3 MB, free: 19.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.1257, allocations: 149.2 kB / 292.4 MB, free: 19.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.1258, allocations: 0.5241 MB / 292.9 MB, free: 19.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.126, allocations: 118.1 kB / 293.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.1263, allocations: 358.6 kB / 293.4 MB, free: 19.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.1269, allocations: 495.3 kB / 293.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1269, allocations: 1.188 kB / 293.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001023/0.128, allocations: 0.6544 MB / 294.5 MB, free: 18.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.128, allocations: 6.438 kB / 294.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.128, allocations: 5.625 kB / 294.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.1286, allocations: 168.5 kB / 294.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.129, allocations: 154.9 kB / 294.9 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.131, allocations: 4.445 MB / 299.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.1313, allocations: 83.17 kB / 299.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.1314, allocations: 33.77 kB / 299.4 MB, free: 14.77 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.0001453/0.1315, allocations: 202.8 kB / 299.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1316, allocations: 66.11 kB / 299.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009009/0.1325, allocations: 0.5489 MB / 300.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.1325, allocations: 16.06 kB / 300.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1325, allocations: 5.812 kB / 300.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1325, allocations: 5.062 kB / 300.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.1341, allocations: 1.146 MB / 301.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1341, allocations: 0 / 301.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.1345, allocations: 104 kB / 301.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.1349, allocations: 161.8 kB / 301.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.135, allocations: 16.94 kB / 301.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.1365, allocations: 3.871 MB / 305.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1365, allocations: 0 / 305.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1376, allocations: 0.8864 MB / 306.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.1376, allocations: 52.45 kB / 306.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.1377, allocations: 12.23 kB / 306.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1379, allocations: 19.7 kB / 306.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.138, allocations: 55.72 kB / 306.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.138, allocations: 19.7 kB / 306.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1382, allocations: 204.5 kB / 306.8 MB, free: 10 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1382, allocations: 0 / 306.8 MB, free: 10 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007203/0.1389, allocations: 223.3 kB / 307 MB, free: 9.957 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.0002152/0.1391, allocations: 161.2 kB / 307.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009211/0.14, allocations: 0.8063 MB / 308 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.14, allocations: 1.312 kB / 308 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.1404, allocations: 0.584 MB / 308.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.1409, allocations: 50.14 kB / 308.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1423, allocations: 0.9937 MB / 309.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.1425, allocations: 135.4 kB / 309.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.1426, allocations: 80.55 kB / 309.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1427, allocations: 45.45 kB / 309.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1428, allocations: 1.156 kB / 309.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of Templates: time 0.008654/0.1514, allocations: 6.755 MB / 316.6 MB, free: 5.742 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.888777127955109]