Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008655/0.0008654, allocations: 101.6 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1845/0.1845, allocations: 44.84 MB / 392 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002393/0.0002393, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09549, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.2587/0.3542, allocations: 86.68 MB / 0.6 GB, free: 6.824 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04061/0.3949, allocations: 17.6 MB / 0.6172 GB, free: 5.172 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01693/0.4118, allocations: 415 kB / 0.6176 GB, free: 4.766 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01334/0.4252, allocations: 4.615 MB / 0.6221 GB, free: 132 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0338/0.459, allocations: 13.31 MB / 0.6351 GB, free: 2.773 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0054/0.4645, allocations: 0.9128 MB / 0.6359 GB, free: 1.859 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.06867/0.5332, allocations: 63.03 MB / 0.6975 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.5439, allocations: 7.201 MB / 0.7045 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/0.5479, allocations: 1.868 MB / 0.7064 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.5534, allocations: 2.858 MB / 0.7092 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.5549, allocations: 208 kB / 0.7094 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.5582, allocations: 1.104 MB / 0.7104 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.004068/0.5623, allocations: 2.602 MB / 0.713 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.5648, allocations: 1.24 MB / 0.7142 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2598/0.8246, allocations: 8.238 MB / 0.7222 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.8246, allocations: 0 / 0.7222 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8246, allocations: 0.9062 kB / 0.7222 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004546/0.8251, allocations: 0 / 0.7222 GB, free: 70.75 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01663/0.8417, allocations: 6.201 MB / 0.7283 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8418, allocations: 9.094 kB / 0.7283 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.8543, allocations: 2.816 MB / 0.731 GB, free: 67.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009597/0.864, allocations: 4.115 MB / 0.7351 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.8643, allocations: 362.7 kB / 0.7354 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.8656, allocations: 484.6 kB / 0.7359 GB, free: 66.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.8907, allocations: 15.24 MB / 0.7508 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.8909, allocations: 62.28 kB / 0.7508 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005724/0.8915, allocations: 224.3 kB / 0.751 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004651/0.8962, allocations: 2.891 MB / 0.7538 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.9226, allocations: 12.96 MB / 0.7665 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06392/0.9866, allocations: 57.3 MB / 0.8225 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/1, allocations: 5.804 MB / 0.8281 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004647/1.005, allocations: 3.636 MB / 0.8317 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/1.018, allocations: 8.201 MB / 0.8397 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/1.018, allocations: 64.14 kB / 0.8397 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.581e-06/1.018, allocations: 0 / 0.8397 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.08292/1.101, allocations: 31.12 MB / 0.8701 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.101, allocations: 237.8 kB / 0.8704 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009813/1.111, allocations: 6.405 MB / 0.8766 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007669/1.112, allocations: 65.7 kB / 0.8767 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00333/1.115, allocations: 4.361 MB / 0.8809 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001497/1.117, allocations: 1.034 MB / 0.8819 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004722/1.117, allocations: 160 kB / 0.8821 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004525/1.118, allocations: 0.6533 MB / 0.8827 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005/1.123, allocations: 3.42 MB / 0.8861 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007996/1.131, allocations: 8.133 MB / 0.894 GB, free: 13.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007533/1.138, allocations: 5.133 MB / 0.899 GB, free: 8.766 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.822e-05/1.139, allocations: 48 kB / 0.8991 GB, free: 8.719 MB / 0.573 GB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.02373/1.162, allocations: 13.39 MB / 0.9122 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.162, allocations: 76 kB / 0.9122 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.163, allocations: 164 kB / 0.9124 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/1.168, allocations: 2.292 MB / 0.9146 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006367/1.174, allocations: 1.88 MB / 0.9165 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/1.191, allocations: 13.42 MB / 0.9296 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006985/1.198, allocations: 491.1 kB / 0.93 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.199, allocations: 491.9 kB / 0.9305 GB, free: 9.512 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (993): * Single equations (assignments): 986 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005349/1.205, allocations: 3.004 MB / 0.9334 GB, free: 6.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009873/1.206, allocations: 0.5322 MB / 0.934 GB, free: 6.121 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2089/1.415, allocations: 6.977 MB / 0.9408 GB, free: 246.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/1.415, allocations: 29.06 kB / 0.9408 GB, free: 246.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.084e-05/1.415, allocations: 10.61 kB / 0.9408 GB, free: 246.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-05/1.415, allocations: 14.3 kB / 0.9408 GB, free: 246.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/1.441, allocations: 14.63 MB / 0.9551 GB, free: 243.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/1.441, allocations: 6.969 kB / 0.9551 GB, free: 243.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.443, allocations: 439.6 kB / 0.9555 GB, free: 243.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/1.448, allocations: 2.039 MB / 0.9575 GB, free: 243.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000354/1.449, allocations: 47.12 kB / 0.9576 GB, free: 243.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/1.462, allocations: 12.76 MB / 0.97 GB, free: 237 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.462, allocations: 7.625 kB / 0.97 GB, free: 237 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.477, allocations: 11.03 MB / 0.9808 GB, free: 233 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.478, allocations: 0.6224 MB / 0.9814 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007774/1.479, allocations: 47.23 kB / 0.9815 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.481, allocations: 194 kB / 0.9817 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/1.482, allocations: 169.9 kB / 0.9818 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/1.482, allocations: 70.53 kB / 0.9819 GB, free: 232.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.005588/1.487, allocations: 4.091 MB / 0.9859 GB, free: 229.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.61e-07/1.487, allocations: 0 / 0.9859 GB, free: 229.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006564/1.494, allocations: 1.569 MB / 0.9874 GB, free: 228.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 17,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004846/1.495, allocations: 191 kB / 0.9876 GB, free: 228.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00946/1.504, allocations: 8.382 MB / 0.9958 GB, free: 219.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.504, allocations: 0 / 0.9958 GB, free: 219.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004614/1.509, allocations: 3.47 MB / 0.9992 GB, free: 216.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.513, allocations: 0.7064 MB / 0.9999 GB, free: 215.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/1.532, allocations: 17.75 MB / 1.017 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003666/1.536, allocations: 4.586 MB / 1.022 GB, free: 193.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.538, allocations: 423.4 kB / 1.022 GB, free: 193.1 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/1.538, allocations: 0 / 1.022 GB, free: 193.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.13/1.668, allocations: 142.5 MB / 1.161 GB, free: 50.53 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches