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.001215/0.001215, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009888/0.0009888, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9447/0.9447, allocations: 177 MB / 204.8 MB, free: 5.566 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.2419/0.2419, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 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.964e-06/1.964e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.235e-05, allocations: 4.984 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01126/0.01129, allocations: 15 MB / 393.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.01854, allocations: 4.863 MB / 398.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.01958, allocations: 123.4 kB / 398.8 MB, free: 14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005056/0.02464, allocations: 5.374 MB / 404.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.02828, allocations: 2.651 MB / 406.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.02992, allocations: 1.232 MB / 408 MB, free: 4.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006296/0.03622, allocations: 7.653 MB / 415.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004402/0.04062, allocations: 5.138 MB / 420.8 MB, free: 7.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.04509, allocations: 4.694 MB / 425.5 MB, free: 3.117 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.04808, allocations: 3.472 MB / 429 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006971/0.04877, allocations: 0.5156 MB / 429.5 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.05023, allocations: 1.354 MB / 430.8 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.05219, allocations: 3.218 MB / 434.1 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.05352, allocations: 1.975 MB / 436 MB, free: 8.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004727/0.05824, allocations: 6.703 MB / 442.7 MB, free: 1.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.05825, allocations: 4 kB / 442.7 MB, free: 1.828 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.05825, allocations: 0 / 442.7 MB, free: 1.828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.243e-05/0.0583, allocations: 0 / 442.7 MB, free: 1.828 MB / 410.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.1469/0.2052, allocations: 8.096 MB / 450.8 MB, free: 94.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2052, allocations: 9.344 kB / 450.8 MB, free: 94.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007363/0.2126, allocations: 3.305 MB / 454.2 MB, free: 94.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.2174, allocations: 3.653 MB / 457.8 MB, free: 92.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.2175, allocations: 354.5 kB / 458.2 MB, free: 92.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005691/0.2181, allocations: 479.4 kB / 458.6 MB, free: 92.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.2297, allocations: 9.127 MB / 467.7 MB, free: 87.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/0.2298, allocations: 65.62 kB / 467.8 MB, free: 87.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/0.2303, allocations: 225.7 kB / 468 MB, free: 87.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.2326, allocations: 2.524 MB / 470.6 MB, free: 86.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.2434, allocations: 4.787 MB / 475.3 MB, free: 86.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03714/0.2806, allocations: 62.38 MB / 0.5251 GB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007005/0.2876, allocations: 3.69 MB / 0.5287 GB, free: 28.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008845/0.2884, allocations: 0.8234 MB / 0.5295 GB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005318/0.2938, allocations: 5.662 MB / 0.5351 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2938, allocations: 58.55 kB / 0.5351 GB, free: 22.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 3.606e-06/0.2938, allocations: 0 / 0.5351 GB, free: 22.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.0257/0.3195, allocations: 16.92 MB / 0.5516 GB, free: 5.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3196, allocations: 227.1 kB / 0.5519 GB, free: 4.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.3236, allocations: 5.321 MB / 0.557 GB, free: 15.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3237, allocations: 57.7 kB / 0.5571 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002551/0.3262, allocations: 4.991 MB / 0.562 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005892/0.3268, allocations: 0.8664 MB / 0.5628 GB, free: 9.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/0.3283, allocations: 1.87 MB / 0.5646 GB, free: 7.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.3284, allocations: 480.8 kB / 0.5651 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.33, allocations: 0.8989 MB / 0.566 GB, free: 6.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004845/0.3349, allocations: 8.865 MB / 0.5746 GB, free: 9.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008496/0.3434, allocations: 10.71 MB / 0.5851 GB, free: 11.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/0.3435, allocations: 63.19 kB / 0.5852 GB, free: 11.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.01296/0.3564, allocations: 7.83 MB / 0.5928 GB, free: 3.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.917e-05/0.3565, allocations: 84 kB / 0.5929 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/0.3567, allocations: 188 kB / 0.5931 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.3589, allocations: 0.8266 MB / 0.5939 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/0.3632, allocations: 1.981 MB / 0.5958 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005508/0.3687, allocations: 5.619 MB / 0.6013 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/0.3731, allocations: 0.5189 MB / 0.6018 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005421/0.3736, allocations: 0.5123 MB / 0.6023 GB, free: 9.797 MB / 474.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.001704/0.3753, allocations: 0.8825 MB / 0.6032 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.3762, allocations: 0.528 MB / 0.6037 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.3798, allocations: 1.942 MB / 0.6056 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.3798, allocations: 24 kB / 0.6056 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3798, allocations: 4 kB / 0.6056 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.3798, allocations: 7.969 kB / 0.6056 GB, free: 6.367 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1562/0.536, allocations: 7.302 MB / 0.6127 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.536, allocations: 9.938 kB / 0.6127 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.5368, allocations: 332.5 kB / 0.6131 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.5382, allocations: 0.5329 MB / 0.6136 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.5383, allocations: 41.39 kB / 0.6136 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.5418, allocations: 5.211 MB / 0.6187 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5418, allocations: 15.94 kB / 0.6187 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004149/0.5459, allocations: 3.393 MB / 0.622 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/0.5466, allocations: 483.4 kB / 0.6225 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/0.547, allocations: 43.7 kB / 0.6225 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/0.5479, allocations: 152.7 kB / 0.6227 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.5481, allocations: 141.3 kB / 0.6228 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-05/0.5481, allocations: 65.97 kB / 0.6229 GB, free: 126.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002601/0.5507, allocations: 2.272 MB / 0.6251 GB, free: 126.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5507, allocations: 0 / 0.6251 GB, free: 126.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004595/0.5553, allocations: 1.499 MB / 0.6266 GB, free: 126.2 MB / 474.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.0004/0.5557, allocations: 202.9 kB / 0.6268 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004754/0.5605, allocations: 4.264 MB / 0.6309 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.5605, allocations: 2.875 kB / 0.6309 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.5615, allocations: 1.115 MB / 0.632 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.5632, allocations: 0.6079 MB / 0.6326 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.5747, allocations: 11.02 MB / 0.6434 GB, free: 120.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.5763, allocations: 1.792 MB / 0.6451 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00343/0.5798, allocations: 2.16 MB / 0.6472 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/0.5804, allocations: 318.7 kB / 0.6475 GB, free: 119.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5804, allocations: 0.9844 kB / 0.6475 GB, free: 119.9 MB / 474.7 MB Notification: Performance of Templates: time 0.05943/0.6398, allocations: 42.8 MB / 0.6893 GB, free: 92.68 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.893011316191405]