Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",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.001505/0.001505, allocations: 181.6 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.014/2.014, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001112/0.001112, allocations: 86.66 kB / 267.5 MB, free: 14.04 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.2909/0.2909, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.5e-05/4.513e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5285/0.6498, allocations: 105.3 MB / 0.5757 GB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.6502, allocations: 78.73 kB / 0.5758 GB, free: 14.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.452/1.102, allocations: 91.67 MB / 0.6653 GB, free: 10.37 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.102, allocations: 0 / 0.6653 GB, free: 10.37 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000238/1.103, allocations: 76 kB / 0.6654 GB, free: 10.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01605/1.119, allocations: 3.981 MB / 0.6693 GB, free: 6.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.119, allocations: 12.03 kB / 0.6693 GB, free: 6.238 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004212/1.123, allocations: 0.8487 MB / 0.6701 GB, free: 5.379 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02769/1.151, allocations: 3.547 MB / 0.6736 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/1.17, allocations: 4.432 MB / 0.6779 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004706/1.17, allocations: 324.5 kB / 0.6782 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/1.173, allocations: 439.7 kB / 0.6787 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03601/1.209, allocations: 10.84 MB / 0.6892 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/1.209, allocations: 39.64 kB / 0.6893 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/1.211, allocations: 191.9 kB / 0.6895 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003104/1.214, allocations: 1.255 MB / 0.6907 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/1.247, allocations: 10.32 MB / 0.7008 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4893/1.736, allocations: 37.84 MB / 0.7377 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/1.751, allocations: 4.56 MB / 0.7422 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005549/1.757, allocations: 2.385 MB / 0.7445 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/1.759, allocations: 1.318 MB / 0.7458 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.284e-05/1.759, allocations: 53.31 kB / 0.7458 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 8.967e-06/1.759, allocations: 3.562 kB / 0.7458 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.05876/1.817, allocations: 14.59 MB / 0.7601 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/1.818, allocations: 74.94 kB / 0.7602 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005759/1.823, allocations: 2.471 MB / 0.7626 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006222/1.824, allocations: 57.61 kB / 0.7626 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002327/1.826, allocations: 2.833 MB / 0.7654 GB, free: 97.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.828, allocations: 0.9247 MB / 0.7663 GB, free: 97.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006605/1.829, allocations: 106.6 kB / 0.7664 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004143/1.829, allocations: 0.5475 MB / 0.7669 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005676/1.835, allocations: 2.258 MB / 0.7691 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007829/1.843, allocations: 5.214 MB / 0.7742 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007925/1.851, allocations: 3.465 MB / 0.7776 GB, free: 90.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/1.851, allocations: 30.72 kB / 0.7776 GB, free: 90.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02369/1.874, allocations: 8.156 MB / 0.7856 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.069e-05/1.875, allocations: 47.44 kB / 0.7857 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.875, allocations: 105.1 kB / 0.7858 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004951/1.88, allocations: 0.9446 MB / 0.7867 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008177/1.888, allocations: 1.24 MB / 0.7879 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/1.898, allocations: 4.735 MB / 0.7925 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/1.904, allocations: 294.2 kB / 0.7928 GB, free: 85.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.905, allocations: 317.7 kB / 0.7931 GB, free: 85.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (664): * Single equations (assignments): 657 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00241/1.908, allocations: 0.5042 MB / 0.7936 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000771/1.909, allocations: 283.2 kB / 0.7939 GB, free: 84.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.924, allocations: 5.073 MB / 0.7988 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000146/1.924, allocations: 47.3 kB / 0.7989 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.924, allocations: 7.625 kB / 0.7989 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.342e-05/1.924, allocations: 11.77 kB / 0.7989 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04956/1.974, allocations: 11.95 MB / 0.8105 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.244e-05/1.974, allocations: 8 kB / 0.8106 GB, free: 72.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005029/1.979, allocations: 403.6 kB / 0.8109 GB, free: 72.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006299/1.986, allocations: 0.7729 MB / 0.8117 GB, free: 72.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008674/1.986, allocations: 52.59 kB / 0.8117 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/1.999, allocations: 4.019 MB / 0.8157 GB, free: 68.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-05/1.999, allocations: 20 kB / 0.8157 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02822/2.027, allocations: 8.392 MB / 0.8239 GB, free: 60.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004011/2.031, allocations: 0.6821 MB / 0.8245 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/2.033, allocations: 52.59 kB / 0.8246 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004605/2.038, allocations: 141 kB / 0.8247 GB, free: 59.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/2.039, allocations: 150.4 kB / 0.8249 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007887/2.04, allocations: 76.69 kB / 0.825 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006738/2.047, allocations: 1.686 MB / 0.8266 GB, free: 58.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.12e-07/2.047, allocations: 0 / 0.8266 GB, free: 58.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01171/2.059, allocations: 1.003 MB / 0.8276 GB, free: 57.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03054/2.089, allocations: 11.58 MB / 0.8389 GB, free: 46.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01815/2.108, allocations: 5.547 MB / 0.8443 GB, free: 41.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-05/2.108, allocations: 3.75 kB / 0.8443 GB, free: 41.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007209/2.115, allocations: 2.125 MB / 0.8464 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/2.119, allocations: 347.8 kB / 0.8467 GB, free: 39.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0489/2.168, allocations: 10.59 MB / 0.8571 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/2.18, allocations: 3.542 MB / 0.8605 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005783/2.186, allocations: 1.925 MB / 0.8624 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/2.186, allocations: 0 / 0.8624 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.675/6.861, allocations: 99.19 MB / 0.9593 GB, free: 116.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat