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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001837, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 80.11 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.378, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01792/0.3959, allocations: 15.52 MB / 0.5468 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.4083, allocations: 4.937 MB / 0.5516 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003281/0.4116, allocations: 107.7 kB / 0.5517 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009373/0.421, allocations: 4.992 MB / 0.5566 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007787/0.4289, allocations: 2.548 MB / 0.5591 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.432, allocations: 1.111 MB / 0.5602 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.4445, allocations: 6.883 MB / 0.5669 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.4547, allocations: 5.768 MB / 0.5726 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005032/0.4598, allocations: 2.395 MB / 0.5749 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.4655, allocations: 3.228 MB / 0.578 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002257/0.4678, allocations: 0.5039 MB / 0.5785 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004133/0.4719, allocations: 1.401 MB / 0.5799 GB, free: 104 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004693/0.4767, allocations: 2.996 MB / 0.5828 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007089/0.4838, allocations: 3.34 MB / 0.5861 GB, free: 9.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4977, allocations: 10.38 MB / 0.5962 GB, free: 15.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4977, allocations: 0 / 0.5962 GB, free: 15.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4978, allocations: 0 / 0.5962 GB, free: 15.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004148/0.4982, allocations: 0 / 0.5962 GB, free: 15.32 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.02089/0.5191, allocations: 7.4 MB / 0.6035 GB, free: 7.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5192, allocations: 16.03 kB / 0.6035 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.5327, allocations: 2.706 MB / 0.6061 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.5437, allocations: 4.277 MB / 0.6103 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.5441, allocations: 353.5 kB / 0.6106 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/0.5462, allocations: 483.7 kB / 0.6111 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.5778, allocations: 14.67 MB / 0.6254 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003055/0.5781, allocations: 67.47 kB / 0.6255 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/0.5799, allocations: 223.9 kB / 0.6257 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005365/0.5853, allocations: 2.746 MB / 0.6284 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02827/0.6136, allocations: 12.49 MB / 0.6406 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08291/0.6965, allocations: 58.01 MB / 0.6972 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/0.7162, allocations: 7.283 MB / 0.7043 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005718/0.722, allocations: 3.893 MB / 0.7081 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01798/0.74, allocations: 8.965 MB / 0.7169 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/0.7401, allocations: 80.42 kB / 0.717 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 6.613e-06/0.7401, allocations: 0 / 0.717 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3988/1.139, allocations: 32.72 MB / 0.7489 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/1.139, allocations: 239.6 kB / 0.7492 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.15, allocations: 6.653 MB / 0.7557 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007248/1.151, allocations: 65.7 kB / 0.7557 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002591/1.154, allocations: 4.374 MB / 0.76 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.155, allocations: 1.099 MB / 0.7611 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003872/1.159, allocations: 1.791 MB / 0.7628 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/1.159, allocations: 301.1 kB / 0.7631 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004821/1.164, allocations: 3.624 MB / 0.7666 GB, free: 131 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006676/1.17, allocations: 8.61 MB / 0.775 GB, free: 120 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.183, allocations: 13.15 MB / 0.7879 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/1.183, allocations: 51.94 kB / 0.7879 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02431/1.207, allocations: 14.04 MB / 0.8016 GB, free: 90.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002645/1.208, allocations: 80 kB / 0.8017 GB, free: 90.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003822/1.208, allocations: 172 kB / 0.8019 GB, free: 90.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00555/1.213, allocations: 2.257 MB / 0.8041 GB, free: 87.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006553/1.22, allocations: 2.02 MB / 0.8061 GB, free: 85.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/1.236, allocations: 14.22 MB / 0.82 GB, free: 71.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008607/1.244, allocations: 0.5056 MB / 0.8204 GB, free: 70.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.246, allocations: 0.5111 MB / 0.8209 GB, free: 70.23 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.005904/1.252, allocations: 2.98 MB / 0.8239 GB, free: 67.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/1.253, allocations: 0.5553 MB / 0.8244 GB, free: 66.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.266, allocations: 7.224 MB / 0.8315 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-05/1.266, allocations: 15.95 kB / 0.8315 GB, free: 59.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.266, allocations: 4 kB / 0.8315 GB, free: 59.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/1.268, allocations: 0.6148 MB / 0.8321 GB, free: 58.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/1.27, allocations: 55.94 kB / 0.8321 GB, free: 58.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.273, allocations: 199.7 kB / 0.8323 GB, free: 58.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005804/1.274, allocations: 197.9 kB / 0.8325 GB, free: 58.32 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01306/1.287, allocations: 7.606 MB / 0.8399 GB, free: 50.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0105/1.297, allocations: 9.51 MB / 0.8492 GB, free: 41.18 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002637/1.3, allocations: 2.583 MB / 0.8517 GB, free: 38.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007371/1.307, allocations: 4.236 MB / 0.8559 GB, free: 34.37 MB / 0.5606 GB Notification: Performance of Backend: time 6.31e-07/1.307, allocations: 0 / 0.8559 GB, free: 34.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.322, allocations: 6.733 MB / 0.8625 GB, free: 27.67 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02368/1.346, allocations: 13.87 MB / 0.876 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.3878/1.734, allocations: 75.75 MB / 0.95 GB, free: 212.3 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches