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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009811/0.0009812, allocations: 200.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.5 MB / 243.4 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008349/0.000835, allocations: 106 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3024/0.3024, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 62.96 MB / 0.516 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.0665/0.3512, allocations: 86.69 MB / 0.6006 GB, free: 2.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0449/0.3962, allocations: 17.6 MB / 0.6178 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0162/0.4124, allocations: 411.1 kB / 0.6182 GB, free: 500 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01317/0.4256, allocations: 4.623 MB / 0.6227 GB, free: 11.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03189/0.4575, allocations: 13.34 MB / 0.6357 GB, free: 14.46 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.4629, allocations: 0.9791 MB / 0.6367 GB, free: 13.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.3212/0.7842, allocations: 63.08 MB / 0.6983 GB, free: 46.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009428/0.7936, allocations: 7.712 MB / 0.7058 GB, free: 45.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.7966, allocations: 1.866 MB / 0.7076 GB, free: 45.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.8003, allocations: 2.858 MB / 0.7104 GB, free: 45.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008815/0.8012, allocations: 209.1 kB / 0.7106 GB, free: 45.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.8039, allocations: 1.305 MB / 0.7119 GB, free: 45.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002528/0.8064, allocations: 2.603 MB / 0.7145 GB, free: 45.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003414/0.8099, allocations: 2.861 MB / 0.7172 GB, free: 45.9 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.8179, allocations: 8.368 MB / 0.7254 GB, free: 42.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.818, allocations: 3.344 kB / 0.7254 GB, free: 42.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.818, allocations: 0 / 0.7254 GB, free: 42.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003814/0.8184, allocations: 0 / 0.7254 GB, free: 42.21 MB / 490.7 MB 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.01496/0.8333, allocations: 6.282 MB / 0.7316 GB, free: 36.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.8334, allocations: 8.031 kB / 0.7316 GB, free: 36.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003234/0.8366, allocations: 1.045 MB / 0.7326 GB, free: 36.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03569/0.8724, allocations: 6.328 MB / 0.7388 GB, free: 30.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008462/0.8809, allocations: 4.575 MB / 0.7432 GB, free: 26.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.8811, allocations: 357 kB / 0.7436 GB, free: 26.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.8827, allocations: 499.6 kB / 0.7441 GB, free: 26.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02718/0.9099, allocations: 15.11 MB / 0.7588 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002442/0.9102, allocations: 63.09 kB / 0.7589 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009158/0.9111, allocations: 229.2 kB / 0.7591 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004628/0.9157, allocations: 2.883 MB / 0.7619 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02418/0.9399, allocations: 12.71 MB / 0.7743 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07079/1.011, allocations: 56.93 MB / 0.8299 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/1.026, allocations: 5.686 MB / 0.8355 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004748/1.031, allocations: 3.51 MB / 0.8389 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/1.045, allocations: 7.965 MB / 0.8467 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.046, allocations: 66.73 kB / 0.8467 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=227): time 5.33e-06/1.046, allocations: 0 / 0.8467 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=269): time 0.07568/1.121, allocations: 29.16 MB / 0.8752 GB, free: 7.801 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.121, allocations: 235.6 kB / 0.8754 GB, free: 7.523 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/1.132, allocations: 6.412 MB / 0.8817 GB, free: 1.113 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006911/1.133, allocations: 65.7 kB / 0.8818 GB, free: 1.043 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003964/1.137, allocations: 4.422 MB / 0.8861 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.139, allocations: 1.025 MB / 0.8871 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005671/1.139, allocations: 159.9 kB / 0.8872 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004304/1.14, allocations: 0.6447 MB / 0.8879 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/1.144, allocations: 3.201 MB / 0.891 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2354/1.38, allocations: 7.89 MB / 0.8987 GB, free: 219.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.393, allocations: 12.05 MB / 0.9105 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.393, allocations: 48.41 kB / 0.9105 GB, free: 211.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1037) (initialization): time 0.02154/1.414, allocations: 12.4 MB / 0.9226 GB, free: 207.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/1.415, allocations: 81.11 kB / 0.9227 GB, free: 207.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002574/1.415, allocations: 164.7 kB / 0.9228 GB, free: 207.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/1.42, allocations: 1.767 MB / 0.9246 GB, free: 207 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006455/1.426, allocations: 1.822 MB / 0.9263 GB, free: 206.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/1.442, allocations: 12.01 MB / 0.9381 GB, free: 200.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00674/1.449, allocations: 463.4 kB / 0.9385 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.45, allocations: 487.7 kB / 0.939 GB, free: 200.3 MB / 0.5886 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 (955): * Single equations (assignments): 948 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0066/1.457, allocations: 3.002 MB / 0.9419 GB, free: 199 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.458, allocations: 0.5373 MB / 0.9424 GB, free: 199 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.469, allocations: 6.242 MB / 0.9485 GB, free: 196.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.971e-05/1.469, allocations: 30.94 kB / 0.9486 GB, free: 196.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.469, allocations: 7.562 kB / 0.9486 GB, free: 196.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.469, allocations: 15.33 kB / 0.9486 GB, free: 196.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/1.49, allocations: 13.9 MB / 0.9622 GB, free: 191.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.49, allocations: 3.562 kB / 0.9622 GB, free: 191.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.492, allocations: 446 kB / 0.9626 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003591/1.495, allocations: 1.523 MB / 0.9641 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003064/1.496, allocations: 55.61 kB / 0.9641 GB, free: 191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/1.507, allocations: 11.21 MB / 0.9751 GB, free: 180.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.507, allocations: 4 kB / 0.9751 GB, free: 180.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.519, allocations: 10.12 MB / 0.985 GB, free: 170.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.521, allocations: 0.6265 MB / 0.9856 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006151/1.522, allocations: 47.94 kB / 0.9856 GB, free: 169.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.524, allocations: 177.3 kB / 0.9858 GB, free: 169.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006386/1.524, allocations: 165.7 kB / 0.9859 GB, free: 169.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.524, allocations: 74.23 kB / 0.986 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005137/1.53, allocations: 4.109 MB / 0.99 GB, free: 165.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.53, allocations: 4 kB / 0.99 GB, free: 165.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006366/1.536, allocations: 1.505 MB / 0.9915 GB, free: 163.9 MB / 0.5886 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 {(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.01226/1.548, allocations: 10.8 MB / 1.002 GB, free: 153 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.559, allocations: 7.923 MB / 1.01 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.559, allocations: 0 / 1.01 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004306/1.563, allocations: 3.146 MB / 1.013 GB, free: 141.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006817/1.57, allocations: 0.7326 MB / 1.014 GB, free: 141.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09115/1.661, allocations: 60.76 MB / 1.073 GB, free: 75.06 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004545/1.665, allocations: 4.613 MB / 1.077 GB, free: 70.42 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003744/1.669, allocations: 3.053 MB / 1.08 GB, free: 67.37 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/1.669, allocations: 0 / 1.08 GB, free: 67.37 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.563/11.23, allocations: 166 MB / 1.242 GB, free: 154.4 MB / 0.5886 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/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