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.001197/0.001197, allocations: 200.7 kB / 18.1 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008843/0.0008838, allocations: 97.55 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.319/0.319, allocations: 44.82 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002731, allocations: 12 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3067, allocations: 62.95 MB / 0.5184 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.4381, allocations: 113.2 MB / 0.629 GB, free: 8.059 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4384, allocations: 91.88 kB / 0.6291 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7669/1.205, allocations: 222.3 MB / 0.8462 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.755e-06/1.205, allocations: 0 / 0.8462 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001058/1.206, allocations: 235.9 kB / 0.8464 GB, free: 12.71 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.04361/1.25, allocations: 12.05 MB / 0.8582 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.25, allocations: 8.031 kB / 0.8582 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04091/1.291, allocations: 9.321 MB / 0.8673 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/1.318, allocations: 10.59 MB / 0.8776 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/1.319, allocations: 0.8749 MB / 0.8785 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006261/1.326, allocations: 1.16 MB / 0.8796 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4002/1.726, allocations: 27.83 MB / 0.9068 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001091/1.727, allocations: 144.3 kB / 0.9069 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005264/1.732, allocations: 0.5388 MB / 0.9074 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003966/1.736, allocations: 2.579 MB / 0.91 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04911/1.785, allocations: 22.43 MB / 0.9319 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1529/1.938, allocations: 120 MB / 1.049 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03577/1.974, allocations: 13.63 MB / 1.062 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0114/1.986, allocations: 7.333 MB / 1.07 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03997/2.026, allocations: 17.65 MB / 1.087 GB, free: 10.11 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/2.026, allocations: 82.5 kB / 1.087 GB, free: 10.02 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 8.696e-06/2.026, allocations: 3.938 kB / 1.087 GB, free: 10.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.5722/2.598, allocations: 64.07 MB / 1.149 GB, free: 102 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/2.598, allocations: 370.9 kB / 1.15 GB, free: 101.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02427/2.623, allocations: 11.47 MB / 1.161 GB, free: 100.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001373/2.624, allocations: 109.4 kB / 1.161 GB, free: 100.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006748/2.631, allocations: 7.854 MB / 1.169 GB, free: 97.18 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003034/2.634, allocations: 2.049 MB / 1.171 GB, free: 95.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/2.636, allocations: 283.4 kB / 1.171 GB, free: 95.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008885/2.637, allocations: 0.9025 MB / 1.172 GB, free: 95.64 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01105/2.648, allocations: 5.881 MB / 1.178 GB, free: 95.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01855/2.666, allocations: 13.76 MB / 1.191 GB, free: 85.53 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02506/2.691, allocations: 21.34 MB / 1.212 GB, free: 70.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000484/2.692, allocations: 76.84 kB / 1.212 GB, free: 70.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.0459/2.738, allocations: 22.36 MB / 1.234 GB, free: 62.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002833/2.738, allocations: 123.8 kB / 1.234 GB, free: 62.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004576/2.739, allocations: 272 kB / 1.234 GB, free: 62.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007767/2.746, allocations: 3.227 MB / 1.237 GB, free: 59.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/2.758, allocations: 3.365 MB / 1.241 GB, free: 57.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/2.782, allocations: 22.49 MB / 1.263 GB, free: 36.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01403/2.796, allocations: 0.8208 MB / 1.263 GB, free: 36.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0044/2.8, allocations: 0.8134 MB / 1.264 GB, free: 35.39 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (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.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],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.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],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 (1698): * Single equations (assignments): 1691 * 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.01529/2.816, allocations: 5.279 MB / 1.269 GB, free: 30.76 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003289/2.819, allocations: 1.006 MB / 1.27 GB, free: 29.75 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/2.843, allocations: 12.77 MB / 1.283 GB, free: 19.46 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.869e-05/2.843, allocations: 56 kB / 1.283 GB, free: 19.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.498e-05/2.843, allocations: 16 kB / 1.283 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/2.843, allocations: 29.92 kB / 1.283 GB, free: 19.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06929/2.913, allocations: 28.98 MB / 1.311 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-05/2.913, allocations: 8 kB / 1.311 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4184/3.331, allocations: 1.119 MB / 1.312 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00809/3.339, allocations: 2.822 MB / 1.315 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001435/3.341, allocations: 102.8 kB / 1.315 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02533/3.366, allocations: 21.07 MB / 1.336 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/3.366, allocations: 14.94 kB / 1.336 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03571/3.402, allocations: 19.92 MB / 1.355 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004401/3.406, allocations: 1.092 MB / 1.356 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004685/3.411, allocations: 101.8 kB / 1.356 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008327/3.42, allocations: 382.7 kB / 1.357 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002233/3.422, allocations: 358.6 kB / 1.357 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001447/3.423, allocations: 142.7 kB / 1.357 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02022/3.444, allocations: 7.399 MB / 1.364 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.82e-07/3.444, allocations: 0 / 1.364 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02119/3.465, allocations: 2.81 MB / 1.367 GB, free: 102.9 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.002036/3.467, allocations: 281.7 kB / 1.367 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02801/3.495, allocations: 14.77 MB / 1.382 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.009e-05/3.495, allocations: 3.422 kB / 1.382 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01374/3.509, allocations: 6.312 MB / 1.388 GB, free: 99.56 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03482/3.544, allocations: 1.398 MB / 1.389 GB, free: 98.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06938/3.613, allocations: 31.83 MB / 1.42 GB, free: 83.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01889/3.632, allocations: 7.927 MB / 1.428 GB, free: 81.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01693/3.649, allocations: 4.67 MB / 1.433 GB, free: 80.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003847/3.653, allocations: 0.6599 MB / 1.433 GB, free: 80.8 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/3.653, allocations: 0 / 1.433 GB, free: 80.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.5646/4.217, allocations: 107.5 MB / 1.538 GB, free: 106.8 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/jenkins1/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