Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force",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.002793/0.002794, allocations: 186 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001216/0.001215, allocations: 101.6 kB / 270.9 MB, free: 8.371 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.5172/0.5172, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004768, allocations: 12 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1317, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6477, allocations: 107.7 MB / 0.584 GB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.6481, allocations: 82.36 kB / 0.584 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8962/1.544, allocations: 129.4 MB / 0.7104 GB, free: 84.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.544, allocations: 3 kB / 0.7104 GB, free: 84.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004504/1.545, allocations: 130 kB / 0.7105 GB, free: 84.91 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.03173/1.577, allocations: 7.093 MB / 0.7174 GB, free: 82.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/1.577, allocations: 9.156 kB / 0.7174 GB, free: 82.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005977/1.583, allocations: 1.166 MB / 0.7186 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05414/1.637, allocations: 7.106 MB / 0.7255 GB, free: 81.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02737/1.664, allocations: 7.426 MB / 0.7328 GB, free: 80.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006149/1.665, allocations: 498.7 kB / 0.7332 GB, free: 80.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003776/1.669, allocations: 0.6452 MB / 0.7339 GB, free: 80.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05077/1.72, allocations: 16.31 MB / 0.7498 GB, free: 72.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/1.72, allocations: 91.36 kB / 0.7499 GB, free: 72.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00222/1.722, allocations: 321.3 kB / 0.7502 GB, free: 72.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003213/1.725, allocations: 1.545 MB / 0.7517 GB, free: 72.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.042/1.768, allocations: 13.34 MB / 0.7647 GB, free: 68.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/1.879, allocations: 72.61 MB / 0.8356 GB, free: 6.715 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03267/1.911, allocations: 7.475 MB / 0.8429 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02766/1.939, allocations: 9.67 MB / 0.8524 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/1.939, allocations: 60.56 kB / 0.8524 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=273): time 6.772e-06/1.939, allocations: 0 / 0.8524 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.5148/2.454, allocations: 31.96 MB / 0.8837 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/2.454, allocations: 237.2 kB / 0.8839 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0164/2.471, allocations: 6.112 MB / 0.8899 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009906/2.472, allocations: 73.16 kB / 0.8899 GB, free: 90.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004658/2.476, allocations: 4.455 MB / 0.8943 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002324/2.479, allocations: 1.189 MB / 0.8954 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/2.481, allocations: 178.9 kB / 0.8956 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009685/2.482, allocations: 0.684 MB / 0.8963 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01127/2.493, allocations: 3.561 MB / 0.8997 GB, free: 87.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01582/2.509, allocations: 8.701 MB / 0.9082 GB, free: 79.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01419/2.523, allocations: 5.443 MB / 0.9136 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003031/2.523, allocations: 53.25 kB / 0.9136 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.04077/2.564, allocations: 13.28 MB / 0.9266 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/2.564, allocations: 87.06 kB / 0.9267 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003371/2.565, allocations: 177.7 kB / 0.9268 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007352/2.572, allocations: 1.687 MB / 0.9285 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01404/2.586, allocations: 2.116 MB / 0.9306 GB, free: 72.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/2.609, allocations: 11.55 MB / 0.9418 GB, free: 66.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.621, allocations: 0.5291 MB / 0.9423 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002472/2.624, allocations: 0.5288 MB / 0.9429 GB, free: 66.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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): 1082 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009533/2.633, allocations: 3.152 MB / 0.9459 GB, free: 64.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/2.635, allocations: 0.5873 MB / 0.9465 GB, free: 64.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02093/2.656, allocations: 6.795 MB / 0.9532 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.091e-05/2.656, allocations: 34.45 kB / 0.9532 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/2.656, allocations: 7.844 kB / 0.9532 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.831e-05/2.656, allocations: 13.12 kB / 0.9532 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04507/2.701, allocations: 15.21 MB / 0.9681 GB, free: 56.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.395e-05/2.701, allocations: 9.125 kB / 0.9681 GB, free: 56.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00589/2.707, allocations: 0.5872 MB / 0.9686 GB, free: 56.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006457/2.714, allocations: 1.399 MB / 0.97 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000824/2.715, allocations: 61.27 kB / 0.9701 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/2.736, allocations: 10.74 MB / 0.9806 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/2.736, allocations: 8 kB / 0.9806 GB, free: 45.81 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02767/2.763, allocations: 11.92 MB / 0.9922 GB, free: 35.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004692/2.768, allocations: 1.151 MB / 0.9933 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002175/2.77, allocations: 63.14 kB / 0.9934 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005997/2.776, allocations: 212.3 kB / 0.9936 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/2.778, allocations: 195.5 kB / 0.9938 GB, free: 33.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003781/2.778, allocations: 86.33 kB / 0.9939 GB, free: 33.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01185/2.79, allocations: 4.37 MB / 0.9981 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.332e-06/2.79, allocations: 0 / 0.9981 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01209/2.802, allocations: 1.636 MB / 0.9997 GB, free: 28.55 MB / 0.4948 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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03072/2.833, allocations: 13.29 MB / 1.013 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02113/2.854, allocations: 8.751 MB / 1.021 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/2.854, allocations: 8.062 kB / 1.021 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009936/2.864, allocations: 3.449 MB / 1.025 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/2.871, allocations: 0.6953 MB / 1.025 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5835/3.454, allocations: 190.7 MB / 1.212 GB, free: 32.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01354/3.468, allocations: 4.932 MB / 1.216 GB, free: 31.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009433/3.477, allocations: 3.235 MB / 1.22 GB, free: 31.39 MB / 0.5886 GB Notification: Performance of SimCode: time 1.593e-06/3.478, allocations: 0 / 1.22 GB, free: 31.39 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.17/9.648, allocations: 186.6 MB / 1.402 GB, free: 134.3 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat