Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001614/0.001614, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.00187/0.00187, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 47.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3664, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01456/0.3809, allocations: 9.831 MB / 441.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.391, allocations: 3.851 MB / 445.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.3934, allocations: 79.69 kB / 445.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007243/0.4006, allocations: 3.096 MB / 448.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.4067, allocations: 1.946 MB / 450.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.4091, allocations: 0.8188 MB / 451.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008364/0.4175, allocations: 4.405 MB / 455.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006474/0.424, allocations: 3.04 MB / 458.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.4286, allocations: 1.639 MB / 460.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006036/0.4346, allocations: 2.286 MB / 462.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001897/0.4365, allocations: 348 kB / 462.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004452/0.441, allocations: 1.139 MB / 464.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004168/0.4451, allocations: 2.053 MB / 466.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.45, allocations: 1.689 MB / 467.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.4642, allocations: 7.416 MB / 475.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4642, allocations: 0 / 475.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4642, allocations: 0 / 475.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002954/0.4645, allocations: 0 / 475.2 MB, free: 10.88 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01705/0.4816, allocations: 5.122 MB / 480.3 MB, free: 5.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4816, allocations: 12.03 kB / 480.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009313/0.4909, allocations: 2.151 MB / 482.5 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007782/0.4987, allocations: 2.728 MB / 485.2 MB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.4989, allocations: 238.2 kB / 485.5 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.5002, allocations: 319.9 kB / 485.8 MB, free: 208 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.522, allocations: 10.48 MB / 496.2 MB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/0.5221, allocations: 47.69 kB / 496.3 MB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004419/0.5225, allocations: 151.9 kB / 496.4 MB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004041/0.5266, allocations: 2.025 MB / 498.5 MB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.5457, allocations: 8.893 MB / 0.4955 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05485/0.6006, allocations: 38.29 MB / 0.5329 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2115/0.8121, allocations: 3.852 MB / 0.5366 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004556/0.8167, allocations: 2.304 MB / 0.5389 GB, free: 99.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.8316, allocations: 6.127 MB / 0.5449 GB, free: 97.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.8317, allocations: 65.58 kB / 0.5449 GB, free: 97.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 6.091e-06/0.8317, allocations: 3.25 kB / 0.5449 GB, free: 97.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04853/0.8802, allocations: 18.71 MB / 0.5632 GB, free: 84.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.8803, allocations: 175.5 kB / 0.5634 GB, free: 84.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.8841, allocations: 3.901 MB / 0.5672 GB, free: 80.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.8844, allocations: 53.7 kB / 0.5672 GB, free: 80.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.8855, allocations: 3.279 MB / 0.5704 GB, free: 77.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/0.8861, allocations: 0.7863 MB / 0.5712 GB, free: 76.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.8872, allocations: 1.294 MB / 0.5725 GB, free: 75.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.8873, allocations: 308.7 kB / 0.5727 GB, free: 74.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/0.8897, allocations: 2.382 MB / 0.5751 GB, free: 72.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/0.8932, allocations: 6.1 MB / 0.581 GB, free: 64.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006625/0.8998, allocations: 9.15 MB / 0.59 GB, free: 53.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-05/0.8999, allocations: 36 kB / 0.59 GB, free: 53.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01375/0.9136, allocations: 9.228 MB / 0.599 GB, free: 44.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.9137, allocations: 60 kB / 0.5991 GB, free: 44.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/0.9139, allocations: 131.9 kB / 0.5992 GB, free: 44.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004128/0.918, allocations: 1.191 MB / 0.6004 GB, free: 43.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006525/0.9246, allocations: 1.427 MB / 0.6018 GB, free: 41.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.9354, allocations: 7.097 MB / 0.6087 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006631/0.9421, allocations: 355.6 kB / 0.609 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/0.9432, allocations: 376 kB / 0.6094 GB, free: 33.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003906/0.9471, allocations: 2.17 MB / 0.6115 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009801/0.9481, allocations: 341.8 kB / 0.6118 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/0.9571, allocations: 3.985 MB / 0.6157 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/0.9571, allocations: 24 kB / 0.6157 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.9571, allocations: 8 kB / 0.6157 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/0.9571, allocations: 11.95 kB / 0.6158 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.9749, allocations: 8.252 MB / 0.6238 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.9749, allocations: 4 kB / 0.6238 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.9764, allocations: 320.5 kB / 0.6241 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.9788, allocations: 1.026 MB / 0.6251 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/0.979, allocations: 39.98 kB / 0.6252 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007208/0.9862, allocations: 6.675 MB / 0.6317 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9862, allocations: 11.94 kB / 0.6317 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008689/0.9949, allocations: 6.991 MB / 0.6385 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/0.9957, allocations: 313.6 kB / 0.6388 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000418/0.9962, allocations: 47.28 kB / 0.6389 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.9976, allocations: 115.8 kB / 0.639 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.9979, allocations: 133 kB / 0.6391 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.998, allocations: 56.47 kB / 0.6392 GB, free: 2.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002562/1.001, allocations: 2.259 MB / 0.6414 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/1.001, allocations: 0 / 0.6414 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00482/1.005, allocations: 1.035 MB / 0.6424 GB, free: 15.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * 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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005492/1.006, allocations: 194 kB / 0.6426 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.016, allocations: 5.486 MB / 0.6479 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.016, allocations: 0 / 0.6479 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003784/1.02, allocations: 1.931 MB / 0.6498 GB, free: 8.004 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.023, allocations: 413.2 kB / 0.6502 GB, free: 7.605 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/1.042, allocations: 10.17 MB / 0.6601 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004549/1.046, allocations: 2.841 MB / 0.6629 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004725/1.051, allocations: 1.947 MB / 0.6648 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008806/1.052, allocations: 235.4 kB / 0.665 GB, free: 8.25 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/1.052, allocations: 0 / 0.665 GB, free: 8.25 MB / 478.1 MB Notification: Performance of Templates: time 0.08433/1.136, allocations: 40.79 MB / 0.7049 GB, free: 15.95 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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: 6.73428553994745]