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/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.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/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.89 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3774, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.02724/0.4047, allocations: 26.01 MB / 0.5571 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.4219, allocations: 7.216 MB / 0.5641 GB, free: 340 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005721/0.4277, allocations: 195.5 kB / 0.5643 GB, free: 144 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01851/0.4462, allocations: 10.37 MB / 0.5744 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01213/0.4585, allocations: 4.06 MB / 0.5784 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.4637, allocations: 2.04 MB / 0.5804 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01965/0.4834, allocations: 12.68 MB / 0.5928 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01524/0.4987, allocations: 13.01 MB / 0.6055 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008038/0.5068, allocations: 4.611 MB / 0.61 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.5172, allocations: 6.126 MB / 0.616 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004383/0.5216, allocations: 1.016 MB / 0.617 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007292/0.529, allocations: 1.893 MB / 0.6188 GB, free: 8.113 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008914/0.5379, allocations: 5.682 MB / 0.6244 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01349/0.5514, allocations: 6.262 MB / 0.6305 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02459/0.5761, allocations: 18.83 MB / 0.6489 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5761, allocations: 0 / 0.6489 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5761, allocations: 0 / 0.6489 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007408/0.5769, allocations: 0 / 0.6489 GB, free: 9.227 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3835 * Number of variables: 3835 Notification: Performance of Generate backend data structure: time 0.04266/0.6196, allocations: 13.48 MB / 0.662 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/0.6196, allocations: 8.031 kB / 0.662 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02209/0.6418, allocations: 4.026 MB / 0.666 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/0.664, allocations: 7.969 MB / 0.6738 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007214/0.6648, allocations: 0.6779 MB / 0.6744 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004499/0.6693, allocations: 0.9056 MB / 0.6753 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06184/0.7312, allocations: 26.2 MB / 0.7009 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004292/0.7317, allocations: 111 kB / 0.701 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002274/0.734, allocations: 427.7 kB / 0.7014 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008451/0.7424, allocations: 4.574 MB / 0.7059 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5445/1.287, allocations: 22.08 MB / 0.7274 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1185/1.405, allocations: 101.7 MB / 0.8267 GB, free: 55.23 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03414/1.44, allocations: 13.37 MB / 0.8398 GB, free: 41.68 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008492/1.448, allocations: 7.957 MB / 0.8475 GB, free: 33.71 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0283/1.477, allocations: 18.1 MB / 0.8652 GB, free: 15.41 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/1.477, allocations: 94.5 kB / 0.8653 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=469): time 7.745e-06/1.477, allocations: 0 / 0.8653 GB, free: 15.31 MB / 0.5607 GB Notification: Performance of matching and sorting (n=553): time 0.1879/1.664, allocations: 68.76 MB / 0.9325 GB, free: 10.03 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002437/1.665, allocations: 360.8 kB / 0.9328 GB, free: 9.605 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/1.684, allocations: 11.41 MB / 0.9439 GB, free: 14.25 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.002195/1.687, allocations: 109.7 kB / 0.944 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.01/1.697, allocations: 7.454 MB / 0.9513 GB, free: 6.594 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.003447/1.7, allocations: 2.055 MB / 0.9533 GB, free: 4.512 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006028/1.706, allocations: 2.946 MB / 0.9562 GB, free: 1.551 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.706, allocations: 301.1 kB / 0.9565 GB, free: 1.254 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.281/1.987, allocations: 6.521 MB / 0.9629 GB, free: 212.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/2, allocations: 14.25 MB / 0.9768 GB, free: 200.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02106/2.021, allocations: 22.27 MB / 0.9985 GB, free: 184.1 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002523/2.021, allocations: 76.69 kB / 0.9986 GB, free: 184.1 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.04104/2.062, allocations: 24.68 MB / 1.023 GB, free: 170.3 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/2.062, allocations: 117 kB / 1.023 GB, free: 170.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/2.062, allocations: 268 kB / 1.023 GB, free: 169.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/2.073, allocations: 4.438 MB / 1.027 GB, free: 166.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01106/2.084, allocations: 3.341 MB / 1.031 GB, free: 163.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03068/2.115, allocations: 28.5 MB / 1.058 GB, free: 134.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.127, allocations: 0.8463 MB / 1.059 GB, free: 133.9 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/2.13, allocations: 0.8163 MB / 1.06 GB, free: 133.1 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1218 * Number of states: 0 () * Number of discrete variables: 132 (force4.torqueArrow.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.forceArrow.twoHeadedArrow,force4.forceArrow.headAtOrigin,force3.torqueArrow.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.forceArrow.twoHeadedArrow,force3.forceArrow.headAtOrigin,force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[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.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 (1740): * Single equations (assignments): 1729 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,22,100.0%), (2,22,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008794/2.138, allocations: 5.109 MB / 1.065 GB, free: 128.2 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/2.14, allocations: 0.9792 MB / 1.066 GB, free: 127.7 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02445/2.165, allocations: 14.68 MB / 1.08 GB, free: 113 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001476/2.165, allocations: 23.91 kB / 1.08 GB, free: 113 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/2.165, allocations: 4 kB / 1.08 GB, free: 113 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/2.168, allocations: 1.052 MB / 1.081 GB, free: 112.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00367/2.172, allocations: 95.98 kB / 1.082 GB, free: 112.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007272/2.179, allocations: 395.4 kB / 1.082 GB, free: 111.9 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001756/2.181, allocations: 383.9 kB / 1.082 GB, free: 111.6 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02602/2.207, allocations: 14.87 MB / 1.097 GB, free: 96.77 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02044/2.228, allocations: 18.32 MB / 1.115 GB, free: 78.29 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005889/2.234, allocations: 5.096 MB / 1.12 GB, free: 73.2 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01165/2.245, allocations: 7.311 MB / 1.127 GB, free: 65.94 MB / 0.6388 GB Notification: Performance of Backend: time 6.31e-07/2.245, allocations: 0 / 1.127 GB, free: 65.94 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02475/2.27, allocations: 11.74 MB / 1.138 GB, free: 54.23 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04019/2.31, allocations: 24.82 MB / 1.162 GB, free: 29.41 MB / 0.6388 GB Notification: Performance of Templates: time 0.4931/2.803, allocations: 138.7 MB / 1.298 GB, free: 141.5 MB / 0.6544 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches