Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.001311/0.001311, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001606/0.001606, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.986/0.986, allocations: 177 MB / 205.2 MB, free: 5.066 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.264/0.264, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.245e-05, allocations: 8.922 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01119/0.01122, allocations: 14.67 MB / 340.6 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.0228, allocations: 5.037 MB / 345.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.0255, allocations: 123.4 kB / 345.8 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007165/0.03266, allocations: 5.288 MB / 351.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.03891, allocations: 2.637 MB / 353.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.0415, allocations: 1.216 MB / 354.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009688/0.05119, allocations: 7.622 MB / 362.6 MB, free: 2.395 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006756/0.05794, allocations: 5.045 MB / 367.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008214/0.06616, allocations: 4.616 MB / 372.2 MB, free: 8.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005233/0.07139, allocations: 3.301 MB / 375.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.073, allocations: 0.5078 MB / 376 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.07532, allocations: 1.397 MB / 377.4 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002812/0.07813, allocations: 3.199 MB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003089/0.08122, allocations: 1.975 MB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00829/0.08951, allocations: 6.695 MB / 389.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.08952, allocations: 0 / 389.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.08952, allocations: 3.984 kB / 389.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003801/0.0899, allocations: 0 / 389.3 MB, free: 7.496 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.009875/0.09977, allocations: 6.933 MB / 396.2 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.09981, allocations: 12.03 kB / 396.3 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/0.1037, allocations: 1.507 MB / 397.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/0.1078, allocations: 3.018 MB / 400.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.108, allocations: 357.5 kB / 401.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/0.1085, allocations: 480.1 kB / 401.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009101/0.1176, allocations: 7.254 MB / 408.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.1178, allocations: 63.44 kB / 408.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/0.1182, allocations: 223.8 kB / 409.1 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/0.1201, allocations: 2.364 MB / 411.5 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008138/0.1282, allocations: 3.651 MB / 415.1 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1979/0.3261, allocations: 44.67 MB / 459.8 MB, free: 75.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006189/0.3323, allocations: 2.777 MB / 462.6 MB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007482/0.3331, allocations: 0.5652 MB / 463.2 MB, free: 75.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006293/0.3394, allocations: 4.911 MB / 468.1 MB, free: 74.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3394, allocations: 57.06 kB / 468.1 MB, free: 74.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 4.549e-06/0.3394, allocations: 0 / 468.1 MB, free: 74.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01932/0.3587, allocations: 8.178 MB / 476.3 MB, free: 72.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3588, allocations: 233.6 kB / 476.5 MB, free: 72.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/0.3629, allocations: 4.74 MB / 481.3 MB, free: 69.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.363, allocations: 55.77 kB / 481.3 MB, free: 69.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.3643, allocations: 4.399 MB / 485.7 MB, free: 65.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006123/0.3649, allocations: 0.8479 MB / 486.6 MB, free: 64.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.3661, allocations: 1.633 MB / 488.2 MB, free: 63.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.3662, allocations: 301.1 kB / 488.5 MB, free: 63.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.3676, allocations: 1.059 MB / 489.6 MB, free: 62.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.3701, allocations: 6.249 MB / 495.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005068/0.3751, allocations: 8.026 MB / 0.492 GB, free: 43.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.104e-05/0.3752, allocations: 52 kB / 0.4921 GB, free: 43.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.007076/0.3823, allocations: 6.02 MB / 0.498 GB, free: 37.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/0.3824, allocations: 88 kB / 0.498 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/0.3825, allocations: 188.9 kB / 0.4982 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.3838, allocations: 0.602 MB / 0.4988 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.3869, allocations: 2.004 MB / 0.5008 GB, free: 34.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.3906, allocations: 4.231 MB / 0.5049 GB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005228/0.3959, allocations: 379.6 kB / 0.5053 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005624/0.3964, allocations: 455.9 kB / 0.5057 GB, free: 28.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1057 * Array equations: 5 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00187/0.3983, allocations: 0.8362 MB / 0.5065 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007348/0.399, allocations: 299.7 kB / 0.5068 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.4016, allocations: 1.378 MB / 0.5081 GB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.4017, allocations: 27.98 kB / 0.5082 GB, free: 26.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4017, allocations: 4 kB / 0.5082 GB, free: 26.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.4017, allocations: 11.95 kB / 0.5082 GB, free: 26.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.4118, allocations: 5.771 MB / 0.5138 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.4118, allocations: 11.44 kB / 0.5138 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.4128, allocations: 315.6 kB / 0.5141 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.4147, allocations: 0.6207 MB / 0.5147 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.4149, allocations: 43.98 kB / 0.5148 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.4186, allocations: 3.842 MB / 0.5185 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4186, allocations: 12.03 kB / 0.5185 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.4225, allocations: 2.491 MB / 0.521 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008391/0.4233, allocations: 460.4 kB / 0.5214 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/0.4238, allocations: 43.94 kB / 0.5215 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.425, allocations: 40 kB / 0.5215 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.4253, allocations: 136.7 kB / 0.5216 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.4254, allocations: 51.97 kB / 0.5217 GB, free: 12.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002165/0.4276, allocations: 1.769 MB / 0.5234 GB, free: 10.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4276, allocations: 0 / 0.5234 GB, free: 10.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00633/0.4339, allocations: 1.492 MB / 0.5249 GB, free: 8.809 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (164): * Single equations (assignments): 159 * Array equations: 3 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004207/0.4343, allocations: 179.9 kB / 0.525 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007798/0.4421, allocations: 3.571 MB / 0.5285 GB, free: 5.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002355/0.4423, allocations: 128 kB / 0.5286 GB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.4434, allocations: 0.8189 MB / 0.5294 GB, free: 4.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006637/0.4501, allocations: 0.8944 MB / 0.5303 GB, free: 3.227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.4644, allocations: 10.73 MB / 0.5408 GB, free: 8.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.4659, allocations: 1.781 MB / 0.5425 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001701/0.4676, allocations: 0.6936 MB / 0.5432 GB, free: 5.789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.4686, allocations: 0.7316 MB / 0.5439 GB, free: 5.055 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4686, allocations: 4 kB / 0.5439 GB, free: 5.051 MB / 426.7 MB Notification: Performance of Templates: time 0.06348/0.5321, allocations: 45.25 MB / 0.5881 GB, free: 8.211 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.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: 4.457636980805546]