Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 117.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.001537/0.001537, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 71.89 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3249, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.0183/0.3432, allocations: 17.79 MB / 0.5491 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.3551, allocations: 5.626 MB / 0.5545 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.3586, allocations: 131.6 kB / 0.5547 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.3702, allocations: 6.262 MB / 0.5608 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.3773, allocations: 2.878 MB / 0.5636 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.3808, allocations: 1.587 MB / 0.5651 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01379/0.3946, allocations: 9.854 MB / 0.5748 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.4058, allocations: 7.983 MB / 0.5826 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006452/0.4122, allocations: 3.116 MB / 0.5856 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007313/0.4196, allocations: 4.214 MB / 0.5897 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002675/0.4223, allocations: 0.6797 MB / 0.5904 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.4269, allocations: 1.697 MB / 0.592 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004816/0.4317, allocations: 3.846 MB / 0.5958 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006743/0.4385, allocations: 4.192 MB / 0.5999 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.4538, allocations: 12.95 MB / 0.6125 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4538, allocations: 0 / 0.6125 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4538, allocations: 3.938 kB / 0.6125 GB, free: 14.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004452/0.4543, allocations: 3.938 kB / 0.6125 GB, free: 14.63 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2485 * Number of variables: 2485 Notification: Performance of Generate backend data structure: time 0.02264/0.477, allocations: 9.007 MB / 0.6213 GB, free: 5.543 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.477, allocations: 8.031 kB / 0.6214 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/0.4947, allocations: 3.5 MB / 0.6248 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.5093, allocations: 5.998 MB / 0.6306 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/0.5099, allocations: 443.9 kB / 0.6311 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/0.5128, allocations: 0.5973 MB / 0.6316 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03652/0.5494, allocations: 17.08 MB / 0.6483 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003972/0.5498, allocations: 83.27 kB / 0.6484 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001879/0.5517, allocations: 283.7 kB / 0.6487 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005116/0.5569, allocations: 2.881 MB / 0.6515 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03033/0.5872, allocations: 14.33 MB / 0.6655 GB, free: 7.176 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5884/1.176, allocations: 64.27 MB / 0.7282 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.192, allocations: 6.678 MB / 0.7348 GB, free: 120.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003983/1.196, allocations: 3.956 MB / 0.7386 GB, free: 120 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/1.197, allocations: 0.6453 MB / 0.7392 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/1.197, allocations: 66.5 kB / 0.7393 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=239): time 5.36e-06/1.197, allocations: 0 / 0.7393 GB, free: 119.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=263): time 0.0769/1.274, allocations: 31.42 MB / 0.77 GB, free: 99.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/1.274, allocations: 285.1 kB / 0.7703 GB, free: 98.96 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00872/1.283, allocations: 7.271 MB / 0.7774 GB, free: 91.71 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006073/1.283, allocations: 65.7 kB / 0.7774 GB, free: 91.64 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.286, allocations: 5.049 MB / 0.7824 GB, free: 86.59 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.287, allocations: 1.026 MB / 0.7834 GB, free: 85.58 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/1.289, allocations: 1.851 MB / 0.7852 GB, free: 83.71 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/1.289, allocations: 301.1 kB / 0.7855 GB, free: 83.42 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00387/1.292, allocations: 3.467 MB / 0.7888 GB, free: 79.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00553/1.298, allocations: 8.656 MB / 0.7973 GB, free: 68.95 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.309, allocations: 12.94 MB / 0.8099 GB, free: 53.74 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/1.309, allocations: 52 kB / 0.81 GB, free: 53.69 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.02/1.329, allocations: 13.89 MB / 0.8236 GB, free: 39.78 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/1.329, allocations: 87.94 kB / 0.8236 GB, free: 39.69 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/1.329, allocations: 180 kB / 0.8238 GB, free: 39.52 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/1.334, allocations: 2.274 MB / 0.826 GB, free: 37.23 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005896/1.34, allocations: 2.078 MB / 0.8281 GB, free: 35.15 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/1.354, allocations: 16.48 MB / 0.8442 GB, free: 18.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/1.361, allocations: 0.5031 MB / 0.8446 GB, free: 17.65 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008978/1.362, allocations: 0.5195 MB / 0.8452 GB, free: 17.13 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce3.arrow.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1096): * Single equations (assignments): 1089 * Array equations: 3 * 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 {(1,13,100.0%), (1,13,100.0%), (2,12,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003938/1.366, allocations: 3.406 MB / 0.8485 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008594/1.367, allocations: 0.6054 MB / 0.8491 GB, free: 13.1 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009912/1.377, allocations: 6.53 MB / 0.8554 GB, free: 6.551 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/1.377, allocations: 15.95 kB / 0.8555 GB, free: 6.535 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.377, allocations: 0 / 0.8555 GB, free: 6.535 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.378, allocations: 0.6728 MB / 0.8561 GB, free: 5.836 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008008/1.379, allocations: 40 kB / 0.8562 GB, free: 5.797 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/1.381, allocations: 195.7 kB / 0.8563 GB, free: 5.605 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.382, allocations: 187 kB / 0.8565 GB, free: 5.422 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01129/1.393, allocations: 6.983 MB / 0.8633 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01123/1.404, allocations: 8.486 MB / 0.8716 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002898/1.407, allocations: 2.229 MB / 0.8738 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008351/1.416, allocations: 4.635 MB / 0.8783 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of Backend: time 2.284e-06/1.416, allocations: 4 kB / 0.8783 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01757/1.433, allocations: 6.837 MB / 0.885 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03139/1.465, allocations: 16.05 MB / 0.9007 GB, free: 8.18 MB / 0.6076 GB Notification: Performance of Templates: time 0.3853/1.85, allocations: 80.15 MB / 0.979 GB, free: 253.3 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches