Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.001205/0.001205, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.616/1.616, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009439/0.0009441, allocations: 78.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2305/0.2305, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 11.98 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 58.86 MB / 490.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.6071, allocations: 107.7 MB / 0.5841 GB, free: 8.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.6075, allocations: 81.7 kB / 0.5841 GB, free: 8.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7077/1.315, allocations: 179.5 MB / 0.7594 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.048e-06/1.315, allocations: 0 / 0.7594 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001001/1.316, allocations: 179.1 kB / 0.7596 GB, free: 93.44 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03975/1.356, allocations: 9.464 MB / 0.7689 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/1.356, allocations: 11.78 kB / 0.7689 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01014/1.366, allocations: 1.627 MB / 0.7705 GB, free: 89.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04063/1.407, allocations: 9.866 MB / 0.7801 GB, free: 89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03059/1.438, allocations: 9.896 MB / 0.7898 GB, free: 87.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/1.439, allocations: 0.6932 MB / 0.7904 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005211/1.444, allocations: 0.9226 MB / 0.7913 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05584/1.5, allocations: 22.35 MB / 0.8132 GB, free: 76.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005857/1.5, allocations: 118.4 kB / 0.8133 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00357/1.504, allocations: 436.6 kB / 0.8137 GB, free: 76.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002748/1.507, allocations: 2.081 MB / 0.8157 GB, free: 74.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03569/1.542, allocations: 18.7 MB / 0.834 GB, free: 57.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4592/2.002, allocations: 91.59 MB / 0.9234 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02489/2.027, allocations: 9.453 MB / 0.9326 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/2.027, allocations: 81.52 kB / 0.9327 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/2.027, allocations: 80.23 kB / 0.9328 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 7.624e-06/2.027, allocations: 0 / 0.9328 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.1089/2.136, allocations: 45.19 MB / 0.9769 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/2.136, allocations: 288 kB / 0.9772 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/2.149, allocations: 7.403 MB / 0.9844 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/2.15, allocations: 98.23 kB / 0.9845 GB, free: 32.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004142/2.154, allocations: 6.126 MB / 0.9905 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00254/2.157, allocations: 1.735 MB / 0.9922 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/2.158, allocations: 230.4 kB / 0.9924 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005802/2.159, allocations: 0.7815 MB / 0.9932 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008301/2.167, allocations: 5.047 MB / 0.9981 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01446/2.181, allocations: 11.11 MB / 1.009 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/2.193, allocations: 7.336 MB / 1.016 GB, free: 14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003033/2.193, allocations: 63.44 kB / 1.016 GB, free: 14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.04065/2.234, allocations: 18.31 MB / 1.034 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004453/2.234, allocations: 96 kB / 1.034 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006085/2.235, allocations: 212 kB / 1.034 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005932/2.241, allocations: 2.482 MB / 1.037 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009944/2.251, allocations: 2.68 MB / 1.039 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02405/2.275, allocations: 17.56 MB / 1.057 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.287, allocations: 0.6791 MB / 1.057 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002544/2.289, allocations: 0.6445 MB / 1.058 GB, free: 2.086 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 966 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1365): * Single equations (assignments): 1359 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01478/2.304, allocations: 4.458 MB / 1.062 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002355/2.306, allocations: 0.7482 MB / 1.063 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02196/2.328, allocations: 10.8 MB / 1.073 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.027e-05/2.328, allocations: 51.19 kB / 1.074 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.494e-05/2.328, allocations: 14.31 kB / 1.074 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.082e-05/2.329, allocations: 23.77 kB / 1.074 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0576/2.386, allocations: 23.22 MB / 1.096 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.965e-05/2.386, allocations: 4 kB / 1.096 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005222/2.391, allocations: 0.8815 MB / 1.097 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005784/2.397, allocations: 2.126 MB / 1.099 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001242/2.399, allocations: 90.61 kB / 1.099 GB, free: 14.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/2.42, allocations: 16.19 MB / 1.115 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/2.42, allocations: 7.938 kB / 1.115 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3339/2.754, allocations: 17.79 MB / 1.132 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006405/2.76, allocations: 1.603 MB / 1.134 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002944/2.763, allocations: 87.38 kB / 1.134 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005991/2.769, allocations: 354.1 kB / 1.134 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001389/2.771, allocations: 289 kB / 1.135 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004636/2.771, allocations: 124.1 kB / 1.135 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0132/2.784, allocations: 5.287 MB / 1.14 GB, free: 161 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.81e-07/2.784, allocations: 3.938 kB / 1.14 GB, free: 161 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01478/2.799, allocations: 2.276 MB / 1.142 GB, free: 161 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.02735/2.827, allocations: 19.09 MB / 1.161 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01771/2.844, allocations: 12.56 MB / 1.173 GB, free: 158 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.844, allocations: 0.7812 kB / 1.173 GB, free: 158 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.008646/2.853, allocations: 5.357 MB / 1.178 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007945/2.861, allocations: 0.9398 MB / 1.179 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4616/3.323, allocations: 238.2 MB / 1.412 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/3.334, allocations: 6.599 MB / 1.418 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01145/3.346, allocations: 3.777 MB / 1.422 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008744/3.355, allocations: 4.456 MB / 1.426 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/3.355, allocations: 0 / 1.426 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.589/3.944, allocations: 176.9 MB / 1.599 GB, free: 152 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/3.944, allocations: 200.6 kB / 1.599 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.719/13.66, allocations: 3.938 kB / 1.599 GB, free: 151.8 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat