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.00222/0.00222, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.092/2.092, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001179/0.001179, allocations: 95.09 kB / 270.9 MB, free: 8.375 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.5204/0.5204, allocations: 43.54 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004683, allocations: 15.98 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5035/0.6356, allocations: 101.5 MB / 0.5779 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.6359, allocations: 79.16 kB / 0.578 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8461/1.482, allocations: 97.83 MB / 0.6735 GB, free: 90.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.526e-06/1.482, allocations: 0 / 0.6735 GB, free: 90.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006409/1.483, allocations: 81.61 kB / 0.6736 GB, free: 90.31 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02843/1.511, allocations: 4.801 MB / 0.6783 GB, free: 89.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.86e-05/1.511, allocations: 11.84 kB / 0.6783 GB, free: 89.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003756/1.515, allocations: 0.5365 MB / 0.6788 GB, free: 89.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06659/1.582, allocations: 5.979 MB / 0.6847 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03998/1.622, allocations: 9.053 MB / 0.6935 GB, free: 88.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005336/1.622, allocations: 251.2 kB / 0.6937 GB, free: 88.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/1.625, allocations: 350.2 kB / 0.6941 GB, free: 88.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/1.655, allocations: 6.883 MB / 0.7008 GB, free: 86.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004153/1.656, allocations: 57.14 kB / 0.7008 GB, free: 86.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/1.657, allocations: 157.8 kB / 0.701 GB, free: 86.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/1.66, allocations: 0.586 MB / 0.7016 GB, free: 86.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/1.683, allocations: 5.025 MB / 0.7065 GB, free: 86.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0504/1.733, allocations: 28.43 MB / 0.7342 GB, free: 69.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/1.737, allocations: 0.7262 MB / 0.7349 GB, free: 69.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/1.737, allocations: 11.16 kB / 0.735 GB, free: 69.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.737, allocations: 41.12 kB / 0.735 GB, free: 69.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 3.266e-06/1.737, allocations: 3.438 kB / 0.735 GB, free: 69.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.01433/1.752, allocations: 2.148 MB / 0.7371 GB, free: 68.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.752, allocations: 246.8 kB / 0.7373 GB, free: 68.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.764, allocations: 4.257 MB / 0.7415 GB, free: 67.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.764, allocations: 33.45 kB / 0.7415 GB, free: 67.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002771/1.767, allocations: 2.541 MB / 0.744 GB, free: 64.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/1.767, allocations: 205.2 kB / 0.7442 GB, free: 64.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/1.767, allocations: 70.16 kB / 0.7443 GB, free: 64.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/1.768, allocations: 458 kB / 0.7447 GB, free: 64.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/1.77, allocations: 0.8142 MB / 0.7455 GB, free: 64.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004399/1.775, allocations: 3.437 MB / 0.7489 GB, free: 60.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/1.779, allocations: 1.576 MB / 0.7504 GB, free: 59.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.289e-05/1.779, allocations: 28.72 kB / 0.7504 GB, free: 59.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.01115/1.79, allocations: 3.871 MB / 0.7542 GB, free: 58.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/1.79, allocations: 47.97 kB / 0.7542 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.79, allocations: 95.53 kB / 0.7543 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/1.791, allocations: 135.3 kB / 0.7545 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004553/1.795, allocations: 0.8582 MB / 0.7553 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001542/1.795, allocations: 188 kB / 0.7555 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006241/1.802, allocations: 0.6299 MB / 0.7561 GB, free: 57.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006687/1.802, allocations: 232.6 kB / 0.7563 GB, free: 57.78 MB / 490.7 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 () * Number of clocked 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.004085/1.806, allocations: 1.629 MB / 0.7579 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.808, allocations: 384.4 kB / 0.7583 GB, free: 56.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/1.809, allocations: 407.8 kB / 0.7587 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.809, allocations: 5.719 kB / 0.7587 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.809, allocations: 0 / 0.7587 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/1.809, allocations: 3.781 kB / 0.7587 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.82, allocations: 4.575 MB / 0.7631 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.82, allocations: 11.19 kB / 0.7632 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/1.82, allocations: 101.7 kB / 0.7633 GB, free: 54.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.221e-05/1.82, allocations: 20.12 kB / 0.7633 GB, free: 54.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/1.82, allocations: 20.22 kB / 0.7633 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/1.82, allocations: 22.27 kB / 0.7633 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/1.82, allocations: 16.72 kB / 0.7633 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.823, allocations: 2.855 MB / 0.7661 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.824, allocations: 491.5 kB / 0.7666 GB, free: 50.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008242/1.825, allocations: 29.98 kB / 0.7666 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.827, allocations: 61.84 kB / 0.7667 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.827, allocations: 75.92 kB / 0.7667 GB, free: 50.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/1.828, allocations: 25.69 kB / 0.7668 GB, free: 50.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008866/1.836, allocations: 3.154 MB / 0.7699 GB, free: 49.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.836, allocations: 0.75 kB / 0.7699 GB, free: 49.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005594/1.842, allocations: 0.8651 MB / 0.7707 GB, free: 49.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * 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 (52): * Single equations (assignments): 52 * 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.003341/1.845, allocations: 5.804 MB / 0.7764 GB, free: 44.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00507/1.851, allocations: 1.901 MB / 0.7782 GB, free: 43.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/1.851, allocations: 0 / 0.7782 GB, free: 43.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/1.851, allocations: 229.2 kB / 0.7784 GB, free: 43.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00564/1.857, allocations: 0.63 MB / 0.7791 GB, free: 43.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09967/1.957, allocations: 95.02 MB / 0.8718 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007121/1.964, allocations: 2.945 MB / 0.8747 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3626/2.326, allocations: 1.791 MB / 0.8765 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/2.326, allocations: 0.9688 kB / 0.8765 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.918/6.244, allocations: 70.21 MB / 0.945 GB, free: 121.7 MB / 0.5261 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