Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",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.001699/0.001699, allocations: 177 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.412/1.412, allocations: 223.2 MB / 241 MB, free: 10.17 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.0009289/0.0009289, allocations: 85.11 kB / 292.1 MB, free: 10.71 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.3911/0.3911, allocations: 44.21 MB / 387.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 16 kB / 460 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4057, allocations: 61.9 MB / 0.5096 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.5534, allocations: 106.9 MB / 0.6141 GB, free: 4.164 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5537, allocations: 87.88 kB / 0.6141 GB, free: 4.082 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5663/1.12, allocations: 91.05 MB / 0.7031 GB, free: 96.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.12, allocations: 0 / 0.7031 GB, free: 96.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001551/1.12, allocations: 76.06 kB / 0.7031 GB, free: 96.48 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01327/1.134, allocations: 4.043 MB / 0.7071 GB, free: 94.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.134, allocations: 9.844 kB / 0.7071 GB, free: 94.65 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003879/1.137, allocations: 0.8253 MB / 0.7079 GB, free: 94.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/1.153, allocations: 3.532 MB / 0.7113 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/1.167, allocations: 4.28 MB / 0.7155 GB, free: 93.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/1.167, allocations: 324.8 kB / 0.7158 GB, free: 93.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/1.17, allocations: 421.6 kB / 0.7162 GB, free: 93.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02475/1.194, allocations: 10.75 MB / 0.7267 GB, free: 90.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/1.195, allocations: 29.34 kB / 0.7268 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008695/1.196, allocations: 188.5 kB / 0.7269 GB, free: 90.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/1.197, allocations: 1.221 MB / 0.7281 GB, free: 90.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/1.215, allocations: 10.38 MB / 0.7383 GB, free: 86.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05272/1.268, allocations: 36.99 MB / 0.7744 GB, free: 64.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007996/1.276, allocations: 4.579 MB / 0.7789 GB, free: 61.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009764/1.277, allocations: 1.32 MB / 0.7802 GB, free: 59.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/1.277, allocations: 56.5 kB / 0.7802 GB, free: 59.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 7.474e-06/1.277, allocations: 0 / 0.7802 GB, free: 59.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03424/1.311, allocations: 17.85 MB / 0.7976 GB, free: 44.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.311, allocations: 76.83 kB / 0.7977 GB, free: 44.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/1.315, allocations: 2.436 MB / 0.8001 GB, free: 41.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/1.315, allocations: 57.7 kB / 0.8001 GB, free: 41.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/1.317, allocations: 2.778 MB / 0.8029 GB, free: 39.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009484/1.318, allocations: 0.9177 MB / 0.8038 GB, free: 38.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/1.318, allocations: 100 kB / 0.8039 GB, free: 38.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003611/1.319, allocations: 0.5413 MB / 0.8044 GB, free: 37.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/1.322, allocations: 2.279 MB / 0.8066 GB, free: 35.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004157/1.326, allocations: 5.171 MB / 0.8117 GB, free: 28.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/1.33, allocations: 3.431 MB / 0.815 GB, free: 25.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.927e-05/1.33, allocations: 28 kB / 0.815 GB, free: 25.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01242/1.342, allocations: 8.206 MB / 0.823 GB, free: 16.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/1.342, allocations: 48 kB / 0.8231 GB, free: 16.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/1.343, allocations: 100 kB / 0.8232 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/1.345, allocations: 0.9573 MB / 0.8241 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/1.349, allocations: 1.22 MB / 0.8253 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/1.355, allocations: 4.855 MB / 0.8301 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/1.359, allocations: 294.6 kB / 0.8303 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.36, allocations: 308 kB / 0.8306 GB, free: 9.059 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (652): * Single equations (assignments): 645 * 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.004928/1.365, allocations: 2.158 MB / 0.8327 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006917/1.365, allocations: 276.3 kB / 0.833 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008284/1.374, allocations: 5.086 MB / 0.838 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-05/1.374, allocations: 51.94 kB / 0.838 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.374, allocations: 11.92 kB / 0.838 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.374, allocations: 7.969 kB / 0.838 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/1.401, allocations: 11.9 MB / 0.8497 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/1.402, allocations: 8.188 kB / 0.8497 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.403, allocations: 415.2 kB / 0.8501 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/1.406, allocations: 0.7658 MB / 0.8508 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003546/1.406, allocations: 51.98 kB / 0.8509 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/1.412, allocations: 4.137 MB / 0.8549 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/1.412, allocations: 15.94 kB / 0.8549 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.426, allocations: 8.432 MB / 0.8632 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.427, allocations: 329.5 kB / 0.8635 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007537/1.428, allocations: 43.98 kB / 0.8635 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.43, allocations: 141.4 kB / 0.8636 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/1.43, allocations: 160.7 kB / 0.8638 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.431, allocations: 77.66 kB / 0.8639 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003837/1.434, allocations: 1.669 MB / 0.8655 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/1.434, allocations: 0 / 0.8655 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006963/1.441, allocations: 0.9949 MB / 0.8665 GB, free: 3.613 MB / 0.5105 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.3552/1.797, allocations: 11.63 MB / 0.8778 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008645/1.805, allocations: 5.567 MB / 0.8833 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.805, allocations: 0 / 0.8833 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/1.808, allocations: 2.148 MB / 0.8854 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.81, allocations: 348.9 kB / 0.8857 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07499/1.885, allocations: 100.4 MB / 0.9838 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004902/1.89, allocations: 3.467 MB / 0.9871 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005467/1.896, allocations: 1.988 MB / 0.9891 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/1.898, allocations: 1.829 MB / 0.9909 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/1.898, allocations: 3.844 kB / 0.9909 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/2.001, allocations: 68.77 MB / 1.058 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/2.002, allocations: 206.2 kB / 1.058 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.257/6.259, allocations: 4.062 kB / 1.058 GB, free: 5.523 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat