Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",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.001863/0.001863, allocations: 178.4 kB / 17.06 MB, free: 5.094 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.577/1.577, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008894, allocations: 88.55 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5105/0.5105, allocations: 44.22 MB / 387.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.376, allocations: 61.91 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.5371, allocations: 107.8 MB / 0.6149 GB, free: 3.324 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5374, allocations: 83.92 kB / 0.615 GB, free: 3.246 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5873/1.125, allocations: 115.6 MB / 0.7279 GB, free: 95.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.125, allocations: 0 / 0.7279 GB, free: 95.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001862/1.125, allocations: 83.5 kB / 0.728 GB, free: 95.95 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01485/1.14, allocations: 4.559 MB / 0.7324 GB, free: 93.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.14, allocations: 7.812 kB / 0.7324 GB, free: 93.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00306/1.143, allocations: 0.9183 MB / 0.7333 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/1.158, allocations: 3.61 MB / 0.7368 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/1.172, allocations: 4.63 MB / 0.7414 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/1.173, allocations: 364.9 kB / 0.7417 GB, free: 90.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/1.176, allocations: 478.5 kB / 0.7422 GB, free: 90.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02862/1.205, allocations: 11.83 MB / 0.7537 GB, free: 85.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/1.205, allocations: 34.84 kB / 0.7538 GB, free: 85.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/1.207, allocations: 217.2 kB / 0.754 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/1.209, allocations: 1.318 MB / 0.7552 GB, free: 85.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.23, allocations: 11.14 MB / 0.7661 GB, free: 79.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06537/1.295, allocations: 41.16 MB / 0.8063 GB, free: 37.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008712/1.304, allocations: 4.703 MB / 0.8109 GB, free: 33.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.305, allocations: 1.32 MB / 0.8122 GB, free: 31.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.305, allocations: 52.56 kB / 0.8123 GB, free: 31.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 6.472e-06/1.305, allocations: 0 / 0.8123 GB, free: 31.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.03889/1.344, allocations: 18.97 MB / 0.8308 GB, free: 12.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.344, allocations: 77.41 kB / 0.8309 GB, free: 12.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/1.348, allocations: 2.821 MB / 0.8336 GB, free: 9.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003562/1.349, allocations: 61.7 kB / 0.8337 GB, free: 9.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/1.35, allocations: 3.12 MB / 0.8367 GB, free: 6.105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/1.351, allocations: 0.97 MB / 0.8377 GB, free: 5.145 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.351, allocations: 116 kB / 0.8378 GB, free: 5.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/1.351, allocations: 0.566 MB / 0.8383 GB, free: 4.457 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.354, allocations: 2.424 MB / 0.8407 GB, free: 2.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/1.359, allocations: 5.676 MB / 0.8462 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005405/1.365, allocations: 3.708 MB / 0.8499 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.545e-05/1.365, allocations: 32 kB / 0.8499 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01536/1.38, allocations: 8.925 MB / 0.8586 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/1.38, allocations: 52 kB / 0.8587 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/1.381, allocations: 116 kB / 0.8588 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/1.384, allocations: 1.051 MB / 0.8598 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/1.388, allocations: 1.349 MB / 0.8611 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007546/1.396, allocations: 5.228 MB / 0.8662 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/1.4, allocations: 315.8 kB / 0.8665 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006805/1.401, allocations: 336 kB / 0.8668 GB, free: 5.477 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 717 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004642/1.405, allocations: 2.42 MB / 0.8692 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005629/1.406, allocations: 315.8 kB / 0.8695 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3392/1.745, allocations: 5.334 MB / 0.8747 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.241e-05/1.745, allocations: 45.91 kB / 0.8747 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.745, allocations: 5.578 kB / 0.8748 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.206e-05/1.745, allocations: 12.16 kB / 0.8748 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02247/1.768, allocations: 13.06 MB / 0.8875 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.768, allocations: 16.16 kB / 0.8875 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.77, allocations: 422.4 kB / 0.8879 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/1.772, allocations: 0.8884 MB / 0.8888 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003315/1.773, allocations: 51.83 kB / 0.8889 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/1.778, allocations: 4.569 MB / 0.8933 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/1.778, allocations: 16.28 kB / 0.8933 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.791, allocations: 9.019 MB / 0.9021 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.792, allocations: 367.6 kB / 0.9025 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/1.793, allocations: 51.39 kB / 0.9025 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.794, allocations: 143.2 kB / 0.9027 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/1.794, allocations: 168.3 kB / 0.9028 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.795, allocations: 79.72 kB / 0.9029 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003828/1.798, allocations: 1.933 MB / 0.9048 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/1.798, allocations: 0 / 0.9048 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007658/1.806, allocations: 1.097 MB / 0.9059 GB, free: 107.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01491/1.821, allocations: 12.5 MB / 0.9181 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00926/1.83, allocations: 5.936 MB / 0.9239 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.83, allocations: 0 / 0.9239 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/1.833, allocations: 2.254 MB / 0.9261 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/1.835, allocations: 397.5 kB / 0.9265 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07075/1.906, allocations: 113.1 MB / 1.037 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004276/1.91, allocations: 3.814 MB / 1.041 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004947/1.915, allocations: 2.151 MB / 1.043 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002633/1.918, allocations: 2.115 MB / 1.045 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.635e-06/1.918, allocations: 0 / 1.045 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4325/2.351, allocations: 76.72 MB / 1.12 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/2.351, allocations: 196 kB / 1.12 GB, free: 142.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.051/6.402, allocations: 3.938 kB / 1.12 GB, free: 142.4 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat