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.002245/0.002245, allocations: 182.3 kB / 13.66 MB, free: 1.664 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.297/2.297, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001121/0.001121, allocations: 86.72 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2872/0.2872, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.609e-05, allocations: 4 kB / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 58.85 MB / 484.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5336/0.6567, allocations: 109 MB / 0.5793 GB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004318/0.6573, allocations: 75.94 kB / 0.5794 GB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023/1.68, allocations: 139.1 MB / 0.7152 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.595e-06/1.68, allocations: 0 / 0.7152 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005235/1.681, allocations: 135.8 kB / 0.7153 GB, free: 94.2 MB / 0.4948 GB 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.03309/1.714, allocations: 6.811 MB / 0.722 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.714, allocations: 9.375 kB / 0.722 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006728/1.721, allocations: 1.235 MB / 0.7232 GB, free: 91.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05514/1.776, allocations: 7.185 MB / 0.7302 GB, free: 91.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/1.806, allocations: 7.556 MB / 0.7376 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008758/1.806, allocations: 0.5178 MB / 0.7381 GB, free: 90.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004539/1.811, allocations: 0.6886 MB / 0.7388 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05658/1.868, allocations: 17.12 MB / 0.7555 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006934/1.868, allocations: 89.59 kB / 0.7556 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003962/1.872, allocations: 331 kB / 0.7559 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/1.876, allocations: 1.625 MB / 0.7575 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04622/1.922, allocations: 14.16 MB / 0.7713 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/2.041, allocations: 72.38 MB / 0.842 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03012/2.071, allocations: 7.118 MB / 0.8489 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0084/2.079, allocations: 3.934 MB / 0.8528 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02703/2.106, allocations: 9.468 MB / 0.862 GB, free: 16.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/2.106, allocations: 70.73 kB / 0.8621 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 7.133e-06/2.106, allocations: 7.938 kB / 0.8621 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.1247/2.231, allocations: 27.71 MB / 0.8892 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/2.231, allocations: 248.1 kB / 0.8894 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/2.247, allocations: 5.909 MB / 0.8952 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/2.249, allocations: 77.7 kB / 0.8952 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3686/2.617, allocations: 4.572 MB / 0.8997 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002541/2.62, allocations: 1.271 MB / 0.901 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/2.622, allocations: 177.8 kB / 0.9011 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001013/2.623, allocations: 0.6868 MB / 0.9018 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01111/2.634, allocations: 3.655 MB / 0.9054 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/2.65, allocations: 8.701 MB / 0.9139 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/2.664, allocations: 5.574 MB / 0.9193 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003451/2.665, allocations: 51.69 kB / 0.9194 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.03929/2.704, allocations: 13.43 MB / 0.9325 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/2.704, allocations: 79.47 kB / 0.9325 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/2.705, allocations: 185.3 kB / 0.9327 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007083/2.712, allocations: 1.695 MB / 0.9344 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/2.726, allocations: 2.129 MB / 0.9365 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/2.748, allocations: 11.38 MB / 0.9476 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/2.76, allocations: 0.5302 MB / 0.9481 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/2.762, allocations: 0.5166 MB / 0.9486 GB, free: 93.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1087 * 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.003254/2.765, allocations: 0.7853 MB / 0.9494 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/2.767, allocations: 0.5954 MB / 0.9499 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02176/2.789, allocations: 7.429 MB / 0.9572 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.277e-05/2.789, allocations: 39.97 kB / 0.9572 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.519e-05/2.789, allocations: 14.23 kB / 0.9572 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.257e-05/2.789, allocations: 13.69 kB / 0.9573 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04755/2.837, allocations: 16.01 MB / 0.9729 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-05/2.837, allocations: 6.141 kB / 0.9729 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006564/2.843, allocations: 0.6293 MB / 0.9735 GB, free: 85.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006661/2.85, allocations: 1.413 MB / 0.9749 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009993/2.851, allocations: 66.19 kB / 0.975 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/2.872, allocations: 10.6 MB / 0.9853 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.872, allocations: 3.688 kB / 0.9853 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02973/2.902, allocations: 12.59 MB / 0.9976 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004931/2.907, allocations: 1.207 MB / 0.9988 GB, free: 73.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002448/2.91, allocations: 62.33 kB / 0.9988 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006574/2.916, allocations: 227 kB / 0.9991 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/2.918, allocations: 204.1 kB / 0.9993 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004133/2.918, allocations: 90.45 kB / 0.9993 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01033/2.928, allocations: 4.233 MB / 1.003 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.042e-06/2.929, allocations: 0 / 1.003 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01156/2.94, allocations: 1.711 MB / 1.005 GB, free: 68.02 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 () * 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.03178/2.972, allocations: 13.97 MB / 1.019 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02157/2.994, allocations: 9.056 MB / 1.028 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/2.994, allocations: 0 / 1.028 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/3.004, allocations: 3.651 MB / 1.031 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006541/3.01, allocations: 0.7174 MB / 1.032 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05424/3.065, allocations: 16.8 MB / 1.048 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01176/3.076, allocations: 5.184 MB / 1.053 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009235/3.086, allocations: 3.351 MB / 1.057 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of SimCode: time 1.713e-06/3.086, allocations: 0 / 1.057 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.049/9.135, allocations: 195.6 MB / 1.248 GB, free: 13.36 MB / 0.5261 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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat