Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Planar",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.002356/0.002356, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001042/0.001042, allocations: 82.67 kB / 267.5 MB, free: 14.12 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.2863/0.2863, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.522e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5622/0.6931, allocations: 106.1 MB / 0.5765 GB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.6935, allocations: 81 kB / 0.5766 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5162/1.21, allocations: 117.8 MB / 0.6916 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.826e-06/1.21, allocations: 0 / 0.6916 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002968/1.21, allocations: 92 kB / 0.6917 GB, free: 15.33 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01903/1.229, allocations: 4.464 MB / 0.696 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/1.229, allocations: 8.031 kB / 0.696 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005365/1.235, allocations: 0.9562 MB / 0.697 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02928/1.264, allocations: 3.655 MB / 0.7005 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/1.285, allocations: 4.811 MB / 0.7052 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007675/1.286, allocations: 385.9 kB / 0.7056 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003783/1.29, allocations: 495.8 kB / 0.7061 GB, free: 440 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3938/1.683, allocations: 12.1 MB / 0.7179 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004564/1.684, allocations: 40.11 kB / 0.7179 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003523/1.688, allocations: 224.8 kB / 0.7181 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004344/1.692, allocations: 1.397 MB / 0.7195 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03465/1.727, allocations: 11.16 MB / 0.7304 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09287/1.82, allocations: 42.85 MB / 0.7723 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/1.835, allocations: 4.693 MB / 0.7768 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005125/1.84, allocations: 2.41 MB / 0.7792 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/1.842, allocations: 1.323 MB / 0.7805 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.842, allocations: 59.5 kB / 0.7805 GB, free: 86.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 7.484e-06/1.842, allocations: 0 / 0.7805 GB, free: 86.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=268): time 0.06323/1.905, allocations: 16.37 MB / 0.7965 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/1.905, allocations: 105.8 kB / 0.7966 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006173/1.911, allocations: 2.874 MB / 0.7994 GB, free: 79.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/1.912, allocations: 61.48 kB / 0.7995 GB, free: 79.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002553/1.914, allocations: 3.245 MB / 0.8027 GB, free: 77.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/1.916, allocations: 0.9732 MB / 0.8036 GB, free: 76.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006757/1.917, allocations: 121.6 kB / 0.8037 GB, free: 76.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004367/1.917, allocations: 0.5699 MB / 0.8043 GB, free: 76.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00567/1.923, allocations: 2.413 MB / 0.8066 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008061/1.931, allocations: 5.785 MB / 0.8123 GB, free: 66.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008218/1.939, allocations: 3.765 MB / 0.816 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.94, allocations: 36 kB / 0.816 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02557/1.965, allocations: 8.912 MB / 0.8247 GB, free: 56.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/1.965, allocations: 59.95 kB / 0.8248 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/1.965, allocations: 116 kB / 0.8249 GB, free: 56.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005495/1.971, allocations: 1.072 MB / 0.8259 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008817/1.98, allocations: 1.39 MB / 0.8273 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.991, allocations: 5.074 MB / 0.8322 GB, free: 49.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006702/1.997, allocations: 328.9 kB / 0.8325 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/1.999, allocations: 347.8 kB / 0.8329 GB, free: 49.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 42 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 739 * 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.001507/2.001, allocations: 0.5594 MB / 0.8334 GB, free: 48.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008039/2.001, allocations: 319.8 kB / 0.8337 GB, free: 48.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/2.017, allocations: 5.311 MB / 0.8389 GB, free: 43.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001217/2.017, allocations: 51 kB / 0.839 GB, free: 43.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/2.017, allocations: 4 kB / 0.839 GB, free: 43.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.774e-05/2.017, allocations: 15.02 kB / 0.839 GB, free: 43.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.038/2.055, allocations: 13.29 MB / 0.852 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/2.055, allocations: 12 kB / 0.852 GB, free: 32.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/2.059, allocations: 423.8 kB / 0.8524 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005035/2.064, allocations: 0.8983 MB / 0.8533 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005709/2.065, allocations: 52 kB / 0.8533 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009171/2.074, allocations: 4.409 MB / 0.8576 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/2.074, allocations: 23.89 kB / 0.8576 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/2.093, allocations: 9.044 MB / 0.8665 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00281/2.096, allocations: 0.733 MB / 0.8672 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000945/2.097, allocations: 55.53 kB / 0.8672 GB, free: 18.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002853/2.1, allocations: 143.7 kB / 0.8674 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005525/2.1, allocations: 168 kB / 0.8675 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/2.1, allocations: 83.8 kB / 0.8676 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00424/2.105, allocations: 1.965 MB / 0.8695 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.21e-07/2.105, allocations: 0 / 0.8695 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00713/2.112, allocations: 1.122 MB / 0.8706 GB, free: 15.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 202 * 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.02074/2.133, allocations: 12.55 MB / 0.8829 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01499/2.148, allocations: 5.943 MB / 0.8887 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/2.148, allocations: 0 / 0.8887 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006055/2.154, allocations: 2.236 MB / 0.8909 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/2.157, allocations: 384.6 kB / 0.8912 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3942/2.552, allocations: 11.97 MB / 0.9029 GB, free: 119 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/2.563, allocations: 3.942 MB / 0.9068 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005933/2.569, allocations: 2.284 MB / 0.909 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/2.569, allocations: 0 / 0.909 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.299/6.868, allocations: 112.4 MB / 1.019 GB, free: 67.34 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat