Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009945/0.0009945, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009754/0.0009754, allocations: 98.78 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 45.15 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.733e-05, allocations: 0 / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 63.26 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5897, allocations: 107.2 MB / 0.6092 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5901, allocations: 72.91 kB / 0.6093 GB, free: 11.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3283/0.9183, allocations: 133.9 MB / 0.74 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9184, allocations: 0 / 0.74 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004039/0.9188, allocations: 139.9 kB / 0.7402 GB, free: 13.24 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.0212/0.94, allocations: 6.426 MB / 0.7464 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.9401, allocations: 12.03 kB / 0.7465 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3478/1.288, allocations: 9.448 MB / 0.7557 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02003/1.308, allocations: 7.338 MB / 0.7628 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/1.308, allocations: 211.2 kB / 0.763 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/1.311, allocations: 390.7 kB / 0.7634 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01781/1.329, allocations: 8.438 MB / 0.7717 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/1.351, allocations: 13.28 MB / 0.7846 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002986/1.351, allocations: 101.1 kB / 0.7847 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009335/1.352, allocations: 41.69 kB / 0.7848 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001466/1.354, allocations: 1.343 MB / 0.7861 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05915/1.413, allocations: 64.94 MB / 0.8495 GB, free: 62.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/1.418, allocations: 3.987 MB / 0.8534 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/1.42, allocations: 2.521 MB / 0.8559 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/1.42, allocations: 35.67 kB / 0.8559 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/1.421, allocations: 57.84 kB / 0.8559 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=186): time 4.619e-06/1.421, allocations: 0 / 0.8559 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=207): time 0.03551/1.456, allocations: 23.22 MB / 0.8786 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/1.456, allocations: 256.6 kB / 0.8789 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005769/1.462, allocations: 4.66 MB / 0.8834 GB, free: 46.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003043/1.462, allocations: 29.52 kB / 0.8834 GB, free: 46.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002186/1.464, allocations: 4.759 MB / 0.8881 GB, free: 42.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006761/1.465, allocations: 0.8029 MB / 0.8889 GB, free: 41.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.465, allocations: 0 / 0.8889 GB, free: 41.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002891/1.466, allocations: 0.6429 MB / 0.8895 GB, free: 41.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/1.468, allocations: 2.306 MB / 0.8917 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/1.472, allocations: 7.337 MB / 0.8989 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/1.477, allocations: 4.079 MB / 0.9029 GB, free: 26.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-05/1.477, allocations: 52 kB / 0.9029 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.01497/1.492, allocations: 9.063 MB / 0.9118 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.298e-05/1.492, allocations: 84 kB / 0.9119 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/1.492, allocations: 180 kB / 0.912 GB, free: 18.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/1.494, allocations: 0.815 MB / 0.9128 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/1.499, allocations: 1.815 MB / 0.9146 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/1.506, allocations: 8.194 MB / 0.9226 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006397/1.512, allocations: 273.1 kB / 0.9229 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/1.513, allocations: 499 kB / 0.9234 GB, free: 7.562 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (972): * Single equations (assignments): 966 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009966/1.515, allocations: 0.5529 MB / 0.9239 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004712/1.519, allocations: 3.482 MB / 0.9273 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/1.52, allocations: 489.7 kB / 0.9278 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/1.524, allocations: 3.208 MB / 0.9309 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.525, allocations: 24 kB / 0.9309 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.525, allocations: 8 kB / 0.9309 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/1.525, allocations: 7.922 kB / 0.9309 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.539, allocations: 8.508 MB / 0.9392 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.539, allocations: 0 / 0.9392 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/1.54, allocations: 311.1 kB / 0.9395 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/1.542, allocations: 0.5133 MB / 0.94 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.542, allocations: 4 kB / 0.94 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007321/1.549, allocations: 7.264 MB / 0.9471 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.549, allocations: 4.062 kB / 0.9471 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.56, allocations: 6.267 MB / 0.9533 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.562, allocations: 0.498 MB / 0.9537 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/1.562, allocations: 7.938 kB / 0.9538 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.564, allocations: 87.67 kB / 0.9538 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.564, allocations: 131.8 kB / 0.954 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.564, allocations: 52 kB / 0.954 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004811/1.569, allocations: 3.153 MB / 0.9571 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.569, allocations: 0 / 0.9571 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006341/1.575, allocations: 1.204 MB / 0.9583 GB, free: 9.27 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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 {(1,100.0%) 11,(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.007754/1.583, allocations: 6.816 MB / 0.9649 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2988/1.882, allocations: 5.859 MB / 0.9706 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/1.882, allocations: 10.59 kB / 0.9707 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/1.885, allocations: 1.896 MB / 0.9725 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004408/1.89, allocations: 0.6102 MB / 0.9731 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03456/1.924, allocations: 12.68 MB / 0.9855 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006575/1.931, allocations: 4.81 MB / 0.9902 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006199/1.937, allocations: 2.488 MB / 0.9926 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003884/1.941, allocations: 2.993 MB / 0.9955 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/1.941, allocations: 0 / 0.9955 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/2.095, allocations: 102 MB / 1.095 GB, free: 80.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/2.095, allocations: 132.7 kB / 1.095 GB, free: 80.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.488/7.583, allocations: 0 / 1.095 GB, free: 80.63 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat