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.001148/0.001148, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007897/0.0007897, allocations: 88.31 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2932/0.2932, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8 kB / 468.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3176, allocations: 63.24 MB / 0.5192 GB, free: 43.87 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4494, allocations: 113.3 MB / 0.6298 GB, free: 8.328 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4498, allocations: 83.95 kB / 0.6299 GB, free: 8.246 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7146/1.164, allocations: 228 MB / 0.8526 GB, free: 20.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/1.164, allocations: 4 kB / 0.8526 GB, free: 20.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001051/1.166, allocations: 240 kB / 0.8528 GB, free: 20.61 MB / 0.4948 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.209, allocations: 12.68 MB / 0.8652 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.209, allocations: 8.031 kB / 0.8652 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04757/1.256, allocations: 12.6 MB / 0.8775 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0333/1.289, allocations: 11.38 MB / 0.8886 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/1.291, allocations: 0.8744 MB / 0.8895 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005839/1.296, allocations: 1.167 MB / 0.8906 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3861/1.683, allocations: 28.18 MB / 0.9181 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005825/1.683, allocations: 141.8 kB / 0.9182 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/1.686, allocations: 0.5383 MB / 0.9188 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003213/1.689, allocations: 2.58 MB / 0.9213 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04784/1.737, allocations: 22.88 MB / 0.9436 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1353/1.873, allocations: 120.1 MB / 1.061 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03479/1.908, allocations: 13.91 MB / 1.074 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03499/1.943, allocations: 17.76 MB / 1.092 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/1.943, allocations: 92.5 kB / 1.092 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=469): time 8.126e-06/1.943, allocations: 0 / 1.092 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of matching and sorting (n=553): time 0.4737/2.417, allocations: 65.31 MB / 1.156 GB, free: 101.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/2.417, allocations: 367.4 kB / 1.156 GB, free: 100.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01815/2.435, allocations: 10.21 MB / 1.166 GB, free: 100.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001345/2.436, allocations: 111.5 kB / 1.166 GB, free: 100.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005801/2.442, allocations: 7.853 MB / 1.174 GB, free: 96.38 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002971/2.445, allocations: 2.047 MB / 1.176 GB, free: 95.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/2.446, allocations: 280.6 kB / 1.176 GB, free: 95.18 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006833/2.447, allocations: 0.899 MB / 1.177 GB, free: 94.84 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00892/2.456, allocations: 5.876 MB / 1.183 GB, free: 94.81 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/2.468, allocations: 13.66 MB / 1.196 GB, free: 84.86 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/2.481, allocations: 8.761 MB / 1.205 GB, free: 83.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000227/2.481, allocations: 80.3 kB / 1.205 GB, free: 83.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=1810) (initialization): time 0.039/2.52, allocations: 22.3 MB / 1.226 GB, free: 75.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004169/2.52, allocations: 125.1 kB / 1.227 GB, free: 75.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004623/2.521, allocations: 274.4 kB / 1.227 GB, free: 75.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00732/2.528, allocations: 3.262 MB / 1.23 GB, free: 75.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.54, allocations: 3.362 MB / 1.233 GB, free: 74.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02428/2.564, allocations: 23.06 MB / 1.256 GB, free: 59.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01535/2.58, allocations: 0.8228 MB / 1.257 GB, free: 59.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003516/2.583, allocations: 0.8088 MB / 1.257 GB, free: 58.26 MB / 0.573 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 () * Number of clocked 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.01496/2.598, allocations: 5.273 MB / 1.263 GB, free: 53.64 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003643/2.602, allocations: 1.002 MB / 1.264 GB, free: 52.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/2.623, allocations: 12.76 MB / 1.276 GB, free: 42.36 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/2.623, allocations: 56 kB / 1.276 GB, free: 42.31 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/2.623, allocations: 27.03 kB / 1.276 GB, free: 42.29 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.672e-05/2.623, allocations: 27.09 kB / 1.276 GB, free: 42.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05179/2.675, allocations: 28.95 MB / 1.304 GB, free: 19.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.807e-05/2.675, allocations: 12 kB / 1.304 GB, free: 19.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005542/2.68, allocations: 1.099 MB / 1.305 GB, free: 18.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006847/2.687, allocations: 2.819 MB / 1.308 GB, free: 16.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001129/2.688, allocations: 107.8 kB / 1.308 GB, free: 16.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3122/3.001, allocations: 21.72 MB / 1.33 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/3.001, allocations: 15.12 kB / 1.33 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02996/3.031, allocations: 22.87 MB / 1.352 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004268/3.035, allocations: 1.094 MB / 1.353 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001959/3.037, allocations: 97.59 kB / 1.353 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004153/3.041, allocations: 381.4 kB / 1.353 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008593/3.042, allocations: 358.3 kB / 1.354 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003744/3.042, allocations: 148.2 kB / 1.354 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01264/3.055, allocations: 7.381 MB / 1.361 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.72e-07/3.055, allocations: 0 / 1.361 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0161/3.071, allocations: 2.8 MB / 1.364 GB, free: 104.3 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 () * Number of clocked 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.001112/3.072, allocations: 283.2 kB / 1.364 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02511/3.097, allocations: 14.75 MB / 1.379 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/3.097, allocations: 2.094 kB / 1.379 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01036/3.108, allocations: 6.314 MB / 1.385 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007769/3.116, allocations: 1.325 MB / 1.386 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04975/3.165, allocations: 31.73 MB / 1.417 GB, free: 90.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/3.178, allocations: 8.163 MB / 1.425 GB, free: 87.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01272/3.191, allocations: 4.66 MB / 1.429 GB, free: 87.45 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/3.193, allocations: 0.6571 MB / 1.43 GB, free: 87.43 MB / 0.5886 GB Notification: Performance of SimCode: time 8.71e-07/3.193, allocations: 0 / 1.43 GB, free: 87.43 MB / 0.5886 GB Notification: Performance of Templates: time 0.1699/3.363, allocations: 106.9 MB / 1.535 GB, free: 10.05 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