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.001367/0.001367, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001393/0.001393, allocations: 156.9 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.427/1.427, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.173e-06/1.173e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.565e-05, allocations: 4.672 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005191/0.005207, allocations: 3.922 MB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.008054, allocations: 1.634 MB / 330.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.008262, allocations: 12.22 kB / 330.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.01072, allocations: 1.004 MB / 331.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.01127, allocations: 269 kB / 331.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.01283, allocations: 0.7293 MB / 332.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.01351, allocations: 0.6565 MB / 333.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.01423, allocations: 467.9 kB / 333.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/0.01477, allocations: 406.3 kB / 334.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.01516, allocations: 279.9 kB / 334.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.222e-05/0.01525, allocations: 56.53 kB / 334.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004948/0.01574, allocations: 272.5 kB / 334.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.01587, allocations: 141.6 kB / 334.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.01612, allocations: 222.5 kB / 335.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.01726, allocations: 1.006 MB / 336.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01726, allocations: 0 / 336.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01726, allocations: 0 / 336.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01727, allocations: 5.25 kB / 336.1 MB, free: 9.234 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.003743/0.02102, allocations: 1.208 MB / 337.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.02105, allocations: 12.83 kB / 337.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.0225, allocations: 198 kB / 337.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.02271, allocations: 176.7 kB / 337.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.02277, allocations: 60.25 kB / 337.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.02288, allocations: 72.5 kB / 337.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.02432, allocations: 0.7974 MB / 338.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.02435, allocations: 8.188 kB / 338.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.02442, allocations: 24.38 kB / 338.6 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.02444, allocations: 27.92 kB / 338.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.02583, allocations: 0.6571 MB / 339.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.02972, allocations: 2.208 MB / 341.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.03166, allocations: 0.808 MB / 342.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.0323, allocations: 287.5 kB / 342.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.83e-05/0.03239, allocations: 28.62 kB / 342.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.03243, allocations: 39.22 kB / 342.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.023e-06/0.03243, allocations: 0 / 342.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002683/0.03511, allocations: 0.9912 MB / 343.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.03519, allocations: 111.5 kB / 343.8 MB, free: 2.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.03548, allocations: 261.5 kB / 344 MB, free: 1.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.03553, allocations: 41.7 kB / 344.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.03573, allocations: 304.4 kB / 344.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.03593, allocations: 253.8 kB / 344.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.03615, allocations: 134.6 kB / 344.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.03631, allocations: 350.8 kB / 345.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.03682, allocations: 229.9 kB / 345.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/0.03748, allocations: 408 kB / 345.7 MB, free: 44 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.03876, allocations: 0.6415 MB / 346.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.03876, allocations: 0 / 346.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001774/0.04054, allocations: 0.8305 MB / 347.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.04055, allocations: 8 kB / 347.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.04056, allocations: 7.938 kB / 347.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.04098, allocations: 137.9 kB / 347.3 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.04162, allocations: 163.7 kB / 347.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.04521, allocations: 3.505 MB / 351 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.04569, allocations: 91.56 kB / 351.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.04575, allocations: 39.92 kB / 351.1 MB, free: 10.36 MB / 318.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.0002555/0.04601, allocations: 205.5 kB / 351.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.04611, allocations: 39.77 kB / 351.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.04769, allocations: 0.7297 MB / 352.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.0477, allocations: 11.98 kB / 352.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.0477, allocations: 4 kB / 352.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.04771, allocations: 0 / 352.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.05017, allocations: 1.293 MB / 353.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.05017, allocations: 7.938 kB / 353.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.05069, allocations: 111.8 kB / 353.5 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/0.05099, allocations: 105.7 kB / 353.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.05103, allocations: 23.98 kB / 353.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/0.05413, allocations: 3.07 MB / 356.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.05414, allocations: 4.031 kB / 356.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.05622, allocations: 1.117 MB / 357.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.05628, allocations: 51.61 kB / 357.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.05635, allocations: 12 kB / 357.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.05674, allocations: 27.97 kB / 357.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.05687, allocations: 56.55 kB / 358 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.05691, allocations: 16 kB / 358 MB, free: 3.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.0571, allocations: 193.2 kB / 358.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0571, allocations: 0 / 358.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007755/0.05787, allocations: 223.6 kB / 358.4 MB, free: 2.773 MB / 318.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.000285/0.05816, allocations: 147.1 kB / 358.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.05975, allocations: 0.8445 MB / 359.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.05976, allocations: 0 / 359.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.06059, allocations: 0.5407 MB / 359.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.06102, allocations: 40.5 kB / 360 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.063, allocations: 1.051 MB / 361 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.06329, allocations: 261.5 kB / 361.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000291/0.06358, allocations: 84.25 kB / 361.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.06373, allocations: 52.48 kB / 361.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.06373, allocations: 0 / 361.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Templates: time 0.01329/0.07702, allocations: 6.148 MB / 367.5 MB, free: 9.574 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.497260361909866]