Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00197/0.00197, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008474/0.0008472, allocations: 101.5 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4136/0.4136, allocations: 45.23 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 12.2 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4122, allocations: 63.26 MB / 0.5193 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.6128, allocations: 109.1 MB / 0.6258 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.6132, allocations: 87.92 kB / 0.6259 GB, free: 10.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6326/1.246, allocations: 110.6 MB / 0.7339 GB, free: 98.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.246, allocations: 0 / 0.7339 GB, free: 98.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002553/1.246, allocations: 100 kB / 0.734 GB, free: 98.21 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01898/1.265, allocations: 5.664 MB / 0.7396 GB, free: 95.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.265, allocations: 10.59 kB / 0.7396 GB, free: 95.36 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003796/1.269, allocations: 0.9037 MB / 0.7405 GB, free: 94.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0255/1.294, allocations: 6.872 MB / 0.7472 GB, free: 91.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01701/1.312, allocations: 5.777 MB / 0.7528 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/1.312, allocations: 381.6 kB / 0.7532 GB, free: 87.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002328/1.314, allocations: 0.5079 MB / 0.7537 GB, free: 87.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/1.341, allocations: 12.42 MB / 0.7658 GB, free: 76.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003481/1.342, allocations: 75.34 kB / 0.7659 GB, free: 75.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/1.344, allocations: 247.8 kB / 0.7661 GB, free: 75.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/1.345, allocations: 1.129 MB / 0.7672 GB, free: 74.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/1.365, allocations: 9.82 MB / 0.7768 GB, free: 64.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05211/1.417, allocations: 56.39 MB / 0.8319 GB, free: 6.602 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009454/1.427, allocations: 4.269 MB / 0.8361 GB, free: 2.168 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/1.438, allocations: 5.637 MB / 0.8416 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.438, allocations: 51.39 kB / 0.8416 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=150): time 4.258e-06/1.438, allocations: 0 / 0.8416 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162): time 0.03814/1.476, allocations: 15.04 MB / 0.8563 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/1.476, allocations: 226.1 kB / 0.8565 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009649/1.486, allocations: 5.01 MB / 0.8614 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004566/1.486, allocations: 53.7 kB / 0.8614 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003618/1.49, allocations: 3.861 MB / 0.8652 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.491, allocations: 0.6524 MB / 0.8659 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/1.491, allocations: 132 kB / 0.866 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004322/1.492, allocations: 0.5791 MB / 0.8665 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/1.495, allocations: 1.98 MB / 0.8685 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006348/1.501, allocations: 6.25 MB / 0.8746 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005781/1.507, allocations: 3.449 MB / 0.878 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.507, allocations: 44 kB / 0.878 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.3362/1.844, allocations: 8.353 MB / 0.8861 GB, free: 126 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/1.844, allocations: 69.44 kB / 0.8862 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003068/1.844, allocations: 159.3 kB / 0.8864 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/1.846, allocations: 0.5947 MB / 0.8869 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/1.851, allocations: 1.493 MB / 0.8884 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/1.857, allocations: 5.814 MB / 0.8941 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006137/1.863, allocations: 345.2 kB / 0.8944 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/1.864, allocations: 412.9 kB / 0.8948 GB, free: 123.3 MB / 0.5261 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 () * Number of clocked 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.004918/1.869, allocations: 2.526 MB / 0.8973 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.87, allocations: 465.8 kB / 0.8977 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/1.874, allocations: 2.421 MB / 0.9001 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/1.874, allocations: 25.3 kB / 0.9001 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.874, allocations: 9.094 kB / 0.9001 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.874, allocations: 7.906 kB / 0.9001 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/1.891, allocations: 7.247 MB / 0.9072 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/1.891, allocations: 4 kB / 0.9072 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.893, allocations: 255.5 kB / 0.9074 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/1.894, allocations: 355.5 kB / 0.9078 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.894, allocations: 35.12 kB / 0.9078 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/1.9, allocations: 5.157 MB / 0.9129 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.9, allocations: 6.688 kB / 0.9129 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008477/1.908, allocations: 5.124 MB / 0.9179 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.91, allocations: 0.5266 MB / 0.9184 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/1.911, allocations: 25.8 kB / 0.9184 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.913, allocations: 67.38 kB / 0.9185 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/1.913, allocations: 101.6 kB / 0.9186 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.913, allocations: 46.78 kB / 0.9186 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007715/1.921, allocations: 3.587 MB / 0.9221 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.042e-06/1.921, allocations: 2 kB / 0.9221 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01003/1.931, allocations: 1.118 MB / 0.9232 GB, free: 115.8 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 () * Number of clocked 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.009753/1.941, allocations: 6.326 MB / 0.9294 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.951, allocations: 4.966 MB / 0.9342 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.951, allocations: 6.453 kB / 0.9342 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/1.954, allocations: 1.399 MB / 0.9356 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/1.959, allocations: 0.5876 MB / 0.9362 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1233/2.082, allocations: 148.8 MB / 1.081 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006313/2.089, allocations: 3.97 MB / 1.085 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008612/2.098, allocations: 2.248 MB / 1.088 GB, free: 0 / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3017/2.399, allocations: 2.696 MB / 1.09 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/2.399, allocations: 0 / 1.09 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1583/2.558, allocations: 93.44 MB / 1.181 GB, free: 117 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/2.558, allocations: 199.1 kB / 1.182 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.281/8.838, allocations: 0 / 1.182 GB, free: 116.8 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat