Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.001571/0.001571, allocations: 182.2 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.607/1.607, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0009507/0.0009507, allocations: 86.81 kB / 270.2 MB, free: 13.38 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.2063/0.2063, allocations: 43.56 MB / 362 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 58.86 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5511, allocations: 107.1 MB / 0.5834 GB, free: 8.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5515, allocations: 78.64 kB / 0.5835 GB, free: 8.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6716/1.223, allocations: 131.5 MB / 0.7119 GB, free: 97.33 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.685e-06/1.223, allocations: 0 / 0.7119 GB, free: 97.33 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004608/1.224, allocations: 125.1 kB / 0.712 GB, free: 97.33 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02922/1.253, allocations: 6.828 MB / 0.7187 GB, free: 95.83 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.253, allocations: 9.75 kB / 0.7187 GB, free: 95.83 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005925/1.259, allocations: 1.182 MB / 0.7199 GB, free: 95.73 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03197/1.291, allocations: 7.094 MB / 0.7268 GB, free: 95.29 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.315, allocations: 7.292 MB / 0.7339 GB, free: 94.5 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006015/1.315, allocations: 0.4975 MB / 0.7344 GB, free: 94.49 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003743/1.319, allocations: 0.6568 MB / 0.7351 GB, free: 94.48 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03938/1.358, allocations: 16.58 MB / 0.7512 GB, free: 91.27 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003901/1.359, allocations: 85.02 kB / 0.7513 GB, free: 91.26 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002378/1.361, allocations: 315.4 kB / 0.7516 GB, free: 91.26 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/1.363, allocations: 1.575 MB / 0.7532 GB, free: 91.24 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/1.391, allocations: 14.11 MB / 0.7669 GB, free: 91.19 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0777/1.468, allocations: 66.32 MB / 0.8317 GB, free: 45.86 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/1.486, allocations: 7.068 MB / 0.8386 GB, free: 41.34 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02628/1.512, allocations: 15.04 MB / 0.8533 GB, free: 28.5 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/1.512, allocations: 76.44 kB / 0.8534 GB, free: 28.41 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=306): time 6.783e-06/1.512, allocations: 0 / 0.8534 GB, free: 28.41 MB / 0.4949 GB Notification: Performance of matching and sorting (n=348): time 0.07851/1.591, allocations: 30.76 MB / 0.8834 GB, free: 1.406 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/1.591, allocations: 222.2 kB / 0.8836 GB, free: 1.145 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009479/1.6, allocations: 4.725 MB / 0.8882 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009003/1.601, allocations: 81.64 kB / 0.8883 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003919/1.605, allocations: 4.413 MB / 0.8926 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002197/1.607, allocations: 1.275 MB / 0.8939 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009529/1.608, allocations: 160 kB / 0.894 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006147/1.609, allocations: 0.6532 MB / 0.8947 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006491/1.615, allocations: 3.623 MB / 0.8982 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2688/1.884, allocations: 8.085 MB / 0.9061 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.894, allocations: 5.31 MB / 0.9113 GB, free: 101 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002659/1.895, allocations: 44.91 kB / 0.9113 GB, free: 101 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.02762/1.922, allocations: 13.08 MB / 0.9241 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.922, allocations: 70.88 kB / 0.9242 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/1.923, allocations: 155.6 kB / 0.9243 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/1.926, allocations: 1.671 MB / 0.9259 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00672/1.933, allocations: 1.924 MB / 0.9278 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.945, allocations: 11.68 MB / 0.9392 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007638/1.953, allocations: 499.5 kB / 0.9397 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001967/1.955, allocations: 485.1 kB / 0.9402 GB, free: 97.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (999): * Single equations (assignments): 994 * 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.006964/1.962, allocations: 3.093 MB / 0.9432 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.963, allocations: 0.5005 MB / 0.9437 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.976, allocations: 7.458 MB / 0.9509 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.544e-05/1.976, allocations: 35.59 kB / 0.951 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/1.976, allocations: 10.03 kB / 0.951 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.933e-05/1.976, allocations: 17.23 kB / 0.951 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/2.005, allocations: 16.11 MB / 0.9667 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/2.005, allocations: 7.422 kB / 0.9667 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/2.008, allocations: 0.6008 MB / 0.9673 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/2.011, allocations: 1.419 MB / 0.9687 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005435/2.012, allocations: 62.3 kB / 0.9688 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/2.024, allocations: 10.86 MB / 0.9794 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.024, allocations: 10.45 kB / 0.9794 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/2.041, allocations: 12.03 MB / 0.9911 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003878/2.045, allocations: 1.101 MB / 0.9922 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/2.046, allocations: 58.97 kB / 0.9923 GB, free: 79.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00374/2.05, allocations: 252.1 kB / 0.9925 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006832/2.051, allocations: 198.6 kB / 0.9927 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/2.051, allocations: 95.78 kB / 0.9928 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005509/2.057, allocations: 3.33 MB / 0.996 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/2.057, allocations: 0 / 0.996 GB, free: 78.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009076/2.066, allocations: 1.616 MB / 0.9976 GB, free: 78.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * 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.01713/2.083, allocations: 12.89 MB / 1.01 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01417/2.097, allocations: 8.977 MB / 1.019 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.097, allocations: 0 / 1.019 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005716/2.103, allocations: 3.791 MB / 1.023 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/2.107, allocations: 0.6232 MB / 1.023 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4048/2.512, allocations: 165.2 MB / 1.185 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005937/2.518, allocations: 4.931 MB / 1.189 GB, free: 34.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00694/2.525, allocations: 2.684 MB / 1.192 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004986/2.53, allocations: 3.06 MB / 1.195 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/2.53, allocations: 0 / 1.195 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4587/2.988, allocations: 123 MB / 1.315 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/2.988, allocations: 206.3 kB / 1.315 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/9.642, allocations: 0 / 1.315 GB, free: 111.5 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat