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.001168/0.001168, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003774/0.003774, allocations: 158.8 kB / 24.7 MB, free: 8.906 MB / 18.57 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.8312/0.8312, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.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.813e-06/1.813e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.996e-05, allocations: 9.312 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003847/0.003877, allocations: 3.936 MB / 329.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.006337, allocations: 1.634 MB / 331.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.006591, allocations: 12 kB / 331.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.008045, allocations: 0.9952 MB / 332.4 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.008613, allocations: 270 kB / 332.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.00966, allocations: 0.731 MB / 333.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.01019, allocations: 0.6605 MB / 334 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006181/0.0108, allocations: 469.3 kB / 334.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.01124, allocations: 407 kB / 334.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.01151, allocations: 271.2 kB / 335.1 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.01157, allocations: 56 kB / 335.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.01207, allocations: 275.5 kB / 335.5 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.01214, allocations: 147.4 kB / 335.6 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.01228, allocations: 219.4 kB / 335.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.01313, allocations: 1.009 MB / 336.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01314, allocations: 0 / 336.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01314, allocations: 0 / 336.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.01315, allocations: 0 / 336.8 MB, free: 4.289 MB / 298.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.002084/0.01524, allocations: 1.207 MB / 338 MB, free: 3.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.01527, allocations: 15.98 kB / 338.1 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006864/0.01596, allocations: 196.4 kB / 338.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.01615, allocations: 177.8 kB / 338.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.01621, allocations: 58.38 kB / 338.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.01632, allocations: 76.36 kB / 338.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.0173, allocations: 0.7877 MB / 339.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.01732, allocations: 192 / 339.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.01737, allocations: 36.38 kB / 339.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.01738, allocations: 19.94 kB / 339.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/0.01822, allocations: 0.6649 MB / 340.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.02067, allocations: 2.196 MB / 342.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.02178, allocations: 0.8118 MB / 343.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.02216, allocations: 291.5 kB / 343.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/0.02224, allocations: 28.64 kB / 343.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.02227, allocations: 43.44 kB / 343.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.925e-06/0.02228, allocations: 0 / 343.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001518/0.02379, allocations: 0.9871 MB / 344.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.02385, allocations: 115.4 kB / 344.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.02404, allocations: 265.5 kB / 344.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.02407, allocations: 41.64 kB / 344.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.0242, allocations: 296.4 kB / 345.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.02432, allocations: 261.8 kB / 345.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.02445, allocations: 134.6 kB / 345.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.02456, allocations: 346.8 kB / 345.8 MB, free: 11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.02486, allocations: 229.9 kB / 346.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.02525, allocations: 416 kB / 346.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.02595, allocations: 0.6337 MB / 347.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.02596, allocations: 4 kB / 347.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001031/0.02699, allocations: 0.8268 MB / 347.9 MB, free: 8.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.02701, allocations: 8 kB / 347.9 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.02702, allocations: 12.16 kB / 348 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.02731, allocations: 133.7 kB / 348.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.02764, allocations: 163.7 kB / 348.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.02984, allocations: 3.509 MB / 351.7 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.03011, allocations: 79.45 kB / 351.8 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.03015, allocations: 35.98 kB / 351.9 MB, free: 4.645 MB / 314.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.0002162/0.03036, allocations: 205.7 kB / 352.1 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.03043, allocations: 35.77 kB / 352.1 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.03135, allocations: 0.7375 MB / 352.8 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.03136, allocations: 8 kB / 352.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.03136, allocations: 0 / 352.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.03137, allocations: 11.92 kB / 352.9 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.0329, allocations: 1.286 MB / 354.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.03291, allocations: 3.938 kB / 354.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.03315, allocations: 115.9 kB / 354.3 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.03334, allocations: 117.6 kB / 354.4 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.03337, allocations: 16 kB / 354.4 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.03507, allocations: 3.07 MB / 357.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03507, allocations: 0 / 357.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.03629, allocations: 1.125 MB / 358.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.03634, allocations: 43.61 kB / 358.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.03638, allocations: 19.98 kB / 358.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.03657, allocations: 27.98 kB / 358.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.03668, allocations: 56.48 kB / 358.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.0367, allocations: 23.98 kB / 358.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.03682, allocations: 189.1 kB / 358.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03682, allocations: 0 / 358.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006037/0.03742, allocations: 215.6 kB / 359.1 MB, free: 13.05 MB / 330.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.0002565/0.03768, allocations: 151.2 kB / 359.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.03873, allocations: 0.86 MB / 360.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.03873, allocations: 0 / 360.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.03918, allocations: 0.529 MB / 360.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.0395, allocations: 44.48 kB / 360.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.04095, allocations: 1.071 MB / 361.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.04116, allocations: 265.5 kB / 362.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.04129, allocations: 64.41 kB / 362.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.04129, allocations: 0 / 362.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of Templates: time 0.01145/0.05274, allocations: 12.05 MB / 374.2 MB, free: 13.89 MB / 346.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=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.8820665860548615]