Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.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.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",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.001605/0.001605, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.407/1.407, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008422/0.0008419, allocations: 89.69 kB / 292.1 MB, free: 10.91 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.3505/0.3505, allocations: 44.22 MB / 387.5 MB, free: 38.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003514, allocations: 8 kB / 460 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 61.9 MB / 0.5096 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5246, allocations: 103.4 MB / 0.6106 GB, free: 7.719 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5249, allocations: 79.94 kB / 0.6107 GB, free: 7.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5353/1.06, allocations: 98.57 MB / 0.7069 GB, free: 94.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.06, allocations: 4.438 kB / 0.7069 GB, free: 94.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004432/1.061, allocations: 80.16 kB / 0.707 GB, free: 94.27 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.01599/1.077, allocations: 4.735 MB / 0.7116 GB, free: 92.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.077, allocations: 9.781 kB / 0.7117 GB, free: 92.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003594/1.08, allocations: 0.5418 MB / 0.7122 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02729/1.108, allocations: 5.981 MB / 0.718 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0213/1.129, allocations: 8.266 MB / 0.7261 GB, free: 91.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/1.129, allocations: 258.5 kB / 0.7263 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/1.131, allocations: 353.9 kB / 0.7267 GB, free: 90.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/1.151, allocations: 6.887 MB / 0.7334 GB, free: 87.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005807/1.152, allocations: 59.58 kB / 0.7335 GB, free: 87.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00183/1.153, allocations: 149.5 kB / 0.7336 GB, free: 87.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001571/1.155, allocations: 0.591 MB / 0.7342 GB, free: 87.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.167, allocations: 5.017 MB / 0.7391 GB, free: 85.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/1.205, allocations: 28.31 MB / 0.7667 GB, free: 65.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/1.208, allocations: 0.7204 MB / 0.7674 GB, free: 65.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/1.208, allocations: 15 kB / 0.7674 GB, free: 65.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.208, allocations: 42.31 kB / 0.7675 GB, free: 64.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.736e-06/1.208, allocations: 0 / 0.7675 GB, free: 64.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.006731/1.215, allocations: 1.918 MB / 0.7694 GB, free: 64.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/1.215, allocations: 238.4 kB / 0.7696 GB, free: 64.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009054/1.224, allocations: 4.197 MB / 0.7737 GB, free: 62.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/1.224, allocations: 45.02 kB / 0.7737 GB, free: 62.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002337/1.226, allocations: 2.745 MB / 0.7764 GB, free: 60.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/1.227, allocations: 197.6 kB / 0.7766 GB, free: 60.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/1.227, allocations: 77.66 kB / 0.7767 GB, free: 60.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/1.227, allocations: 458.7 kB / 0.7771 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.229, allocations: 0.8187 MB / 0.7779 GB, free: 59.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/1.231, allocations: 3.425 MB / 0.7813 GB, free: 55.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/1.233, allocations: 1.583 MB / 0.7828 GB, free: 55.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-05/1.234, allocations: 27.62 kB / 0.7828 GB, free: 55.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006876/1.24, allocations: 4.104 MB / 0.7868 GB, free: 52.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/1.241, allocations: 48 kB / 0.7869 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.241, allocations: 92 kB / 0.787 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/1.241, allocations: 136 kB / 0.7871 GB, free: 52.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/1.243, allocations: 0.8659 MB / 0.7879 GB, free: 51.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/1.243, allocations: 180.8 kB / 0.7881 GB, free: 51.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/1.248, allocations: 0.6286 MB / 0.7887 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/1.249, allocations: 232 kB / 0.789 GB, free: 50.97 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.003784/1.253, allocations: 1.631 MB / 0.7905 GB, free: 49.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/1.254, allocations: 375.1 kB / 0.7909 GB, free: 49.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/1.256, allocations: 396.9 kB / 0.7913 GB, free: 48.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.256, allocations: 4 kB / 0.7913 GB, free: 48.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.256, allocations: 4 kB / 0.7913 GB, free: 48.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.256, allocations: 7.797 kB / 0.7913 GB, free: 48.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.269, allocations: 4.542 MB / 0.7957 GB, free: 44.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.269, allocations: 16.06 kB / 0.7957 GB, free: 44.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/1.269, allocations: 94.56 kB / 0.7958 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/1.269, allocations: 19.95 kB / 0.7959 GB, free: 44.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/1.269, allocations: 24 kB / 0.7959 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/1.269, allocations: 27.16 kB / 0.7959 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/1.269, allocations: 15.94 kB / 0.7959 GB, free: 44.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.271, allocations: 2.848 MB / 0.7987 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/1.273, allocations: 477.2 kB / 0.7992 GB, free: 40.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/1.274, allocations: 27.95 kB / 0.7992 GB, free: 40.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.276, allocations: 70.98 kB / 0.7992 GB, free: 40.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/1.276, allocations: 63.73 kB / 0.7993 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/1.276, allocations: 28 kB / 0.7993 GB, free: 40.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00697/1.283, allocations: 3.113 MB / 0.8024 GB, free: 37.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.283, allocations: 3.938 kB / 0.8024 GB, free: 37.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005742/1.289, allocations: 0.8571 MB / 0.8032 GB, free: 36.65 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.002475/1.292, allocations: 5.797 MB / 0.8089 GB, free: 30.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003235/1.295, allocations: 1.907 MB / 0.8107 GB, free: 28.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.295, allocations: 0 / 0.8107 GB, free: 28.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/1.295, allocations: 222.5 kB / 0.811 GB, free: 28.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.299, allocations: 0.6223 MB / 0.8116 GB, free: 27.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3548/1.653, allocations: 94.19 MB / 0.9035 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004227/1.658, allocations: 2.929 MB / 0.9064 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00353/1.661, allocations: 1.154 MB / 0.9075 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/1.664, allocations: 1.723 MB / 0.9092 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/1.664, allocations: 0 / 0.9092 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.801, allocations: 66.7 MB / 0.9743 GB, free: 101 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.801, allocations: 167.7 kB / 0.9745 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.455/6.256, allocations: 0 / 0.9745 GB, free: 100.8 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat