Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.0008562/0.0008562, allocations: 175 kB / 16.72 MB, free: 5.082 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.262/1.262, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007893/0.0007891, allocations: 97.03 kB / 271.2 MB, free: 8.242 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.3109/0.3109, allocations: 43.55 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2363/0.3381, allocations: 81.36 MB / 0.5589 GB, free: 8.324 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04085/0.379, allocations: 16.61 MB / 0.5751 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0172/0.3962, allocations: 380 kB / 0.5755 GB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01408/0.4103, allocations: 4.279 MB / 0.5796 GB, free: 11.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03432/0.4447, allocations: 12.45 MB / 0.5918 GB, free: 2.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005865/0.4506, allocations: 0.9877 MB / 0.5928 GB, free: 1.809 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0438/0.4944, allocations: 35.98 MB / 0.6279 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.5048, allocations: 7.781 MB / 0.6355 GB, free: 5.941 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.5085, allocations: 1.946 MB / 0.6374 GB, free: 3.988 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00433/0.5128, allocations: 3.076 MB / 0.6404 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.5139, allocations: 236 kB / 0.6406 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.5168, allocations: 1.314 MB / 0.6419 GB, free: 15.36 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.5197, allocations: 2.676 MB / 0.6445 GB, free: 12.67 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003799/0.5235, allocations: 3.027 MB / 0.6475 GB, free: 9.621 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009675/0.5332, allocations: 8.951 MB / 0.6562 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5332, allocations: 0 / 0.6562 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5333, allocations: 0 / 0.6562 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004034/0.5337, allocations: 4 kB / 0.6562 GB, free: 0.6445 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01453/0.5482, allocations: 6.335 MB / 0.6624 GB, free: 10.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5483, allocations: 16.03 kB / 0.6624 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003164/0.5514, allocations: 1.112 MB / 0.6635 GB, free: 9.086 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0367/0.5882, allocations: 6.357 MB / 0.6697 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1925/0.7807, allocations: 5.033 MB / 0.6746 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003798/0.7811, allocations: 380.4 kB / 0.675 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.7828, allocations: 0.4972 MB / 0.6755 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/0.8095, allocations: 16.27 MB / 0.6914 GB, free: 134 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.8097, allocations: 65.78 kB / 0.6914 GB, free: 133.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005432/0.8103, allocations: 239.5 kB / 0.6917 GB, free: 133.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004476/0.8147, allocations: 3.153 MB / 0.6947 GB, free: 133.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/0.8397, allocations: 13.97 MB / 0.7084 GB, free: 129.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06833/0.9081, allocations: 58.78 MB / 0.7658 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.9231, allocations: 7.035 MB / 0.7727 GB, free: 72.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004589/0.9278, allocations: 4.368 MB / 0.7769 GB, free: 68.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02029/0.9481, allocations: 15.03 MB / 0.7916 GB, free: 53.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.9482, allocations: 68.5 kB / 0.7917 GB, free: 53.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=306): time 6.151e-06/0.9482, allocations: 0 / 0.7917 GB, free: 53.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.07083/1.019, allocations: 31.21 MB / 0.8221 GB, free: 21.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/1.019, allocations: 218.2 kB / 0.8224 GB, free: 21.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00565/1.025, allocations: 5.345 MB / 0.8276 GB, free: 16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006005/1.025, allocations: 81.7 kB / 0.8276 GB, free: 15.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.027, allocations: 4.381 MB / 0.8319 GB, free: 11.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.028, allocations: 1.267 MB / 0.8332 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/1.029, allocations: 166.8 kB / 0.8333 GB, free: 10.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002842/1.029, allocations: 0.6531 MB / 0.834 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.033, allocations: 3.67 MB / 0.8375 GB, free: 5.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006363/1.04, allocations: 8.148 MB / 0.8455 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/1.054, allocations: 12.81 MB / 0.858 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.811e-05/1.054, allocations: 44 kB / 0.8581 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.2073/1.262, allocations: 13.21 MB / 0.871 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.262, allocations: 71.62 kB / 0.871 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/1.262, allocations: 159.1 kB / 0.8712 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004618/1.266, allocations: 1.75 MB / 0.8729 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006752/1.273, allocations: 1.933 MB / 0.8748 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.286, allocations: 12.01 MB / 0.8865 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.292, allocations: 495.9 kB / 0.887 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007321/1.293, allocations: 483.4 kB / 0.8874 GB, free: 144.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (994): * Single equations (assignments): 989 * 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.004127/1.297, allocations: 3.078 MB / 0.8904 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007317/1.297, allocations: 0.5023 MB / 0.8909 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.309, allocations: 7.649 MB / 0.8984 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.027e-05/1.309, allocations: 41.56 kB / 0.8984 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/1.309, allocations: 6.281 kB / 0.8985 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-05/1.309, allocations: 19.61 kB / 0.8985 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/1.335, allocations: 16.41 MB / 0.9145 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.335, allocations: 1.094 kB / 0.9145 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003077/1.338, allocations: 0.6139 MB / 0.9151 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004153/1.342, allocations: 1.529 MB / 0.9166 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000376/1.343, allocations: 66.39 kB / 0.9167 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/1.355, allocations: 11.2 MB / 0.9276 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.355, allocations: 2.281 kB / 0.9276 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/1.371, allocations: 12.2 MB / 0.9395 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.373, allocations: 1.119 MB / 0.9406 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007377/1.374, allocations: 61.72 kB / 0.9407 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.377, allocations: 245.5 kB / 0.9409 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007775/1.377, allocations: 199.8 kB / 0.9411 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/1.378, allocations: 91.69 kB / 0.9412 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004279/1.382, allocations: 3.356 MB / 0.9445 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.094e-06/1.382, allocations: 3.594 kB / 0.9445 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006477/1.388, allocations: 1.63 MB / 0.946 GB, free: 119.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.01561/1.404, allocations: 12.9 MB / 0.9586 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.416, allocations: 9.078 MB / 0.9675 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.416, allocations: 0 / 0.9675 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/1.421, allocations: 3.867 MB / 0.9713 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/1.425, allocations: 0.6726 MB / 0.9719 GB, free: 93.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08233/1.507, allocations: 59.29 MB / 1.03 GB, free: 29.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004929/1.512, allocations: 4.799 MB / 1.035 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003806/1.516, allocations: 3.143 MB / 1.038 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/1.516, allocations: 1.531 kB / 1.038 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.1/11.62, allocations: 171.9 MB / 1.205 GB, free: 67.55 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches