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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001149, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 174.3 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3589/0.3589, allocations: 43.54 MB / 314.5 MB, free: 9 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005457/0.0005457, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1401, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2906/0.4308, allocations: 60.52 MB / 0.4916 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03024/0.4611, allocations: 13.94 MB / 0.5052 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01407/0.4752, allocations: 304.3 kB / 0.5055 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.4865, allocations: 3.013 MB / 0.5084 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03151/0.518, allocations: 8.832 MB / 0.517 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004778/0.5228, allocations: 0.9225 MB / 0.5179 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04202/0.5648, allocations: 27.01 MB / 0.5443 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007208/0.5721, allocations: 4.214 MB / 0.5484 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.5754, allocations: 1.254 MB / 0.5496 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003262/0.5786, allocations: 1.827 MB / 0.5514 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007936/0.5795, allocations: 140 kB / 0.5516 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.5813, allocations: 0.6087 MB / 0.5522 GB, free: 44 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002179/0.5835, allocations: 1.921 MB / 0.554 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.5848, allocations: 0.8116 MB / 0.5548 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006526/0.5913, allocations: 5.459 MB / 0.5602 GB, free: 7.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5914, allocations: 0 / 0.5602 GB, free: 7.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5914, allocations: 0 / 0.5602 GB, free: 7.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002231/0.5916, allocations: 0 / 0.5602 GB, free: 7.824 MB / 430.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.01307/0.6047, allocations: 4.682 MB / 0.5647 GB, free: 3.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.6048, allocations: 8.031 kB / 0.5647 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001929/0.6067, allocations: 0.5079 MB / 0.5652 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1003/0.707, allocations: 9.975 MB / 0.575 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.7192, allocations: 5.286 MB / 0.5801 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.7195, allocations: 209.2 kB / 0.5803 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008614/0.7203, allocations: 291.6 kB / 0.5806 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.7334, allocations: 6.988 MB / 0.5874 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001688/0.7337, allocations: 51.56 kB / 0.5875 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003241/0.734, allocations: 139.9 kB / 0.5876 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/0.7355, allocations: 0.9977 MB / 0.5886 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.7469, allocations: 5.022 MB / 0.5935 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/0.7884, allocations: 27.58 MB / 0.6204 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.791, allocations: 0.7386 MB / 0.6212 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.7911, allocations: 16.42 kB / 0.6212 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.7911, allocations: 38.5 kB / 0.6212 GB, free: 7.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.7911, allocations: 4 kB / 0.6212 GB, free: 7.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.008488/0.7996, allocations: 2.258 MB / 0.6234 GB, free: 5.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.7998, allocations: 239.6 kB / 0.6236 GB, free: 5.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3102/1.11, allocations: 5.393 MB / 0.6289 GB, free: 143.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.11, allocations: 31.92 kB / 0.6289 GB, free: 143.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.114, allocations: 2.773 MB / 0.6317 GB, free: 142.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/1.114, allocations: 192.6 kB / 0.6318 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/1.114, allocations: 68.94 kB / 0.6319 GB, free: 142.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002591/1.114, allocations: 453.2 kB / 0.6323 GB, free: 142 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.116, allocations: 0.7827 MB / 0.6331 GB, free: 142 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/1.119, allocations: 3.389 MB / 0.6364 GB, free: 138.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/1.121, allocations: 1.537 MB / 0.6379 GB, free: 138.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.931e-05/1.121, allocations: 25.59 kB / 0.6379 GB, free: 138.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.00753/1.129, allocations: 4.033 MB / 0.6419 GB, free: 137.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/1.129, allocations: 44.78 kB / 0.6419 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/1.129, allocations: 92.19 kB / 0.642 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/1.129, allocations: 138.3 kB / 0.6421 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/1.131, allocations: 0.8533 MB / 0.643 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001953/1.132, allocations: 181.1 kB / 0.6431 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/1.137, allocations: 0.5676 MB / 0.6437 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005763/1.138, allocations: 235.5 kB / 0.6439 GB, free: 136.8 MB / 494.1 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.004865/1.143, allocations: 1.639 MB / 0.6455 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001724/1.144, allocations: 378.3 kB / 0.6459 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/1.146, allocations: 399.6 kB / 0.6463 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/1.146, allocations: 10.09 kB / 0.6463 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.146, allocations: 1.344 kB / 0.6463 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.146, allocations: 4.531 kB / 0.6463 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00915/1.155, allocations: 4.823 MB / 0.651 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.155, allocations: 13 kB / 0.651 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/1.156, allocations: 116.3 kB / 0.6511 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.683e-05/1.156, allocations: 23.73 kB / 0.6511 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/1.156, allocations: 27.12 kB / 0.6512 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.197e-05/1.156, allocations: 28.23 kB / 0.6512 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-05/1.156, allocations: 24.19 kB / 0.6512 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/1.159, allocations: 3.285 MB / 0.6544 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.16, allocations: 0.5122 MB / 0.6549 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003606/1.16, allocations: 30.06 kB / 0.6549 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/1.161, allocations: 41.56 kB / 0.655 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/1.161, allocations: 86.56 kB / 0.6551 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/1.161, allocations: 34.03 kB / 0.6551 GB, free: 129.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005023/1.166, allocations: 3.625 MB / 0.6586 GB, free: 128.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.166, allocations: 1.344 kB / 0.6586 GB, free: 128.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004647/1.171, allocations: 0.8699 MB / 0.6595 GB, free: 127.9 MB / 494.1 MB 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.002988/1.174, allocations: 6.676 MB / 0.666 GB, free: 121.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003766/1.178, allocations: 1.882 MB / 0.6678 GB, free: 120.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.178, allocations: 2.406 kB / 0.6679 GB, free: 120.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/1.178, allocations: 260.9 kB / 0.6681 GB, free: 120.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.182, allocations: 0.6384 MB / 0.6687 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08021/1.262, allocations: 96.21 MB / 0.7627 GB, free: 34.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003745/1.266, allocations: 2.959 MB / 0.7656 GB, free: 32.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003916/1.27, allocations: 1.173 MB / 0.7667 GB, free: 32.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/1.272, allocations: 1.73 MB / 0.7684 GB, free: 31.44 MB / 494.1 MB Notification: Performance of SimCode: time 2.084e-06/1.272, allocations: 0 / 0.7684 GB, free: 31.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3727/1.645, allocations: 69.37 MB / 0.8361 GB, free: 149.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.645, allocations: 162.9 kB / 0.8363 GB, free: 149.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/5.609, allocations: 0 / 0.8363 GB, free: 149.2 MB / 0.4981 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) Environment - environmentSimulation: 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