Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 180.2 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.3 MB / 236 MB, free: 2.906 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.0008741, allocations: 90.45 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2975/0.2975, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.867e-05/5.871e-05, allocations: 12.14 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.61, allocations: 108.2 MB / 0.6074 GB, free: 13.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6103, allocations: 71.97 kB / 0.6075 GB, free: 13.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2884/0.8987, allocations: 108.2 MB / 0.7132 GB, free: 164 kB / 0.5105 GB Notification: Performance of FrontEnd: time 4.298e-06/0.8988, allocations: 0 / 0.7132 GB, free: 164 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004248/0.8992, allocations: 103.9 kB / 0.7133 GB, free: 60 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.3501/1.249, allocations: 5.151 MB / 0.7183 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.249, allocations: 9.219 kB / 0.7183 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004429/1.254, allocations: 0.9033 MB / 0.7192 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0317/1.286, allocations: 6.88 MB / 0.7259 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/1.306, allocations: 6.378 MB / 0.7321 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006082/1.307, allocations: 383 kB / 0.7325 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/1.31, allocations: 0.5091 MB / 0.733 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/1.339, allocations: 12.33 MB / 0.745 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/1.339, allocations: 88.31 kB / 0.7451 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008536/1.34, allocations: 249.8 kB / 0.7454 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00138/1.341, allocations: 1.132 MB / 0.7465 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/1.361, allocations: 9.665 MB / 0.7559 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06171/1.422, allocations: 56.4 MB / 0.811 GB, free: 67.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.434, allocations: 4.252 MB / 0.8151 GB, free: 66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/1.436, allocations: 1.904 MB / 0.817 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/1.449, allocations: 5.655 MB / 0.8225 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/1.449, allocations: 56.8 kB / 0.8226 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 7.044e-06/1.449, allocations: 3.891 kB / 0.8226 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.03835/1.487, allocations: 12.94 MB / 0.8352 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/1.488, allocations: 229.9 kB / 0.8354 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009785/1.497, allocations: 4.967 MB / 0.8403 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004016/1.498, allocations: 45.7 kB / 0.8403 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.5, allocations: 3.86 MB / 0.8441 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006841/1.501, allocations: 0.6562 MB / 0.8447 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/1.501, allocations: 135 kB / 0.8449 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002635/1.501, allocations: 0.585 MB / 0.8454 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/1.504, allocations: 1.93 MB / 0.8473 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/1.508, allocations: 6.21 MB / 0.8534 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/1.512, allocations: 3.457 MB / 0.8568 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.102e-05/1.512, allocations: 44 kB / 0.8568 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01214/1.524, allocations: 8.27 MB / 0.8649 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.634e-05/1.524, allocations: 72 kB / 0.865 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.524, allocations: 152 kB / 0.8651 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/1.525, allocations: 0.6038 MB / 0.8657 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/1.529, allocations: 1.493 MB / 0.8671 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/1.534, allocations: 5.693 MB / 0.8727 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/1.539, allocations: 344.2 kB / 0.873 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005513/1.54, allocations: 422.7 kB / 0.8734 GB, free: 17.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (809): * Single equations (assignments): 804 * 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.0007456/1.541, allocations: 0.6308 MB / 0.8741 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/1.541, allocations: 466 kB / 0.8745 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/1.545, allocations: 2.417 MB / 0.8769 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.545, allocations: 16 kB / 0.8769 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.545, allocations: 8 kB / 0.8769 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/1.545, allocations: 10.36 kB / 0.8769 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.557, allocations: 7.222 MB / 0.8839 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.557, allocations: 7.953 kB / 0.8839 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.558, allocations: 252.6 kB / 0.8842 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/1.559, allocations: 359.9 kB / 0.8845 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/1.559, allocations: 28 kB / 0.8846 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/1.564, allocations: 5.069 MB / 0.8895 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.564, allocations: 0 / 0.8895 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/1.57, allocations: 5.086 MB / 0.8945 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.572, allocations: 0.5223 MB / 0.895 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009203/1.573, allocations: 24 kB / 0.895 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/1.575, allocations: 71.92 kB / 0.8951 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/1.575, allocations: 104.8 kB / 0.8952 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.576, allocations: 43.98 kB / 0.8952 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007065/1.583, allocations: 3.536 MB / 0.8987 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.42e-07/1.583, allocations: 0 / 0.8987 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007202/1.59, allocations: 1.117 MB / 0.8998 GB, free: 9.004 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 (120): * Single equations (assignments): 115 * 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.008051/1.598, allocations: 6.287 MB / 0.9059 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3287/1.927, allocations: 4.894 MB / 0.9107 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-05/1.927, allocations: 5.188 kB / 0.9107 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00261/1.929, allocations: 1.389 MB / 0.912 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/1.935, allocations: 0.5899 MB / 0.9126 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03693/1.972, allocations: 10.38 MB / 0.9228 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009611/1.981, allocations: 3.969 MB / 0.9266 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00823/1.99, allocations: 2.139 MB / 0.9287 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00531/1.995, allocations: 2.392 MB / 0.9311 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/1.995, allocations: 0 / 0.9311 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/2.151, allocations: 92.96 MB / 1.022 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/2.151, allocations: 171.3 kB / 1.022 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.581/7.733, allocations: 0 / 1.022 GB, free: 73.73 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat