Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_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.001622/0.001622, allocations: 184.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.586/1.586, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008921/0.000892, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2187/0.2187, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 19.98 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 58.86 MB / 490.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5181/0.6565, allocations: 105.4 MB / 0.5818 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/0.657, allocations: 76.27 kB / 0.5819 GB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2601/0.9171, allocations: 91.59 MB / 0.6713 GB, free: 6.625 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.9171, allocations: 0 / 0.6713 GB, free: 6.625 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003407/0.9175, allocations: 76 kB / 0.6714 GB, free: 6.551 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.01849/0.936, allocations: 4.14 MB / 0.6754 GB, free: 2.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.9361, allocations: 8.031 kB / 0.6754 GB, free: 2.332 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005075/0.9412, allocations: 0.8448 MB / 0.6763 GB, free: 1.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.9582, allocations: 3.547 MB / 0.6797 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/0.975, allocations: 4.457 MB / 0.6841 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006428/0.9757, allocations: 324.5 kB / 0.6844 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003623/0.9794, allocations: 431.8 kB / 0.6848 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03451/1.014, allocations: 10.94 MB / 0.6955 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003547/1.014, allocations: 31.66 kB / 0.6955 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002917/1.017, allocations: 199.8 kB / 0.6957 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002627/1.02, allocations: 1.255 MB / 0.6969 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/1.045, allocations: 10.47 MB / 0.7071 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3982/1.443, allocations: 37.84 MB / 0.7441 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009029/1.453, allocations: 4.588 MB / 0.7486 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.454, allocations: 1.319 MB / 0.7499 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/1.454, allocations: 48.53 kB / 0.7499 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 6.913e-06/1.454, allocations: 0 / 0.7499 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.0442/1.498, allocations: 17.94 MB / 0.7674 GB, free: 98.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/1.498, allocations: 79.11 kB / 0.7675 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005986/1.504, allocations: 2.498 MB / 0.7699 GB, free: 97.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/1.505, allocations: 61.97 kB / 0.77 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002738/1.508, allocations: 2.85 MB / 0.7728 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/1.509, allocations: 0.9171 MB / 0.7737 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007853/1.51, allocations: 109 kB / 0.7738 GB, free: 95.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006083/1.511, allocations: 0.5368 MB / 0.7743 GB, free: 94.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004861/1.516, allocations: 2.298 MB / 0.7766 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007794/1.523, allocations: 5.254 MB / 0.7817 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008215/1.532, allocations: 3.472 MB / 0.7851 GB, free: 88.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/1.532, allocations: 26.81 kB / 0.7851 GB, free: 88.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02051/1.553, allocations: 8.298 MB / 0.7932 GB, free: 85.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.553, allocations: 55.19 kB / 0.7933 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002242/1.553, allocations: 103.3 kB / 0.7934 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/1.556, allocations: 0.9512 MB / 0.7943 GB, free: 85.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004572/1.56, allocations: 1.244 MB / 0.7955 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/1.567, allocations: 4.865 MB / 0.8003 GB, free: 82.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/1.571, allocations: 298.3 kB / 0.8005 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.572, allocations: 312.1 kB / 0.8008 GB, free: 82.75 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 () * Number of clocked 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.005788/1.578, allocations: 2.182 MB / 0.803 GB, free: 81.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008509/1.579, allocations: 287 kB / 0.8032 GB, free: 81.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/1.589, allocations: 5.111 MB / 0.8082 GB, free: 77.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.958e-05/1.589, allocations: 48.17 kB / 0.8083 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/1.589, allocations: 0 / 0.8083 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/1.589, allocations: 11.77 kB / 0.8083 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02686/1.616, allocations: 11.98 MB / 0.82 GB, free: 67.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.135e-05/1.616, allocations: 12 kB / 0.82 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.618, allocations: 399.9 kB / 0.8204 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/1.621, allocations: 0.7772 MB / 0.8211 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004892/1.622, allocations: 48.7 kB / 0.8212 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006762/1.629, allocations: 4.148 MB / 0.8252 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-05/1.629, allocations: 19.69 kB / 0.8253 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/1.645, allocations: 8.448 MB / 0.8335 GB, free: 55.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/1.647, allocations: 0.6846 MB / 0.8342 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009718/1.648, allocations: 48.5 kB / 0.8342 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.651, allocations: 142.9 kB / 0.8344 GB, free: 54.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004751/1.651, allocations: 154 kB / 0.8345 GB, free: 54.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/1.651, allocations: 73.41 kB / 0.8346 GB, free: 54.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003753/1.655, allocations: 1.711 MB / 0.8362 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.2e-07/1.655, allocations: 4 kB / 0.8362 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00625/1.661, allocations: 1.001 MB / 0.8372 GB, free: 51.95 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 () * Number of clocked 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.01232/1.674, allocations: 11.64 MB / 0.8486 GB, free: 41.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008171/1.682, allocations: 5.604 MB / 0.8541 GB, free: 35.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.682, allocations: 3.938 kB / 0.8541 GB, free: 35.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.685, allocations: 2.146 MB / 0.8562 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/1.688, allocations: 342.7 kB / 0.8565 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3568/2.045, allocations: 102.8 MB / 0.9569 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004208/2.049, allocations: 3.535 MB / 0.9603 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004746/2.054, allocations: 2.001 MB / 0.9623 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00287/2.057, allocations: 1.881 MB / 0.9641 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/2.057, allocations: 0 / 0.9641 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/2.171, allocations: 69.59 MB / 1.032 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/2.172, allocations: 200.4 kB / 1.032 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.229/6.4, allocations: 0 / 1.032 GB, free: 57.89 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat