Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_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.001493/0.001492, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.754/1.754, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.00089/0.0008899, allocations: 89.52 kB / 267 MB, free: 9.281 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.4677/0.4677, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.263e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5008/0.637, allocations: 106.9 MB / 0.5773 GB, free: 14.92 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6373, allocations: 77.44 kB / 0.5774 GB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3126/0.95, allocations: 115.1 MB / 0.6898 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9501, allocations: 0 / 0.6898 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003998/0.9505, allocations: 108 kB / 0.6899 GB, free: 4.242 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.3739/1.324, allocations: 5.468 MB / 0.6952 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.048e-05/1.324, allocations: 9.75 kB / 0.6952 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005361/1.33, allocations: 0.9831 MB / 0.6962 GB, free: 83.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03205/1.362, allocations: 6.954 MB / 0.703 GB, free: 83.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/1.384, allocations: 6.879 MB / 0.7097 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005863/1.385, allocations: 416.3 kB / 0.7101 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003261/1.388, allocations: 0.5495 MB / 0.7106 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03437/1.422, allocations: 13.26 MB / 0.7236 GB, free: 79.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004519/1.423, allocations: 79.81 kB / 0.7237 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/1.425, allocations: 269.2 kB / 0.7239 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002354/1.427, allocations: 1.253 MB / 0.7251 GB, free: 79.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/1.455, allocations: 10.51 MB / 0.7354 GB, free: 79.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08143/1.536, allocations: 59.79 MB / 0.7938 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.547, allocations: 4.594 MB / 0.7983 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003686/1.551, allocations: 2.212 MB / 0.8004 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/1.565, allocations: 6.494 MB / 0.8068 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.565, allocations: 57.75 kB / 0.8068 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=183): time 6.602e-06/1.565, allocations: 0 / 0.8068 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=195): time 0.04554/1.611, allocations: 14.57 MB / 0.8211 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/1.611, allocations: 232.8 kB / 0.8213 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.621, allocations: 5.173 MB / 0.8263 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/1.622, allocations: 55.86 kB / 0.8264 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003168/1.625, allocations: 4.14 MB / 0.8304 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.626, allocations: 0.7734 MB / 0.8312 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/1.626, allocations: 141.7 kB / 0.8313 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000419/1.627, allocations: 0.6134 MB / 0.8319 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/1.63, allocations: 2.243 MB / 0.8341 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006303/1.636, allocations: 6.751 MB / 0.8407 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005641/1.642, allocations: 3.877 MB / 0.8445 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/1.642, allocations: 44.59 kB / 0.8445 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.01849/1.661, allocations: 9.161 MB / 0.8535 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/1.661, allocations: 76.22 kB / 0.8535 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002664/1.661, allocations: 164 kB / 0.8537 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/1.663, allocations: 0.606 MB / 0.8543 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005933/1.669, allocations: 1.648 MB / 0.8559 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007065/1.676, allocations: 5.725 MB / 0.8615 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007616/1.683, allocations: 391.6 kB / 0.8619 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/1.685, allocations: 446.7 kB / 0.8623 GB, free: 12.21 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 () * 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.002539/1.688, allocations: 0.6694 MB / 0.863 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.689, allocations: 489.6 kB / 0.8634 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006703/1.696, allocations: 3.028 MB / 0.8664 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/1.696, allocations: 20 kB / 0.8664 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.696, allocations: 4 kB / 0.8664 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/1.696, allocations: 15.48 kB / 0.8664 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02438/1.72, allocations: 8.458 MB / 0.8747 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.721, allocations: 4 kB / 0.8747 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/1.722, allocations: 322.8 kB / 0.875 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/1.724, allocations: 365 kB / 0.8753 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/1.724, allocations: 35.84 kB / 0.8754 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006084/1.73, allocations: 5.068 MB / 0.8803 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.73, allocations: 7.938 kB / 0.8803 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.74, allocations: 6.096 MB / 0.8863 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/1.743, allocations: 0.8035 MB / 0.8871 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.744, allocations: 32 kB / 0.8871 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/1.747, allocations: 95.33 kB / 0.8872 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/1.747, allocations: 120.5 kB / 0.8873 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.747, allocations: 55.23 kB / 0.8873 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009497/1.757, allocations: 3.686 MB / 0.8909 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.11e-07/1.757, allocations: 8 kB / 0.891 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009753/1.767, allocations: 1.226 MB / 0.8922 GB, free: 1.031 MB / 0.5261 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 () * 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.4099/2.177, allocations: 7.28 MB / 0.8993 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01039/2.187, allocations: 5.637 MB / 0.9048 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/2.187, allocations: 3 kB / 0.9048 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/2.19, allocations: 1.688 MB / 0.9064 GB, free: 103 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.194, allocations: 0.5974 MB / 0.907 GB, free: 103 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/2.228, allocations: 11.44 MB / 0.9182 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006583/2.234, allocations: 4.256 MB / 0.9223 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007267/2.242, allocations: 2.326 MB / 0.9246 GB, free: 100 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004982/2.247, allocations: 2.587 MB / 0.9271 GB, free: 100 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/2.247, allocations: 0 / 0.9271 GB, free: 100 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1696/2.416, allocations: 99.85 MB / 1.025 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/2.417, allocations: 174.9 kB / 1.025 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.949/8.366, allocations: 0 / 1.025 GB, free: 64.57 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat