Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007263/0.0007263, allocations: 90.3 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3181/0.3181, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.2558/0.3674, allocations: 84.86 MB / 0.5623 GB, free: 5.852 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04286/0.4103, allocations: 17.19 MB / 0.5791 GB, free: 10.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01774/0.4281, allocations: 391.4 kB / 0.5795 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01694/0.4451, allocations: 4.468 MB / 0.5838 GB, free: 8.465 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03564/0.4808, allocations: 12.95 MB / 0.5965 GB, free: 14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00639/0.4872, allocations: 0.9721 MB / 0.5974 GB, free: 13.03 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.04422/0.5314, allocations: 36.07 MB / 0.6326 GB, free: 8.918 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.542, allocations: 7.595 MB / 0.6401 GB, free: 1.254 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.5462, allocations: 1.946 MB / 0.642 GB, free: 15.3 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004952/0.5512, allocations: 3.135 MB / 0.645 GB, free: 12.16 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.5526, allocations: 240 kB / 0.6453 GB, free: 11.92 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.5561, allocations: 1.307 MB / 0.6465 GB, free: 10.61 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003259/0.5594, allocations: 2.758 MB / 0.6492 GB, free: 7.848 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00422/0.5636, allocations: 3.081 MB / 0.6522 GB, free: 4.742 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.5741, allocations: 9.036 MB / 0.6611 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5741, allocations: 0 / 0.6611 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5741, allocations: 0 / 0.6611 GB, free: 11.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004209/0.5745, allocations: 0 / 0.6611 GB, free: 11.68 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01431/0.5889, allocations: 6.437 MB / 0.6673 GB, free: 5.164 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.5889, allocations: 8.031 kB / 0.6674 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003222/0.5921, allocations: 1.133 MB / 0.6685 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.238/0.8301, allocations: 6.396 MB / 0.6747 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009579/0.8398, allocations: 5.07 MB / 0.6797 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.8401, allocations: 386.5 kB / 0.68 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.8414, allocations: 0.499 MB / 0.6805 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.8656, allocations: 16.27 MB / 0.6964 GB, free: 132.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/0.8658, allocations: 65.91 kB / 0.6965 GB, free: 132.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006458/0.8665, allocations: 244.8 kB / 0.6967 GB, free: 132.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004654/0.8712, allocations: 3.153 MB / 0.6998 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02644/0.8976, allocations: 13.83 MB / 0.7133 GB, free: 128 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06479/0.9625, allocations: 60.31 MB / 0.7722 GB, free: 73.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/0.9795, allocations: 7.896 MB / 0.7799 GB, free: 65.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004405/0.9839, allocations: 4.079 MB / 0.7839 GB, free: 61.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.9842, allocations: 58.78 kB / 0.7839 GB, free: 61.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.9843, allocations: 64.56 kB / 0.784 GB, free: 61.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 6.322e-06/0.9843, allocations: 0 / 0.784 GB, free: 61.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.07902/1.063, allocations: 33.91 MB / 0.8171 GB, free: 26.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/1.063, allocations: 218.1 kB / 0.8173 GB, free: 26.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008036/1.071, allocations: 6.343 MB / 0.8235 GB, free: 20.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006549/1.072, allocations: 77.7 kB / 0.8236 GB, free: 20.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.074, allocations: 4.592 MB / 0.8281 GB, free: 15.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001121/1.075, allocations: 1.233 MB / 0.8293 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006062/1.076, allocations: 176 kB / 0.8294 GB, free: 14.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004183/1.076, allocations: 0.6618 MB / 0.8301 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004873/1.081, allocations: 3.854 MB / 0.8338 GB, free: 9.668 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007049/1.088, allocations: 8.699 MB / 0.8423 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/1.104, allocations: 13.56 MB / 0.8556 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/1.104, allocations: 48 kB / 0.8556 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.0263/1.131, allocations: 13.91 MB / 0.8692 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.131, allocations: 80.06 kB / 0.8693 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/1.131, allocations: 172 kB / 0.8695 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2022/1.333, allocations: 1.765 MB / 0.8712 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007534/1.341, allocations: 2.037 MB / 0.8732 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/1.355, allocations: 12.03 MB / 0.8849 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007238/1.363, allocations: 0.515 MB / 0.8854 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/1.364, allocations: 0.5045 MB / 0.8859 GB, free: 145.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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 (1046): * Single equations (assignments): 1041 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005873/1.37, allocations: 3.154 MB / 0.889 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.371, allocations: 0.5575 MB / 0.8895 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.383, allocations: 7.707 MB / 0.8971 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/1.383, allocations: 38.67 kB / 0.8971 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.383, allocations: 9.344 kB / 0.8971 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.22e-05/1.383, allocations: 14.39 kB / 0.8971 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02797/1.411, allocations: 16.68 MB / 0.9134 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/1.411, allocations: 7.375 kB / 0.9134 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/1.415, allocations: 0.5962 MB / 0.914 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004273/1.419, allocations: 1.526 MB / 0.9155 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006044/1.42, allocations: 61.83 kB / 0.9155 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/1.434, allocations: 11.28 MB / 0.9266 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.434, allocations: 7.5 kB / 0.9266 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/1.453, allocations: 12.58 MB / 0.9389 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003189/1.456, allocations: 1.218 MB / 0.94 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/1.458, allocations: 58.64 kB / 0.9401 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003803/1.462, allocations: 266.1 kB / 0.9404 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/1.463, allocations: 205 kB / 0.9405 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004486/1.463, allocations: 89.14 kB / 0.9406 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006717/1.47, allocations: 4.042 MB / 0.9446 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/1.47, allocations: 0 / 0.9446 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008045/1.478, allocations: 1.686 MB / 0.9462 GB, free: 118.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.01797/1.496, allocations: 13.27 MB / 0.9592 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01393/1.51, allocations: 9.441 MB / 0.9684 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.51, allocations: 0 / 0.9684 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006121/1.516, allocations: 3.937 MB / 0.9722 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008567/1.525, allocations: 0.7216 MB / 0.973 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09917/1.624, allocations: 65.26 MB / 1.037 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006262/1.63, allocations: 4.858 MB / 1.041 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004585/1.635, allocations: 3.206 MB / 1.045 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/1.635, allocations: 0 / 1.045 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.831/11.47, allocations: 177.5 MB / 1.218 GB, free: 55.77 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches