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.00145/0.00145, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001629/0.001629, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8879/0.8879, allocations: 177 MB / 205.2 MB, free: 5.039 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.2727/0.2727, allocations: 34.86 MB / 296.6 MB, free: 476 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.764e-06/1.764e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.317e-05, allocations: 2.312 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01667/0.0167, allocations: 14.62 MB / 340.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.0308, allocations: 5.048 MB / 345.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005027/0.03582, allocations: 119.4 kB / 345.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0095/0.04532, allocations: 5.373 MB / 351.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.05247, allocations: 2.667 MB / 353.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.055, allocations: 1.236 MB / 355 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009096/0.0641, allocations: 7.624 MB / 362.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00695/0.07105, allocations: 5.267 MB / 367.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008976/0.08002, allocations: 4.678 MB / 372.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004695/0.08472, allocations: 3.304 MB / 375.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.08608, allocations: 0.5078 MB / 376.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.08836, allocations: 1.354 MB / 377.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002731/0.09109, allocations: 3.191 MB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003182/0.09428, allocations: 1.971 MB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007482/0.1018, allocations: 6.703 MB / 389.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1018, allocations: 0 / 389.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1018, allocations: 0 / 389.6 MB, free: 7.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002962/0.1021, allocations: 0 / 389.6 MB, free: 7.215 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.01056/0.1126, allocations: 6.929 MB / 396.5 MB, free: 224 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1127, allocations: 12.03 kB / 396.5 MB, free: 212 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.1167, allocations: 1.507 MB / 398 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004663/0.1214, allocations: 3.021 MB / 401.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.1216, allocations: 361.5 kB / 401.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006816/0.1223, allocations: 480.1 kB / 401.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009415/0.1317, allocations: 7.258 MB / 409.1 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.1318, allocations: 59.5 kB / 409.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004531/0.1323, allocations: 223.8 kB / 409.4 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/0.1342, allocations: 2.364 MB / 411.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008834/0.143, allocations: 3.656 MB / 415.4 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1818/0.3248, allocations: 44.67 MB / 460.1 MB, free: 75.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006102/0.3309, allocations: 2.768 MB / 462.9 MB, free: 75.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007676/0.3317, allocations: 0.5745 MB / 463.4 MB, free: 75.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006354/0.3381, allocations: 4.904 MB / 468.3 MB, free: 74.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3381, allocations: 63.38 kB / 468.4 MB, free: 74.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 4.178e-06/0.3381, allocations: 0 / 468.4 MB, free: 74.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01915/0.3573, allocations: 8.145 MB / 476.6 MB, free: 72.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3573, allocations: 223.1 kB / 476.8 MB, free: 72.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/0.3609, allocations: 4.738 MB / 481.5 MB, free: 69.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.3611, allocations: 55.33 kB / 481.6 MB, free: 69.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3622, allocations: 4.405 MB / 486 MB, free: 65.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005191/0.3627, allocations: 0.8463 MB / 486.8 MB, free: 64.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.3638, allocations: 1.638 MB / 488.5 MB, free: 63.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.623e-05/0.3638, allocations: 301.1 kB / 488.7 MB, free: 63.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3653, allocations: 1.052 MB / 489.8 MB, free: 62.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.3677, allocations: 6.254 MB / 496.1 MB, free: 53.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.372, allocations: 8.024 MB / 0.4923 GB, free: 43.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.3721, allocations: 52 kB / 0.4923 GB, free: 43.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.006532/0.3787, allocations: 6.031 MB / 0.4982 GB, free: 37.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.3787, allocations: 89 kB / 0.4983 GB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.182e-05/0.3788, allocations: 188 kB / 0.4985 GB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.38, allocations: 0.5988 MB / 0.499 GB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.3828, allocations: 1.914 MB / 0.5009 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.3859, allocations: 4.217 MB / 0.505 GB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/0.3899, allocations: 379.6 kB / 0.5054 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004835/0.3904, allocations: 452 kB / 0.5058 GB, free: 29.02 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.001475/0.3918, allocations: 0.8354 MB / 0.5066 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.3924, allocations: 303.6 kB / 0.5069 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.3942, allocations: 1.378 MB / 0.5083 GB, free: 26.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.3942, allocations: 24 kB / 0.5083 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3942, allocations: 8 kB / 0.5083 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3942, allocations: 7.969 kB / 0.5083 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006586/0.4008, allocations: 5.781 MB / 0.514 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.4008, allocations: 8 kB / 0.514 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.4014, allocations: 284.4 kB / 0.5142 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.4027, allocations: 0.6159 MB / 0.5148 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.599e-05/0.4027, allocations: 40 kB / 0.5149 GB, free: 19.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.4052, allocations: 3.842 MB / 0.5186 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4052, allocations: 15.97 kB / 0.5187 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.408, allocations: 2.491 MB / 0.5211 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008931/0.4089, allocations: 452.5 kB / 0.5215 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.4092, allocations: 43.98 kB / 0.5216 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/0.41, allocations: 40 kB / 0.5216 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.4101, allocations: 144.7 kB / 0.5217 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.4102, allocations: 44 kB / 0.5218 GB, free: 12.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001489/0.4117, allocations: 1.769 MB / 0.5235 GB, free: 10.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4117, allocations: 0 / 0.5235 GB, free: 10.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004373/0.4161, allocations: 1.492 MB / 0.525 GB, free: 8.961 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.0003495/0.4164, allocations: 179.9 kB / 0.5251 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.4201, allocations: 3.568 MB / 0.5286 GB, free: 5.211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001893/0.4203, allocations: 120.2 kB / 0.5287 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.4211, allocations: 0.8311 MB / 0.5295 GB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.4241, allocations: 0.8895 MB / 0.5304 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.4403, allocations: 10.74 MB / 0.5409 GB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/0.4427, allocations: 1.781 MB / 0.5426 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002347/0.445, allocations: 0.6937 MB / 0.5433 GB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.4465, allocations: 0.7355 MB / 0.544 GB, free: 5.207 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/0.4465, allocations: 0 / 0.544 GB, free: 5.207 MB / 426.7 MB Notification: Performance of Templates: time 0.1213/0.5678, allocations: 45.26 MB / 0.5882 GB, free: 8.363 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 -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.621274671051651]