Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques",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.002784/0.002783, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.118/2.118, 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.001081/0.00108, allocations: 93.2 kB / 270.9 MB, free: 8.387 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.5141/0.5141, allocations: 43.54 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004779, allocations: 12 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.6394, allocations: 107 MB / 0.5833 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.6397, allocations: 79.95 kB / 0.5834 GB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8324/1.472, allocations: 115 MB / 0.6957 GB, free: 85.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.676e-06/1.472, allocations: 0 / 0.6957 GB, free: 85.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003978/1.473, allocations: 108.9 kB / 0.6958 GB, free: 85.66 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02615/1.499, allocations: 5.945 MB / 0.7016 GB, free: 83.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.499, allocations: 12.05 kB / 0.7016 GB, free: 83.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005619/1.505, allocations: 0.9828 MB / 0.7026 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05269/1.557, allocations: 6.953 MB / 0.7094 GB, free: 82.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/1.584, allocations: 6.912 MB / 0.7161 GB, free: 81.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007431/1.585, allocations: 418.1 kB / 0.7165 GB, free: 81.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003598/1.589, allocations: 0.5402 MB / 0.717 GB, free: 81.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04422/1.633, allocations: 13.38 MB / 0.7301 GB, free: 78.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004868/1.633, allocations: 74.5 kB / 0.7302 GB, free: 78.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002819/1.636, allocations: 277.1 kB / 0.7304 GB, free: 78.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/1.639, allocations: 1.248 MB / 0.7317 GB, free: 78.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03326/1.673, allocations: 10.68 MB / 0.7421 GB, free: 74.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08942/1.762, allocations: 59.76 MB / 0.8005 GB, free: 29.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.781, allocations: 4.647 MB / 0.805 GB, free: 27.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01649/1.798, allocations: 6.505 MB / 0.8113 GB, free: 24.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/1.798, allocations: 58.84 kB / 0.8114 GB, free: 24.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 6.242e-06/1.798, allocations: 0 / 0.8114 GB, free: 24.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.07208/1.87, allocations: 16.93 MB / 0.8279 GB, free: 11.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/1.87, allocations: 223.2 kB / 0.8281 GB, free: 11.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/1.883, allocations: 5.23 MB / 0.8333 GB, free: 7.168 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005047/1.884, allocations: 53.7 kB / 0.8333 GB, free: 7.109 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003749/1.888, allocations: 3.949 MB / 0.8372 GB, free: 3.512 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.889, allocations: 0.7675 MB / 0.8379 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.89, allocations: 145.8 kB / 0.838 GB, free: 2.699 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005665/1.891, allocations: 0.6165 MB / 0.8387 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006271/1.897, allocations: 2.303 MB / 0.8409 GB, free: 4 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01188/1.909, allocations: 6.813 MB / 0.8476 GB, free: 6.941 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.92, allocations: 3.878 MB / 0.8513 GB, free: 3.055 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/1.92, allocations: 44 kB / 0.8514 GB, free: 3.012 MB / 0.4949 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.02791/1.948, allocations: 9.076 MB / 0.8602 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/1.948, allocations: 79.94 kB / 0.8603 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003008/1.948, allocations: 160 kB / 0.8605 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/1.951, allocations: 0.618 MB / 0.8611 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/1.962, allocations: 1.641 MB / 0.8627 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.973, allocations: 5.832 MB / 0.8684 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009141/1.982, allocations: 383.4 kB / 0.8687 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001943/1.984, allocations: 448 kB / 0.8692 GB, free: 0.5312 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (885): * Single equations (assignments): 880 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.386/2.371, allocations: 2.693 MB / 0.8718 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/2.372, allocations: 491.3 kB / 0.8723 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/2.383, allocations: 3.065 MB / 0.8753 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.755e-05/2.383, allocations: 20.81 kB / 0.8753 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/2.383, allocations: 6.156 kB / 0.8753 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/2.383, allocations: 10.03 kB / 0.8753 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02644/2.409, allocations: 8.492 MB / 0.8836 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/2.409, allocations: 2.938 kB / 0.8836 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/2.412, allocations: 324.3 kB / 0.8839 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/2.414, allocations: 364 kB / 0.8842 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/2.415, allocations: 36.83 kB / 0.8843 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007963/2.423, allocations: 5.172 MB / 0.8893 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/2.423, allocations: 8.938 kB / 0.8893 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/2.437, allocations: 6.143 MB / 0.8953 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003444/2.441, allocations: 0.8038 MB / 0.8961 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/2.442, allocations: 33.38 kB / 0.8962 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00418/2.447, allocations: 96.28 kB / 0.8962 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006315/2.447, allocations: 115.3 kB / 0.8964 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/2.448, allocations: 56.78 kB / 0.8964 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01007/2.458, allocations: 3.742 MB / 0.9001 GB, free: 98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.462e-06/2.458, allocations: 2.969 kB / 0.9001 GB, free: 98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009185/2.467, allocations: 1.23 MB / 0.9013 GB, free: 98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01519/2.482, allocations: 7.345 MB / 0.9084 GB, free: 95.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01484/2.497, allocations: 5.721 MB / 0.914 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.497, allocations: 1.25 kB / 0.914 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004226/2.501, allocations: 1.706 MB / 0.9157 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00577/2.507, allocations: 0.6033 MB / 0.9163 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1562/2.663, allocations: 158.6 MB / 1.071 GB, free: 13.04 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01012/2.674, allocations: 4.255 MB / 1.075 GB, free: 11.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006514/2.68, allocations: 2.634 MB / 1.078 GB, free: 9.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.794e-06/2.68, allocations: 0 / 1.078 GB, free: 9.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.772/8.452, allocations: 153.5 MB / 1.228 GB, free: 113.4 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat