Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.4 MB / 236 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009493, allocations: 87.19 kB / 287 MB, free: 204 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.705e-05, allocations: 4 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.611, allocations: 103.5 MB / 0.6028 GB, free: 1.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.6113, allocations: 71.97 kB / 0.6029 GB, free: 1.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2255/0.8368, allocations: 86.47 MB / 0.6873 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8369, allocations: 0 / 0.6873 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001498/0.837, allocations: 72 kB / 0.6874 GB, free: 10.51 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01143/0.8485, allocations: 3.625 MB / 0.6909 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.8486, allocations: 8.031 kB / 0.691 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003167/0.8517, allocations: 0.7507 MB / 0.6917 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/0.8683, allocations: 3.633 MB / 0.6952 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/0.8836, allocations: 4.752 MB / 0.6999 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.884, allocations: 283.4 kB / 0.7001 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/0.8862, allocations: 383.8 kB / 0.7005 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/0.9061, allocations: 9.997 MB / 0.7103 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.9063, allocations: 31.66 kB / 0.7103 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005621/0.9068, allocations: 171.9 kB / 0.7105 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/0.9084, allocations: 1.168 MB / 0.7116 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3673/1.276, allocations: 9.75 MB / 0.7211 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05945/1.335, allocations: 35.69 MB / 0.756 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006961/1.342, allocations: 4.266 MB / 0.7602 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/1.345, allocations: 2.127 MB / 0.7622 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009458/1.346, allocations: 1.321 MB / 0.7635 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.346, allocations: 51.78 kB / 0.7636 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 4.098e-06/1.346, allocations: 3.469 kB / 0.7636 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=252): time 0.03111/1.377, allocations: 14.02 MB / 0.7773 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001117/1.378, allocations: 1.529 MB / 0.7788 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/1.382, allocations: 2.395 MB / 0.7811 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004456/1.383, allocations: 57.17 kB / 0.7811 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/1.384, allocations: 2.667 MB / 0.7838 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00093/1.385, allocations: 0.9261 MB / 0.7847 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/1.385, allocations: 107.5 kB / 0.7848 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002522/1.386, allocations: 0.544 MB / 0.7853 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/1.388, allocations: 2.334 MB / 0.7876 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004311/1.393, allocations: 5.274 MB / 0.7927 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004199/1.397, allocations: 3.548 MB / 0.7962 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.163e-05/1.397, allocations: 29.69 kB / 0.7962 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.0188/1.416, allocations: 9.2 MB / 0.8052 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/1.416, allocations: 51.94 kB / 0.8052 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01166/1.428, allocations: 4.454 MB / 0.8096 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/1.438, allocations: 2.07 MB / 0.8116 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/1.442, allocations: 1.246 MB / 0.8128 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00573/1.448, allocations: 4.937 MB / 0.8177 GB, free: 78.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/1.452, allocations: 390.9 kB / 0.818 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008672/1.453, allocations: 320.9 kB / 0.8183 GB, free: 78.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (669): * Single equations (assignments): 657 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001053/1.454, allocations: 0.5014 MB / 0.8188 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/1.455, allocations: 276.4 kB / 0.8191 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009079/1.464, allocations: 5.233 MB / 0.8242 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007569/1.471, allocations: 4.506 MB / 0.8286 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.472, allocations: 0 / 0.8286 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/1.472, allocations: 10.5 kB / 0.8286 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/1.492, allocations: 14.32 MB / 0.8426 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/1.492, allocations: 8 kB / 0.8426 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.494, allocations: 403.4 kB / 0.843 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003884/1.498, allocations: 1.194 MB / 0.8442 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/1.498, allocations: 59.97 kB / 0.8442 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/1.502, allocations: 4.437 MB / 0.8485 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006842/1.502, allocations: 1.467 MB / 0.85 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.514, allocations: 8.619 MB / 0.8584 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009996/1.515, allocations: 329.5 kB / 0.8587 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/1.515, allocations: 60.95 kB / 0.8588 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.517, allocations: 188.6 kB / 0.8589 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/1.517, allocations: 160.9 kB / 0.8591 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.517, allocations: 78.55 kB / 0.8592 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002443/1.52, allocations: 1.628 MB / 0.8608 GB, free: 37.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.72e-07/1.52, allocations: 0 / 0.8608 GB, free: 37.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004942/1.524, allocations: 1.047 MB / 0.8618 GB, free: 36.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01208/1.537, allocations: 11.78 MB / 0.8733 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009959/1.547, allocations: 6.261 MB / 0.8794 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.547, allocations: 3.938 kB / 0.8794 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004523/1.551, allocations: 2.822 MB / 0.8822 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/1.554, allocations: 350.9 kB / 0.8825 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/1.577, allocations: 10.29 MB / 0.8926 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003034/1.58, allocations: 3.318 MB / 0.8958 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004788/1.585, allocations: 2.07 MB / 0.8978 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/1.588, allocations: 1.737 MB / 0.8995 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of SimCode: time 4.889e-06/1.588, allocations: 0 / 0.8995 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4623/2.051, allocations: 70.87 MB / 0.9687 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/2.051, allocations: 175.9 kB / 0.9689 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.151/6.202, allocations: 0 / 0.9689 GB, free: 126.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat