Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.001317/0.001317, allocations: 171.4 kB / 16.72 MB, free: 5.055 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.329/1.329, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.000708/0.0007081, allocations: 85.44 kB / 271.2 MB, free: 8.254 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.3056/0.3056, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 12 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.251/0.3518, allocations: 88.6 MB / 0.5659 GB, free: 3.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04132/0.3931, allocations: 17.84 MB / 0.5834 GB, free: 6.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01878/0.4119, allocations: 412.5 kB / 0.5838 GB, free: 6.816 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0167/0.4287, allocations: 4.668 MB / 0.5883 GB, free: 5.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04081/0.4695, allocations: 13.59 MB / 0.6016 GB, free: 8.727 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.4767, allocations: 0.9761 MB / 0.6025 GB, free: 7.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.04645/0.5231, allocations: 36.44 MB / 0.6381 GB, free: 3.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.5351, allocations: 7.915 MB / 0.6459 GB, free: 11.29 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.5393, allocations: 2.066 MB / 0.6479 GB, free: 9.211 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005195/0.5445, allocations: 3.252 MB / 0.651 GB, free: 5.949 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.546, allocations: 244 kB / 0.6513 GB, free: 5.711 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.55, allocations: 1.33 MB / 0.6526 GB, free: 4.379 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004744/0.5548, allocations: 2.883 MB / 0.6554 GB, free: 1.488 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005691/0.5605, allocations: 3.198 MB / 0.6585 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.5715, allocations: 9.336 MB / 0.6676 GB, free: 4.902 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5716, allocations: 0 / 0.6676 GB, free: 4.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5716, allocations: 0 / 0.6676 GB, free: 4.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004786/0.5721, allocations: 0 / 0.6676 GB, free: 4.902 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.3842/0.9563, allocations: 6.753 MB / 0.6742 GB, free: 142.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.9564, allocations: 10.66 kB / 0.6742 GB, free: 142.3 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003866/0.9603, allocations: 1.163 MB / 0.6754 GB, free: 142.2 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03803/0.9983, allocations: 6.448 MB / 0.6817 GB, free: 141.7 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/1.009, allocations: 5.326 MB / 0.6869 GB, free: 139.8 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/1.009, allocations: 396.5 kB / 0.6872 GB, free: 139.7 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/1.011, allocations: 0.5227 MB / 0.6878 GB, free: 139.5 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/1.037, allocations: 16.76 MB / 0.7041 GB, free: 132.3 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/1.037, allocations: 67.61 kB / 0.7042 GB, free: 132.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000669/1.038, allocations: 253.1 kB / 0.7044 GB, free: 132.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005201/1.043, allocations: 3.25 MB / 0.7076 GB, free: 131.6 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02957/1.072, allocations: 14.2 MB / 0.7215 GB, free: 125.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06381/1.136, allocations: 62.42 MB / 0.7824 GB, free: 62.35 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.151, allocations: 6.783 MB / 0.7891 GB, free: 55.42 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004291/1.155, allocations: 4.113 MB / 0.7931 GB, free: 51.3 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/1.169, allocations: 9.43 MB / 0.8023 GB, free: 41.85 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.169, allocations: 68.81 kB / 0.8024 GB, free: 41.77 MB / 490.8 MB Notification: Performance of pre-optimization done (n=297): time 6.171e-06/1.169, allocations: 4 kB / 0.8024 GB, free: 41.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=339): time 0.07364/1.243, allocations: 33.01 MB / 0.8346 GB, free: 8.453 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/1.243, allocations: 248.2 kB / 0.8348 GB, free: 8.164 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007728/1.251, allocations: 6.725 MB / 0.8414 GB, free: 1.445 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007807/1.251, allocations: 81.14 kB / 0.8415 GB, free: 1.363 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003284/1.255, allocations: 4.803 MB / 0.8462 GB, free: 12.56 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001913/1.257, allocations: 1.261 MB / 0.8474 GB, free: 11.31 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005689/1.257, allocations: 176.9 kB / 0.8476 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004813/1.258, allocations: 0.6823 MB / 0.8482 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005835/1.264, allocations: 3.82 MB / 0.852 GB, free: 6.621 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009517/1.273, allocations: 8.866 MB / 0.8606 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2236/1.497, allocations: 13.74 MB / 0.874 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/1.497, allocations: 50.88 kB / 0.8741 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.0254/1.522, allocations: 14.05 MB / 0.8878 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.523, allocations: 80.53 kB / 0.8879 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002027/1.523, allocations: 176 kB / 0.8881 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/1.527, allocations: 1.788 MB / 0.8898 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006751/1.534, allocations: 2.087 MB / 0.8918 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.546, allocations: 12.05 MB / 0.9036 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00716/1.553, allocations: 0.5348 MB / 0.9041 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/1.555, allocations: 0.5235 MB / 0.9046 GB, free: 137.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (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 (1087): * Single equations (assignments): 1080 * 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.00596/1.561, allocations: 3.282 MB / 0.9078 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.562, allocations: 0.5896 MB / 0.9084 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.575, allocations: 7.695 MB / 0.9159 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/1.575, allocations: 35.31 kB / 0.916 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.288e-05/1.575, allocations: 9.625 kB / 0.916 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/1.576, allocations: 17.73 kB / 0.916 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.604, allocations: 16.36 MB / 0.932 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/1.604, allocations: 4.781 kB / 0.932 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/1.607, allocations: 0.5818 MB / 0.9325 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/1.61, allocations: 1.53 MB / 0.934 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/1.611, allocations: 63.12 kB / 0.9341 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/1.623, allocations: 11.27 MB / 0.9451 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.623, allocations: 8 kB / 0.9451 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/1.638, allocations: 12.16 MB / 0.957 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/1.641, allocations: 1.227 MB / 0.9582 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.642, allocations: 56 kB / 0.9582 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/1.646, allocations: 228.9 kB / 0.9585 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/1.646, allocations: 205.9 kB / 0.9586 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/1.647, allocations: 89.16 kB / 0.9587 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005891/1.653, allocations: 4.32 MB / 0.963 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/1.653, allocations: 0 / 0.963 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007291/1.66, allocations: 1.725 MB / 0.9646 GB, free: 99.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (279): * Single equations (assignments): 274 * 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.0149/1.675, allocations: 12.85 MB / 0.9772 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.687, allocations: 9.333 MB / 0.9863 GB, free: 77.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.687, allocations: 0 / 0.9863 GB, free: 77.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005266/1.692, allocations: 3.8 MB / 0.99 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009717/1.702, allocations: 0.7566 MB / 0.9908 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/1.806, allocations: 68.29 MB / 1.057 GB, free: 14.79 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00728/1.814, allocations: 5.041 MB / 1.062 GB, free: 9.723 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00514/1.819, allocations: 3.405 MB / 1.066 GB, free: 6.316 MB / 0.5262 GB Notification: Performance of SimCode: time 9.22e-07/1.819, allocations: 0 / 1.066 GB, free: 6.316 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.29/12.11, allocations: 184.4 MB / 1.246 GB, free: 23.32 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches