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.001166/0.001166, allocations: 114.9 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.001349/0.00135, allocations: 206.8 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.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2831, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.02423/0.3074, allocations: 26.01 MB / 0.5571 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.3251, allocations: 7.212 MB / 0.5641 GB, free: 404 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004995/0.3301, allocations: 191.5 kB / 0.5643 GB, free: 212 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01764/0.3478, allocations: 10.37 MB / 0.5744 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.3586, allocations: 3.917 MB / 0.5783 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004505/0.3631, allocations: 2.04 MB / 0.5803 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0186/0.3817, allocations: 12.68 MB / 0.5926 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0159/0.3977, allocations: 13.01 MB / 0.6053 GB, free: 6.004 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00748/0.4052, allocations: 4.615 MB / 0.6099 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009015/0.4142, allocations: 6.122 MB / 0.6158 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003158/0.4174, allocations: 1.019 MB / 0.6168 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/0.423, allocations: 1.893 MB / 0.6187 GB, free: 8.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006812/0.4299, allocations: 5.682 MB / 0.6242 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.4402, allocations: 6.266 MB / 0.6303 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02121/0.4615, allocations: 18.83 MB / 0.6487 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4615, allocations: 0 / 0.6487 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4615, allocations: 0 / 0.6487 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005024/0.462, allocations: 0 / 0.6487 GB, free: 9.43 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.02932/0.4913, allocations: 13.48 MB / 0.6619 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4914, allocations: 8.031 kB / 0.6619 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/0.51, allocations: 4.026 MB / 0.6658 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/0.5266, allocations: 7.973 MB / 0.6736 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/0.5271, allocations: 0.6739 MB / 0.6743 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.5293, allocations: 0.9017 MB / 0.6752 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/0.5784, allocations: 26.2 MB / 0.7007 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004568/0.5789, allocations: 111 kB / 0.7008 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002442/0.5814, allocations: 423.7 kB / 0.7012 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007941/0.5893, allocations: 4.577 MB / 0.7057 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4668/1.056, allocations: 22.09 MB / 0.7273 GB, free: 146.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09693/1.153, allocations: 101.7 MB / 0.8266 GB, free: 55.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03283/1.186, allocations: 13.38 MB / 0.8396 GB, free: 41.95 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008065/1.194, allocations: 7.957 MB / 0.8474 GB, free: 33.98 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0248/1.219, allocations: 18.1 MB / 0.8651 GB, free: 15.67 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/1.219, allocations: 86.5 kB / 0.8652 GB, free: 15.58 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=469): time 7.424e-06/1.219, allocations: 0 / 0.8652 GB, free: 15.58 MB / 0.5607 GB Notification: Performance of matching and sorting (n=553): time 0.1664/1.385, allocations: 68.77 MB / 0.9323 GB, free: 10.3 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/1.386, allocations: 364.8 kB / 0.9327 GB, free: 9.867 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02055/1.406, allocations: 11.41 MB / 0.9438 GB, free: 14.51 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001377/1.408, allocations: 117.7 kB / 0.9439 GB, free: 14.39 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.006631/1.414, allocations: 7.439 MB / 0.9512 GB, free: 6.863 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002793/1.417, allocations: 2.059 MB / 0.9532 GB, free: 4.777 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006387/1.423, allocations: 2.954 MB / 0.9561 GB, free: 1.809 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/1.424, allocations: 305.1 kB / 0.9564 GB, free: 1.508 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2494/1.673, allocations: 6.518 MB / 0.9627 GB, free: 212.8 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/1.685, allocations: 14.24 MB / 0.9766 GB, free: 201 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/1.706, allocations: 22.26 MB / 0.9984 GB, free: 184.2 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/1.707, allocations: 82.16 kB / 0.9984 GB, free: 184.2 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.04143/1.748, allocations: 24.69 MB / 1.023 GB, free: 170.5 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.748, allocations: 118.3 kB / 1.023 GB, free: 170.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002336/1.748, allocations: 268 kB / 1.023 GB, free: 170.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009914/1.758, allocations: 4.441 MB / 1.027 GB, free: 167 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/1.769, allocations: 3.337 MB / 1.031 GB, free: 163.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02887/1.798, allocations: 28.49 MB / 1.058 GB, free: 135.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/1.81, allocations: 0.8546 MB / 1.059 GB, free: 134.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/1.812, allocations: 0.8085 MB / 1.06 GB, free: 133.4 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.008828/1.821, allocations: 5.111 MB / 1.065 GB, free: 128.5 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/1.823, allocations: 0.973 MB / 1.066 GB, free: 128 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/1.846, allocations: 14.68 MB / 1.08 GB, free: 113.3 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000115/1.846, allocations: 23.91 kB / 1.08 GB, free: 113.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.846, allocations: 8 kB / 1.08 GB, free: 113.3 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/1.848, allocations: 1.056 MB / 1.081 GB, free: 112.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004159/1.853, allocations: 88 kB / 1.081 GB, free: 112.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006103/1.859, allocations: 395.4 kB / 1.082 GB, free: 112.3 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001674/1.86, allocations: 387.9 kB / 1.082 GB, free: 111.9 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02507/1.885, allocations: 14.86 MB / 1.097 GB, free: 97.11 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02606/1.912, allocations: 18.32 MB / 1.115 GB, free: 78.63 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00894/1.921, allocations: 5.092 MB / 1.12 GB, free: 73.54 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01661/1.937, allocations: 7.306 MB / 1.127 GB, free: 66.28 MB / 0.6388 GB Notification: Performance of Backend: time 1.022e-06/1.937, allocations: 0 / 1.127 GB, free: 66.28 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02276/1.96, allocations: 11.75 MB / 1.138 GB, free: 54.57 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03869/1.999, allocations: 24.82 MB / 1.162 GB, free: 29.73 MB / 0.6388 GB Notification: Performance of Templates: time 0.4417/2.44, allocations: 140.4 MB / 1.299 GB, free: 140.3 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