Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.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.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies",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.002093/0.002093, allocations: 178.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.469/2.469, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 88.7 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3107/0.3107, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.311e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3943, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.6199, allocations: 100.7 MB / 0.5643 GB, free: 14.48 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.6202, allocations: 75.95 kB / 0.5644 GB, free: 14.41 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7483/1.369, allocations: 96.71 MB / 0.6589 GB, free: 109.8 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.445e-06/1.369, allocations: 0 / 0.6589 GB, free: 109.8 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004633/1.369, allocations: 80.72 kB / 0.6589 GB, free: 109.8 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01788/1.387, allocations: 4.112 MB / 0.6629 GB, free: 108.1 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.387, allocations: 9.625 kB / 0.663 GB, free: 108.1 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04668/1.434, allocations: 5.993 MB / 0.6688 GB, free: 107.9 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02951/1.463, allocations: 8.971 MB / 0.6776 GB, free: 107.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/1.464, allocations: 108.7 kB / 0.6777 GB, free: 107.1 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/1.465, allocations: 220.9 kB / 0.6779 GB, free: 107.1 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01146/1.477, allocations: 4.085 MB / 0.6819 GB, free: 106.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/1.493, allocations: 5.855 MB / 0.6876 GB, free: 103.9 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/1.493, allocations: 62.89 kB / 0.6876 GB, free: 103.8 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009361/1.494, allocations: 18.06 kB / 0.6877 GB, free: 103.8 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001771/1.496, allocations: 0.5906 MB / 0.6882 GB, free: 103.8 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04346/1.539, allocations: 27.26 MB / 0.7149 GB, free: 83.96 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/1.54, allocations: 319.7 kB / 0.7152 GB, free: 83.76 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/1.54, allocations: 160 kB / 0.7153 GB, free: 83.68 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/1.54, allocations: 15.3 kB / 0.7153 GB, free: 83.67 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.54, allocations: 42.53 kB / 0.7154 GB, free: 83.62 MB / 475.1 MB Notification: Performance of pre-optimization done (n=28): time 3.256e-06/1.54, allocations: 0 / 0.7154 GB, free: 83.62 MB / 475.1 MB Notification: Performance of matching and sorting (n=28): time 0.009394/1.55, allocations: 1.475 MB / 0.7168 GB, free: 83.3 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/1.55, allocations: 242.8 kB / 0.717 GB, free: 83.01 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008658/1.559, allocations: 3.43 MB / 0.7204 GB, free: 81.71 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-05/1.559, allocations: 25.7 kB / 0.7204 GB, free: 81.68 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.561, allocations: 2.649 MB / 0.723 GB, free: 79.5 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/1.562, allocations: 164.3 kB / 0.7232 GB, free: 79.4 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/1.562, allocations: 4 kB / 0.7232 GB, free: 79.39 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/1.562, allocations: 459.7 kB / 0.7236 GB, free: 79.02 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/1.564, allocations: 0.669 MB / 0.7243 GB, free: 78.8 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/1.566, allocations: 3.252 MB / 0.7274 GB, free: 74.9 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/1.57, allocations: 1.438 MB / 0.7288 GB, free: 74.18 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.733e-05/1.57, allocations: 28 kB / 0.7289 GB, free: 74.15 MB / 475.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008712/1.578, allocations: 3.154 MB / 0.7319 GB, free: 71.36 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.927e-05/1.579, allocations: 44.19 kB / 0.732 GB, free: 71.32 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.579, allocations: 104 kB / 0.7321 GB, free: 71.22 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/1.579, allocations: 136 kB / 0.7322 GB, free: 71.09 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/1.584, allocations: 0.8627 MB / 0.7331 GB, free: 70.32 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001486/1.584, allocations: 184.5 kB / 0.7332 GB, free: 70.17 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006336/1.59, allocations: 0.5036 MB / 0.7337 GB, free: 69.7 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007839/1.591, allocations: 234.7 kB / 0.734 GB, free: 69.48 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005738/1.592, allocations: 365.2 kB / 0.7343 GB, free: 69.12 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001562/1.593, allocations: 0.575 MB / 0.7349 GB, free: 68.57 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/1.594, allocations: 339.6 kB / 0.7352 GB, free: 68.24 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/1.595, allocations: 352 kB / 0.7355 GB, free: 67.94 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.595, allocations: 7.609 kB / 0.7355 GB, free: 67.94 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.595, allocations: 0 / 0.7355 GB, free: 67.94 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.595, allocations: 4 kB / 0.7355 GB, free: 67.93 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009082/1.604, allocations: 3.469 MB / 0.7389 GB, free: 64.85 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.604, allocations: 12.25 kB / 0.7389 GB, free: 64.84 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/1.605, allocations: 87.22 kB / 0.739 GB, free: 64.76 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.052e-05/1.605, allocations: 12 kB / 0.739 GB, free: 64.75 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/1.605, allocations: 15.5 kB / 0.739 GB, free: 64.74 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/1.605, allocations: 19.12 kB / 0.7391 GB, free: 64.72 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/1.605, allocations: 15.94 kB / 0.7391 GB, free: 64.71 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/1.607, allocations: 2.057 MB / 0.7411 GB, free: 62.11 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.608, allocations: 430.6 kB / 0.7415 GB, free: 61.69 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006801/1.609, allocations: 12 kB / 0.7415 GB, free: 61.68 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.611, allocations: 57.81 kB / 0.7416 GB, free: 61.64 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.611, allocations: 60.34 kB / 0.7416 GB, free: 61.59 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/1.611, allocations: 24 kB / 0.7416 GB, free: 61.57 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.006307/1.617, allocations: 2.415 MB / 0.744 GB, free: 59.45 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.483e-06/1.617, allocations: 0 / 0.744 GB, free: 59.45 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.00567/1.623, allocations: 0.828 MB / 0.7448 GB, free: 58.62 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002761/1.626, allocations: 4.882 MB / 0.7496 GB, free: 53.44 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003534/1.63, allocations: 1.568 MB / 0.7511 GB, free: 51.89 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-05/1.63, allocations: 4 kB / 0.7511 GB, free: 51.89 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/1.63, allocations: 155 kB / 0.7513 GB, free: 51.74 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/1.635, allocations: 0.5572 MB / 0.7518 GB, free: 51.2 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.657, allocations: 6.899 MB / 0.7585 GB, free: 44.11 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00605/1.663, allocations: 2.953 MB / 0.7614 GB, free: 41.13 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003527/1.667, allocations: 1.722 MB / 0.7631 GB, free: 39.41 MB / 475.1 MB Notification: Performance of SimCode: time 1.413e-06/1.667, allocations: 0 / 0.7631 GB, free: 39.41 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.738/5.405, allocations: 65.63 MB / 0.8272 GB, free: 6.105 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat