Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.001129/0.001129, allocations: 183 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.563/1.563, 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.0009018/0.0009018, allocations: 87.77 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.4435/0.4435, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.554e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5003/0.6377, allocations: 109 MB / 0.5794 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.6381, allocations: 80.55 kB / 0.5794 GB, free: 12.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7461/1.384, allocations: 139.1 MB / 0.7152 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.715e-06/1.384, allocations: 3.188 kB / 0.7152 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006007/1.385, allocations: 133.3 kB / 0.7154 GB, free: 80.82 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02877/1.414, allocations: 6.804 MB / 0.722 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/1.414, allocations: 9.75 kB / 0.722 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00736/1.421, allocations: 1.235 MB / 0.7232 GB, free: 78.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03166/1.453, allocations: 7.185 MB / 0.7302 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02561/1.478, allocations: 7.552 MB / 0.7376 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00068/1.479, allocations: 0.519 MB / 0.7381 GB, free: 76.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004616/1.484, allocations: 0.6866 MB / 0.7388 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05229/1.536, allocations: 17.11 MB / 0.7555 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005387/1.537, allocations: 89.08 kB / 0.7556 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003457/1.54, allocations: 333.5 kB / 0.7559 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/1.543, allocations: 1.637 MB / 0.7575 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03095/1.574, allocations: 14.15 MB / 0.7713 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09235/1.666, allocations: 72.38 MB / 0.842 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/1.683, allocations: 7.106 MB / 0.849 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005167/1.688, allocations: 3.94 MB / 0.8528 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01711/1.705, allocations: 9.476 MB / 0.8621 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.705, allocations: 68.77 kB / 0.8621 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=297): time 6.522e-06/1.705, allocations: 0 / 0.8621 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.4756/2.181, allocations: 27.77 MB / 0.8892 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/2.181, allocations: 246.7 kB / 0.8895 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01771/2.199, allocations: 5.912 MB / 0.8952 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/2.2, allocations: 75.73 kB / 0.8953 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004779/2.205, allocations: 4.827 MB / 0.9 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002482/2.207, allocations: 1.265 MB / 0.9013 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/2.21, allocations: 178 kB / 0.9014 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008994/2.211, allocations: 0.6897 MB / 0.9021 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007515/2.218, allocations: 3.652 MB / 0.9057 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/2.229, allocations: 8.694 MB / 0.9142 GB, free: 81.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009537/2.239, allocations: 5.584 MB / 0.9196 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/2.239, allocations: 51.09 kB / 0.9197 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02962/2.269, allocations: 13.68 MB / 0.933 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003798/2.269, allocations: 84.5 kB / 0.9331 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006165/2.27, allocations: 177.2 kB / 0.9333 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/2.275, allocations: 1.697 MB / 0.9349 GB, free: 80.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009198/2.284, allocations: 2.118 MB / 0.937 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/2.303, allocations: 11.38 MB / 0.9481 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.314, allocations: 0.521 MB / 0.9486 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002994/2.317, allocations: 0.5241 MB / 0.9491 GB, free: 76.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1092): * Single equations (assignments): 1087 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004832/2.322, allocations: 0.7807 MB / 0.9499 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002685/2.325, allocations: 0.5879 MB / 0.9505 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01739/2.342, allocations: 7.441 MB / 0.9577 GB, free: 72.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/2.342, allocations: 37.16 kB / 0.9578 GB, free: 72.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.051e-05/2.343, allocations: 7.094 kB / 0.9578 GB, free: 72.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.009e-05/2.343, allocations: 19.48 kB / 0.9578 GB, free: 72.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/2.381, allocations: 16 MB / 0.9734 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/2.381, allocations: 6.875 kB / 0.9734 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003223/2.385, allocations: 0.629 MB / 0.9741 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003408/2.388, allocations: 1.425 MB / 0.9754 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005226/2.389, allocations: 64.11 kB / 0.9755 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/2.401, allocations: 10.6 MB / 0.9859 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/2.401, allocations: 10.47 kB / 0.9859 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/2.42, allocations: 12.58 MB / 0.9982 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004298/2.424, allocations: 1.205 MB / 0.9993 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002215/2.427, allocations: 54.94 kB / 0.9994 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00437/2.431, allocations: 234.5 kB / 0.9996 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008329/2.432, allocations: 203.9 kB / 0.9998 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000405/2.432, allocations: 92.05 kB / 0.9999 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01068/2.443, allocations: 4.235 MB / 1.004 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.12e-07/2.443, allocations: 0 / 1.004 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01248/2.456, allocations: 1.7 MB / 1.006 GB, free: 52.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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 {(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.0233/2.479, allocations: 13.99 MB / 1.019 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01649/2.495, allocations: 9.053 MB / 1.028 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/2.495, allocations: 2.953 kB / 1.028 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006621/2.502, allocations: 3.646 MB / 1.032 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/2.508, allocations: 0.7137 MB / 1.032 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04708/2.555, allocations: 16.02 MB / 1.048 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/2.567, allocations: 5.179 MB / 1.053 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01011/2.577, allocations: 2.976 MB / 1.056 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006846/2.584, allocations: 3.286 MB / 1.059 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/2.584, allocations: 0 / 1.059 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6176/3.202, allocations: 134.1 MB / 1.19 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/3.202, allocations: 176.5 kB / 1.19 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/10.73, allocations: 0 / 1.19 GB, free: 64.96 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat