Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000945/0.000945, allocations: 89.66 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.853e-05, allocations: 7.984 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 63.24 MB / 0.5114 GB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.573, allocations: 113.2 MB / 0.6219 GB, free: 13.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5733, allocations: 75.34 kB / 0.622 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9026/1.476, allocations: 228.3 MB / 0.8449 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.276e-06/1.476, allocations: 0 / 0.8449 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007806/1.477, allocations: 234.7 kB / 0.8451 GB, free: 97.47 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.04295/1.52, allocations: 11.72 MB / 0.8566 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/1.52, allocations: 15 kB / 0.8566 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04945/1.569, allocations: 12.62 MB / 0.8689 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03331/1.603, allocations: 11.32 MB / 0.8799 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/1.604, allocations: 0.8711 MB / 0.8808 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007109/1.611, allocations: 1.165 MB / 0.8819 GB, free: 67.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07392/1.685, allocations: 27.96 MB / 0.9092 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001043/1.686, allocations: 146.7 kB / 0.9094 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006519/1.693, allocations: 0.5427 MB / 0.9099 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003999/1.697, allocations: 2.577 MB / 0.9124 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05117/1.748, allocations: 22.56 MB / 0.9345 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5662/2.314, allocations: 120.1 MB / 1.052 GB, free: 42.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0356/2.35, allocations: 13.85 MB / 1.065 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009778/2.36, allocations: 7.26 MB / 1.072 GB, free: 41.01 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03338/2.393, allocations: 17.77 MB / 1.09 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/2.393, allocations: 87.62 kB / 1.09 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=469): time 9.017e-06/2.393, allocations: 0 / 1.09 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=553): time 0.1571/2.55, allocations: 56.51 MB / 1.145 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002122/2.551, allocations: 366.6 kB / 1.145 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03304/2.584, allocations: 10.58 MB / 1.156 GB, free: 13.17 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001856/2.586, allocations: 109.7 kB / 1.156 GB, free: 13.05 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008987/2.595, allocations: 7.856 MB / 1.163 GB, free: 6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003978/2.599, allocations: 2.053 MB / 1.165 GB, free: 4.184 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002542/2.601, allocations: 280 kB / 1.166 GB, free: 3.91 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001274/2.603, allocations: 0.895 MB / 1.167 GB, free: 3.176 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02165/2.624, allocations: 6.588 MB / 1.173 GB, free: 0 / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4029/3.027, allocations: 13.55 MB / 1.186 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01834/3.046, allocations: 8.747 MB / 1.195 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003805/3.046, allocations: 77.28 kB / 1.195 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1810) (initialization): time 0.048/3.094, allocations: 22.09 MB / 1.216 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/3.094, allocations: 120.8 kB / 1.217 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000504/3.095, allocations: 282 kB / 1.217 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008359/3.103, allocations: 3.253 MB / 1.22 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/3.116, allocations: 3.362 MB / 1.223 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/3.141, allocations: 22.4 MB / 1.245 GB, free: 124 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/3.155, allocations: 0.8184 MB / 1.246 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003461/3.158, allocations: 0.8061 MB / 1.247 GB, free: 123.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1246 * Number of states: 0 () * Number of discrete variables: 132 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1692): * Single equations (assignments): 1685 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00545/3.164, allocations: 1.193 MB / 1.248 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00273/3.167, allocations: 1.004 MB / 1.249 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02534/3.192, allocations: 12.67 MB / 1.261 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.435e-05/3.192, allocations: 57.22 kB / 1.261 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.74e-05/3.192, allocations: 19.38 kB / 1.261 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001559/3.192, allocations: 23.39 kB / 1.261 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06301/3.255, allocations: 28.86 MB / 1.289 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.687e-05/3.256, allocations: 7.438 kB / 1.289 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005752/3.261, allocations: 1.105 MB / 1.291 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007345/3.269, allocations: 2.805 MB / 1.293 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001471/3.27, allocations: 112.6 kB / 1.293 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/3.294, allocations: 21 MB / 1.314 GB, free: 87.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/3.294, allocations: 19.94 kB / 1.314 GB, free: 87.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03268/3.327, allocations: 22.74 MB / 1.336 GB, free: 66.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00395/3.331, allocations: 1.089 MB / 1.337 GB, free: 65.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003961/3.335, allocations: 106 kB / 1.337 GB, free: 65.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007018/3.342, allocations: 378.6 kB / 1.338 GB, free: 65.38 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001705/3.344, allocations: 358 kB / 1.338 GB, free: 65.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007521/3.344, allocations: 143.2 kB / 1.338 GB, free: 65.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01425/3.359, allocations: 7.277 MB / 1.345 GB, free: 58.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/3.359, allocations: 0 / 1.345 GB, free: 58.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01617/3.375, allocations: 2.801 MB / 1.348 GB, free: 55.86 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001968/3.377, allocations: 287.1 kB / 1.348 GB, free: 55.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0227/3.4, allocations: 14.56 MB / 1.362 GB, free: 42.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/3.4, allocations: 8.375 kB / 1.363 GB, free: 42.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/3.41, allocations: 6.238 MB / 1.369 GB, free: 36.78 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/3.418, allocations: 1.326 MB / 1.37 GB, free: 35.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04789/3.466, allocations: 23.22 MB / 1.393 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01651/3.482, allocations: 8.167 MB / 1.401 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.391/3.874, allocations: 4.656 MB / 1.405 GB, free: 115 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004576/3.878, allocations: 0.6558 MB / 1.406 GB, free: 115 MB / 0.5886 GB Notification: Performance of SimCode: time 1.322e-06/3.878, allocations: 1.031 kB / 1.406 GB, free: 115 MB / 0.5886 GB Notification: Performance of Templates: time 0.2005/4.079, allocations: 106.9 MB / 1.51 GB, free: 92.14 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches