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.001583/0.001582, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.967/1.967, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001124/0.001123, allocations: 91.39 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.5565/0.5565, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.000489, allocations: 8 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.6666, allocations: 109.1 MB / 0.5854 GB, free: 9.242 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.6669, allocations: 79.95 kB / 0.5854 GB, free: 9.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9423/1.609, allocations: 138.9 MB / 0.7211 GB, free: 84.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.687e-06/1.609, allocations: 0 / 0.7211 GB, free: 84.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000566/1.61, allocations: 134.1 kB / 0.7213 GB, free: 84.71 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.0366/1.647, allocations: 7.307 MB / 0.7284 GB, free: 81.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.647, allocations: 11.38 kB / 0.7284 GB, free: 81.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00653/1.653, allocations: 1.236 MB / 0.7296 GB, free: 81.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05347/1.707, allocations: 7.18 MB / 0.7366 GB, free: 81.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02847/1.735, allocations: 7.585 MB / 0.744 GB, free: 79.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007609/1.736, allocations: 0.5172 MB / 0.7445 GB, free: 79.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004334/1.74, allocations: 0.6905 MB / 0.7452 GB, free: 78.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0582/1.799, allocations: 17.25 MB / 0.7621 GB, free: 70.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005447/1.799, allocations: 93.38 kB / 0.7621 GB, free: 70.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003762/1.803, allocations: 333.6 kB / 0.7625 GB, free: 70.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003726/1.807, allocations: 1.624 MB / 0.764 GB, free: 69.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04678/1.854, allocations: 14.37 MB / 0.7781 GB, free: 65.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/1.977, allocations: 72.38 MB / 0.8488 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0345/2.012, allocations: 7.205 MB / 0.8558 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4026/2.415, allocations: 9.458 MB / 0.865 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.441e-05/2.415, allocations: 76.36 kB / 0.8651 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 7.464e-06/2.415, allocations: 0 / 0.8651 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.1474/2.562, allocations: 32.19 MB / 0.8965 GB, free: 85.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/2.562, allocations: 243.2 kB / 0.8968 GB, free: 85.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01988/2.582, allocations: 5.975 MB / 0.9026 GB, free: 84.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001216/2.583, allocations: 75.38 kB / 0.9027 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005245/2.589, allocations: 4.589 MB / 0.9072 GB, free: 81.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002555/2.591, allocations: 1.259 MB / 0.9084 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00209/2.593, allocations: 182.1 kB / 0.9086 GB, free: 80 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001141/2.595, allocations: 0.6884 MB / 0.9092 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0111/2.606, allocations: 3.739 MB / 0.9129 GB, free: 78.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0146/2.62, allocations: 8.782 MB / 0.9215 GB, free: 70.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/2.635, allocations: 5.606 MB / 0.9269 GB, free: 68.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002031/2.635, allocations: 55.27 kB / 0.927 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.04047/2.676, allocations: 13.61 MB / 0.9403 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/2.676, allocations: 83.94 kB / 0.9404 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003188/2.676, allocations: 177.8 kB / 0.9405 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00727/2.683, allocations: 1.698 MB / 0.9422 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/2.698, allocations: 2.123 MB / 0.9443 GB, free: 63.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03112/2.729, allocations: 11.72 MB / 0.9557 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/2.742, allocations: 0.5273 MB / 0.9562 GB, free: 56.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00288/2.745, allocations: 0.5182 MB / 0.9567 GB, free: 56.65 MB / 0.4948 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 () * Number of clocked 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.01152/2.756, allocations: 3.295 MB / 0.9599 GB, free: 55.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/2.759, allocations: 0.588 MB / 0.9605 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02586/2.785, allocations: 7.529 MB / 0.9679 GB, free: 52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.673e-05/2.785, allocations: 36.95 kB / 0.9679 GB, free: 52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-05/2.785, allocations: 7.125 kB / 0.9679 GB, free: 52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-05/2.785, allocations: 16.75 kB / 0.9679 GB, free: 52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05375/2.839, allocations: 16.1 MB / 0.9837 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.708e-05/2.839, allocations: 4.812 kB / 0.9837 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006779/2.846, allocations: 0.6339 MB / 0.9843 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006798/2.853, allocations: 1.415 MB / 0.9857 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/2.854, allocations: 63.89 kB / 0.9857 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02261/2.877, allocations: 10.93 MB / 0.9964 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/2.877, allocations: 10.94 kB / 0.9964 GB, free: 29.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03053/2.907, allocations: 12.72 MB / 1.009 GB, free: 18.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005046/2.912, allocations: 1.197 MB / 1.01 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/2.914, allocations: 64 kB / 1.01 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006545/2.921, allocations: 229.2 kB / 1.01 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001533/2.923, allocations: 202 kB / 1.01 GB, free: 16.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005094/2.923, allocations: 91.09 kB / 1.011 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01194/2.935, allocations: 4.297 MB / 1.015 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/2.935, allocations: 0 / 1.015 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01235/2.947, allocations: 1.709 MB / 1.016 GB, free: 11.35 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 (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.04092/2.988, allocations: 14.55 MB / 1.031 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02568/3.014, allocations: 9.187 MB / 1.04 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/3.014, allocations: 4 kB / 1.04 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/3.027, allocations: 3.706 MB / 1.043 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007643/3.034, allocations: 0.7271 MB / 1.044 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6071/3.642, allocations: 189.4 MB / 1.229 GB, free: 27.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01658/3.658, allocations: 5.194 MB / 1.234 GB, free: 26.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/3.669, allocations: 3.349 MB / 1.237 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of SimCode: time 1.523e-06/3.669, allocations: 0 / 1.237 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.845/9.515, allocations: 196 MB / 1.429 GB, free: 115.3 MB / 0.5886 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