Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_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.001043/0.001044, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000847/0.000847, allocations: 87.98 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2105/0.2105, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.878e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5254, allocations: 100.7 MB / 0.5644 GB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5257, allocations: 78.55 kB / 0.5644 GB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2514/0.7771, allocations: 96.72 MB / 0.6589 GB, free: 2.434 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7771, allocations: 0 / 0.6589 GB, free: 2.434 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000209/0.7773, allocations: 83.98 kB / 0.659 GB, free: 2.352 MB / 458.7 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.009996/0.7873, allocations: 4.108 MB / 0.663 GB, free: 14.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.7874, allocations: 8.031 kB / 0.663 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.025/0.8124, allocations: 5.994 MB / 0.6688 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/0.8327, allocations: 8.971 MB / 0.6776 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.8329, allocations: 108 kB / 0.6777 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.834, allocations: 223.7 kB / 0.6779 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007476/0.8415, allocations: 4.091 MB / 0.6819 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00977/0.8513, allocations: 5.852 MB / 0.6876 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.8515, allocations: 55.55 kB / 0.6877 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/0.8519, allocations: 20 kB / 0.6877 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/0.853, allocations: 0.5952 MB / 0.6883 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2742/1.127, allocations: 27.24 MB / 0.7149 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/1.128, allocations: 328.4 kB / 0.7152 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/1.128, allocations: 155 kB / 0.7153 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/1.128, allocations: 10.05 kB / 0.7154 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/1.128, allocations: 48.22 kB / 0.7154 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.805e-06/1.128, allocations: 3.844 kB / 0.7154 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.005535/1.133, allocations: 1.474 MB / 0.7168 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/1.133, allocations: 239.1 kB / 0.7171 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006459/1.14, allocations: 3.427 MB / 0.7204 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/1.14, allocations: 25.7 kB / 0.7204 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/1.142, allocations: 2.824 MB / 0.7232 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/1.142, allocations: 160.8 kB / 0.7234 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.142, allocations: 5.875 kB / 0.7234 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.143, allocations: 451.7 kB / 0.7238 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/1.144, allocations: 0.668 MB / 0.7244 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/1.146, allocations: 3.259 MB / 0.7276 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/1.148, allocations: 1.43 MB / 0.729 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.295e-05/1.148, allocations: 30.59 kB / 0.729 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006511/1.155, allocations: 3.349 MB / 0.7323 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/1.155, allocations: 45.17 kB / 0.7324 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/1.155, allocations: 99.67 kB / 0.7325 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/1.155, allocations: 136.1 kB / 0.7326 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/1.158, allocations: 0.8683 MB / 0.7334 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001052/1.158, allocations: 184.2 kB / 0.7336 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/1.162, allocations: 0.506 MB / 0.7341 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/1.162, allocations: 229.5 kB / 0.7343 GB, free: 103.4 MB / 0.4948 GB 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.0004531/1.163, allocations: 359.1 kB / 0.7347 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001087/1.164, allocations: 0.5798 MB / 0.7352 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/1.164, allocations: 341.5 kB / 0.7356 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/1.165, allocations: 357.2 kB / 0.7359 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/1.165, allocations: 3.812 kB / 0.7359 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.165, allocations: 0 / 0.7359 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.165, allocations: 1.078 kB / 0.7359 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005506/1.171, allocations: 3.476 MB / 0.7393 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.171, allocations: 7.812 kB / 0.7393 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/1.171, allocations: 79.64 kB / 0.7394 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/1.171, allocations: 17.91 kB / 0.7394 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/1.171, allocations: 11.12 kB / 0.7394 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/1.171, allocations: 22.88 kB / 0.7394 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/1.171, allocations: 15.47 kB / 0.7394 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.173, allocations: 2.057 MB / 0.7415 GB, free: 99.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/1.173, allocations: 426.2 kB / 0.7419 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/1.174, allocations: 18.47 kB / 0.7419 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009795/1.175, allocations: 56.86 kB / 0.7419 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/1.175, allocations: 58.47 kB / 0.742 GB, free: 99.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/1.175, allocations: 22.56 kB / 0.742 GB, free: 99.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003452/1.178, allocations: 2.421 MB / 0.7444 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/1.178, allocations: 0 / 0.7444 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004233/1.183, allocations: 0.8295 MB / 0.7452 GB, free: 98.9 MB / 0.4948 GB 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.002123/1.185, allocations: 4.869 MB / 0.7499 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002846/1.188, allocations: 1.58 MB / 0.7515 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.188, allocations: 1.422 kB / 0.7515 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/1.188, allocations: 161.5 kB / 0.7516 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.191, allocations: 0.5424 MB / 0.7522 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.206, allocations: 6.496 MB / 0.7585 GB, free: 92.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/1.209, allocations: 2.951 MB / 0.7614 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003341/1.212, allocations: 1.089 MB / 0.7625 GB, free: 91.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/1.214, allocations: 1.701 MB / 0.7641 GB, free: 91.46 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/1.214, allocations: 0 / 0.7641 GB, free: 91.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09624/1.311, allocations: 57.56 MB / 0.8203 GB, free: 64.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.311, allocations: 127.9 kB / 0.8205 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.845/5.156, allocations: 0 / 0.8205 GB, free: 64.73 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat