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.00131/0.00131, allocations: 183 kB / 13.19 MB, free: 2.129 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.585/1.585, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000957/0.000957, allocations: 89.3 kB / 267.1 MB, free: 9.281 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.4188/0.4188, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.926e-05, allocations: 4 kB / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 58.84 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.5589, allocations: 101.4 MB / 0.5719 GB, free: 4.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.5592, allocations: 79.3 kB / 0.572 GB, free: 4.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2691/0.8283, allocations: 97.91 MB / 0.6676 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8284, allocations: 0 / 0.6676 GB, free: 11.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004433/0.8288, allocations: 83.98 kB / 0.6676 GB, free: 11.44 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.01375/0.8426, allocations: 4.108 MB / 0.6717 GB, free: 7.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.8427, allocations: 8.031 kB / 0.6717 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003035/0.8457, allocations: 0.5353 MB / 0.6722 GB, free: 6.719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02657/0.8723, allocations: 5.997 MB / 0.678 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02379/0.8961, allocations: 8.992 MB / 0.6868 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003462/0.8965, allocations: 246.6 kB / 0.6871 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.8987, allocations: 363.6 kB / 0.6874 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3554/1.254, allocations: 6.75 MB / 0.694 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003529/1.255, allocations: 58.91 kB / 0.6941 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005393/1.255, allocations: 157.2 kB / 0.6942 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001382/1.256, allocations: 0.5849 MB / 0.6948 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/1.27, allocations: 4.813 MB / 0.6995 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03905/1.309, allocations: 28.44 MB / 0.7273 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/1.312, allocations: 0.7152 MB / 0.7279 GB, free: 83.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/1.312, allocations: 206.3 kB / 0.7281 GB, free: 83.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/1.312, allocations: 15.7 kB / 0.7282 GB, free: 83.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/1.312, allocations: 46.02 kB / 0.7282 GB, free: 83.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 4.618e-06/1.312, allocations: 3.531 kB / 0.7282 GB, free: 83.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.007752/1.32, allocations: 1.988 MB / 0.7301 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/1.32, allocations: 234.7 kB / 0.7304 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007273/1.327, allocations: 4.16 MB / 0.7344 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/1.327, allocations: 29.58 kB / 0.7345 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.329, allocations: 2.765 MB / 0.7372 GB, free: 81.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/1.329, allocations: 199.9 kB / 0.7374 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/1.33, allocations: 68.31 kB / 0.7374 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.33, allocations: 453.6 kB / 0.7379 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/1.331, allocations: 0.7382 MB / 0.7386 GB, free: 81.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/1.333, allocations: 3.349 MB / 0.7418 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.335, allocations: 1.52 MB / 0.7433 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-05/1.335, allocations: 26.34 kB / 0.7434 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007226/1.342, allocations: 3.947 MB / 0.7472 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/1.342, allocations: 47.92 kB / 0.7473 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/1.342, allocations: 95.81 kB / 0.7473 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/1.342, allocations: 139.2 kB / 0.7475 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.345, allocations: 0.859 MB / 0.7483 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002087/1.345, allocations: 187 kB / 0.7485 GB, free: 77.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/1.349, allocations: 0.6238 MB / 0.7491 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005414/1.35, allocations: 232.2 kB / 0.7493 GB, free: 77.14 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.0007361/1.351, allocations: 435.9 kB / 0.7497 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.352, allocations: 385.1 kB / 0.7501 GB, free: 76.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.353, allocations: 404.7 kB / 0.7505 GB, free: 76.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.353, allocations: 6 kB / 0.7505 GB, free: 76.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/1.353, allocations: 4.625 kB / 0.7505 GB, free: 76.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.353, allocations: 1.031 kB / 0.7505 GB, free: 76.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007886/1.361, allocations: 4.572 MB / 0.755 GB, free: 74.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.361, allocations: 12.3 kB / 0.755 GB, free: 74.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/1.361, allocations: 100.4 kB / 0.7551 GB, free: 74.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/1.361, allocations: 18.78 kB / 0.7551 GB, free: 74.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/1.361, allocations: 21.59 kB / 0.7551 GB, free: 74.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/1.361, allocations: 19.06 kB / 0.7551 GB, free: 74.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.362, allocations: 22.41 kB / 0.7552 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/1.364, allocations: 2.853 MB / 0.7579 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.365, allocations: 486.9 kB / 0.7584 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/1.365, allocations: 24.09 kB / 0.7584 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.366, allocations: 66.64 kB / 0.7585 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/1.366, allocations: 77.09 kB / 0.7586 GB, free: 71.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/1.366, allocations: 32.14 kB / 0.7586 GB, free: 71.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005943/1.372, allocations: 3.047 MB / 0.7616 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/1.372, allocations: 0 / 0.7616 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005463/1.378, allocations: 0.8651 MB / 0.7624 GB, free: 70.36 MB / 0.4948 GB 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 () * 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.003441/1.381, allocations: 5.796 MB / 0.7681 GB, free: 64.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00415/1.385, allocations: 1.819 MB / 0.7699 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.385, allocations: 1.938 kB / 0.7699 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/1.386, allocations: 222.5 kB / 0.7701 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.39, allocations: 0.626 MB / 0.7707 GB, free: 63.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/1.412, allocations: 6.797 MB / 0.7773 GB, free: 61.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005361/1.417, allocations: 2.953 MB / 0.7802 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004674/1.422, allocations: 1.162 MB / 0.7813 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/1.426, allocations: 1.726 MB / 0.783 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/1.426, allocations: 0 / 0.783 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/1.544, allocations: 66.32 MB / 0.8478 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/1.544, allocations: 144.2 kB / 0.8479 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.184/5.728, allocations: 0 / 0.8479 GB, free: 28.12 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