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.001703/0.001703, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.001882/0.001882, allocations: 206 kB / 23.72 MB, free: 4.492 MB / 14.72 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 1.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2342/0.2342, allocations: 46.93 MB / 360.8 MB, free: 3.914 MB / 286.1 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 0.002362/0.002362, allocations: 87.8 kB / 0.4967 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3635, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01797/0.3815, allocations: 13.5 MB / 0.5744 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3924, allocations: 4.733 MB / 0.579 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.3949, allocations: 123.4 kB / 0.5791 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009867/0.4048, allocations: 4.856 MB / 0.5838 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007235/0.412, allocations: 2.564 MB / 0.5864 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.4149, allocations: 1.1 MB / 0.5874 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.4257, allocations: 6.9 MB / 0.5942 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00687/0.4325, allocations: 4.443 MB / 0.5985 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.4369, allocations: 2.438 MB / 0.6009 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/0.4425, allocations: 3.255 MB / 0.6041 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.4443, allocations: 0.5039 MB / 0.6046 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.4477, allocations: 1.303 MB / 0.6058 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004196/0.4519, allocations: 3.054 MB / 0.6088 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005307/0.4572, allocations: 2.493 MB / 0.6112 GB, free: 468 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.473, allocations: 10.47 MB / 0.6215 GB, free: 5.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4731, allocations: 0 / 0.6215 GB, free: 5.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4731, allocations: 0 / 0.6215 GB, free: 5.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003678/0.4734, allocations: 4 kB / 0.6215 GB, free: 5.934 MB / 462.1 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.02304/0.4965, allocations: 7.521 MB / 0.6288 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4965, allocations: 8.031 kB / 0.6288 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.5108, allocations: 2.758 MB / 0.6315 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.5212, allocations: 4.199 MB / 0.6356 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/0.5216, allocations: 357.5 kB / 0.636 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.5232, allocations: 483.6 kB / 0.6364 GB, free: 6.461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/0.5542, allocations: 14.73 MB / 0.6508 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/0.5545, allocations: 71.45 kB / 0.6509 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001628/0.5562, allocations: 223.8 kB / 0.6511 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005498/0.5617, allocations: 2.746 MB / 0.6538 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/0.59, allocations: 12.45 MB / 0.6659 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0799/0.6699, allocations: 54.46 MB / 0.7191 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/0.6902, allocations: 6.58 MB / 0.7255 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005797/0.696, allocations: 3.574 MB / 0.729 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3626/1.059, allocations: 7.657 MB / 0.7365 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/1.059, allocations: 65.41 kB / 0.7366 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 9.347e-06/1.059, allocations: 3.438 kB / 0.7366 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.1111/1.17, allocations: 32.77 MB / 0.7686 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/1.17, allocations: 239.6 kB / 0.7688 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006208/1.176, allocations: 5.548 MB / 0.7742 GB, free: 127 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008039/1.177, allocations: 69.7 kB / 0.7743 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002506/1.179, allocations: 4.593 MB / 0.7788 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002037/1.181, allocations: 1.145 MB / 0.7799 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002925/1.184, allocations: 1.797 MB / 0.7816 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/1.184, allocations: 305.1 kB / 0.7819 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00455/1.189, allocations: 3.617 MB / 0.7855 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006789/1.196, allocations: 8.657 MB / 0.7939 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.208, allocations: 13.15 MB / 0.8068 GB, free: 89.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001808/1.208, allocations: 52 kB / 0.8068 GB, free: 89.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02163/1.23, allocations: 13.94 MB / 0.8204 GB, free: 75.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.23, allocations: 80 kB / 0.8205 GB, free: 75.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001935/1.23, allocations: 180 kB / 0.8207 GB, free: 74.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005126/1.235, allocations: 2.265 MB / 0.8229 GB, free: 72.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006183/1.241, allocations: 2.012 MB / 0.8249 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.257, allocations: 13.82 MB / 0.8384 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009727/1.266, allocations: 0.5033 MB / 0.8389 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/1.268, allocations: 0.5038 MB / 0.8393 GB, free: 55.56 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * 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 (1058): * Single equations (assignments): 1051 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005847/1.274, allocations: 2.988 MB / 0.8423 GB, free: 52.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.276, allocations: 496.7 kB / 0.8427 GB, free: 52.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.287, allocations: 7.104 MB / 0.8497 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.244e-05/1.287, allocations: 35.98 kB / 0.8497 GB, free: 44.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/1.287, allocations: 8 kB / 0.8497 GB, free: 44.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/1.287, allocations: 19.89 kB / 0.8497 GB, free: 44.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02374/1.311, allocations: 13.3 MB / 0.8627 GB, free: 31.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.311, allocations: 4 kB / 0.8627 GB, free: 31.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.313, allocations: 495.2 kB / 0.8632 GB, free: 31.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/1.318, allocations: 2.018 MB / 0.8652 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004438/1.319, allocations: 55.98 kB / 0.8652 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/1.334, allocations: 13.21 MB / 0.8781 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.334, allocations: 7.938 kB / 0.8781 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.351, allocations: 11.39 MB / 0.8893 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.352, allocations: 448.5 kB / 0.8897 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/1.354, allocations: 55.94 kB / 0.8897 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/1.358, allocations: 199.7 kB / 0.8899 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007841/1.359, allocations: 189.5 kB / 0.8901 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003951/1.359, allocations: 76 kB / 0.8902 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005675/1.365, allocations: 3.237 MB / 0.8933 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.365, allocations: 0 / 0.8933 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00852/1.373, allocations: 1.57 MB / 0.8949 GB, free: 14.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008249/1.374, allocations: 198.7 kB / 0.8951 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.39, allocations: 8.395 MB / 0.9033 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-05/1.39, allocations: 4 kB / 0.9033 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007094/1.397, allocations: 3.259 MB / 0.9064 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/1.402, allocations: 0.5984 MB / 0.907 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/1.432, allocations: 15.04 MB / 0.9217 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007398/1.44, allocations: 4.046 MB / 0.9257 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007234/1.447, allocations: 2.667 MB / 0.9283 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/1.449, allocations: 339.4 kB / 0.9286 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.413e-06/1.449, allocations: 0 / 0.9286 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.372/1.821, allocations: 61.89 MB / 0.989 GB, free: 224.7 MB / 0.6544 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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: 8.676918003708124]