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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008117/0.0008117, allocations: 98.81 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008173/0.0008173, allocations: 178.4 kB / 17.89 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.2 MB / 241.9 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3211/0.4458, allocations: 64.04 MB / 0.5231 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03279/0.4787, allocations: 13.32 MB / 0.5361 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01638/0.4951, allocations: 310.2 kB / 0.5364 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.5063, allocations: 3.169 MB / 0.5395 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02971/0.536, allocations: 9.572 MB / 0.5489 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004709/0.5407, allocations: 0.922 MB / 0.5498 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.07631/0.6171, allocations: 62.32 MB / 0.6106 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006323/0.6235, allocations: 4.231 MB / 0.6148 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.6267, allocations: 1.526 MB / 0.6163 GB, free: 384 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/0.6304, allocations: 2.528 MB / 0.6187 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.6309, allocations: 140 kB / 0.6189 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.6326, allocations: 0.6321 MB / 0.6195 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.6346, allocations: 2.046 MB / 0.6215 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.6356, allocations: 0.7961 MB / 0.6223 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.641, allocations: 5.416 MB / 0.6275 GB, free: 4.777 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6411, allocations: 0 / 0.6275 GB, free: 4.777 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6411, allocations: 0 / 0.6275 GB, free: 4.777 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.6413, allocations: 0 / 0.6275 GB, free: 4.777 MB / 462.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.00958/0.6509, allocations: 4.64 MB / 0.6321 GB, free: 72 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.6509, allocations: 12.02 kB / 0.6321 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001039/0.652, allocations: 0.5157 MB / 0.6326 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07479/0.7268, allocations: 8.383 MB / 0.6408 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.7375, allocations: 5.516 MB / 0.6462 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.7378, allocations: 205.2 kB / 0.6464 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006898/0.7385, allocations: 291.6 kB / 0.6466 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.75, allocations: 6.937 MB / 0.6534 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.7502, allocations: 55.55 kB / 0.6535 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/0.7505, allocations: 135.8 kB / 0.6536 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001372/0.7519, allocations: 1.002 MB / 0.6546 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009288/0.7612, allocations: 4.947 MB / 0.6594 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/0.7917, allocations: 27.27 MB / 0.686 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.7942, allocations: 0.7386 MB / 0.6868 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.7946, allocations: 220.3 kB / 0.687 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.7946, allocations: 12.3 kB / 0.687 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.7947, allocations: 42.5 kB / 0.687 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.7947, allocations: 0 / 0.687 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.006672/0.8013, allocations: 1.945 MB / 0.6889 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.8015, allocations: 243.3 kB / 0.6891 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00663/0.8081, allocations: 4.734 MB / 0.6938 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.8082, allocations: 29.7 kB / 0.6938 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002114/0.8103, allocations: 2.758 MB / 0.6965 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.8105, allocations: 198.1 kB / 0.6967 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.8106, allocations: 68 kB / 0.6967 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.8109, allocations: 453.4 kB / 0.6972 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.8122, allocations: 0.7759 MB / 0.6979 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00367/0.8158, allocations: 3.41 MB / 0.7013 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.8181, allocations: 1.53 MB / 0.7028 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-05/0.8182, allocations: 28 kB / 0.7028 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007005/0.8252, allocations: 4.027 MB / 0.7067 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.8253, allocations: 44.19 kB / 0.7068 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.8254, allocations: 100 kB / 0.7069 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.8255, allocations: 132 kB / 0.707 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2674/1.093, allocations: 0.8491 MB / 0.7078 GB, free: 192.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002248/1.093, allocations: 183.4 kB / 0.708 GB, free: 192.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/1.097, allocations: 0.5437 MB / 0.7085 GB, free: 192.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/1.097, allocations: 234.8 kB / 0.7087 GB, free: 192.2 MB / 0.5294 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 () * 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.00252/1.099, allocations: 1.623 MB / 0.7103 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007296/1.1, allocations: 378.3 kB / 0.7107 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/1.101, allocations: 402 kB / 0.7111 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/1.101, allocations: 7.734 kB / 0.7111 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.101, allocations: 1.281 kB / 0.7111 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.101, allocations: 3.391 kB / 0.7111 GB, free: 192 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/1.107, allocations: 4.755 MB / 0.7157 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/1.107, allocations: 14.59 kB / 0.7157 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.108, allocations: 115.3 kB / 0.7159 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/1.108, allocations: 24.52 kB / 0.7159 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/1.108, allocations: 28.62 kB / 0.7159 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.426e-05/1.108, allocations: 24.81 kB / 0.7159 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/1.108, allocations: 26.47 kB / 0.7159 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.109, allocations: 1.224 MB / 0.7171 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008738/1.11, allocations: 0.4888 MB / 0.7176 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/1.11, allocations: 35.39 kB / 0.7177 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/1.111, allocations: 39.86 kB / 0.7177 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.111, allocations: 80.17 kB / 0.7178 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/1.111, allocations: 35.56 kB / 0.7178 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005849/1.117, allocations: 3.117 MB / 0.7208 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.653e-06/1.117, allocations: 1.219 kB / 0.7208 GB, free: 188.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004868/1.122, allocations: 0.8325 MB / 0.7217 GB, free: 188.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (61): * Single equations (assignments): 61 * 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.002036/1.124, allocations: 1.812 MB / 0.7234 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003628/1.128, allocations: 1.884 MB / 0.7253 GB, free: 186 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.128, allocations: 4.656 kB / 0.7253 GB, free: 186 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/1.128, allocations: 263.2 kB / 0.7255 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003578/1.132, allocations: 0.6398 MB / 0.7262 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0456/1.178, allocations: 30.13 MB / 0.7556 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/1.18, allocations: 2.86 MB / 0.7584 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002882/1.183, allocations: 1.158 MB / 0.7595 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.185, allocations: 1.698 MB / 0.7612 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.853e-06/1.185, allocations: 0 / 0.7612 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09504/1.28, allocations: 67.23 MB / 0.8268 GB, free: 86.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.28, allocations: 171.2 kB / 0.827 GB, free: 86.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.966/5.246, allocations: 0 / 0.827 GB, free: 86.59 MB / 0.5294 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