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.001416/0.001416, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.5 MB / 230.7 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009269, allocations: 94.98 kB / 281.6 MB, free: 5.25 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.1917/0.1917, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.565e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.5492, allocations: 102.6 MB / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5495, allocations: 75.95 kB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2558/0.8053, allocations: 97.46 MB / 0.6903 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8053, allocations: 0 / 0.6903 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003021/0.8056, allocations: 80 kB / 0.6903 GB, free: 7.652 MB / 0.4948 GB 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.01241/0.818, allocations: 4.1 MB / 0.6943 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8181, allocations: 11.98 kB / 0.6943 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3427/1.161, allocations: 5.985 MB / 0.7002 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02506/1.186, allocations: 8.208 MB / 0.7082 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/1.186, allocations: 107.7 kB / 0.7083 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/1.189, allocations: 215.1 kB / 0.7085 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01074/1.199, allocations: 4.091 MB / 0.7125 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/1.215, allocations: 5.85 MB / 0.7182 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/1.216, allocations: 63.62 kB / 0.7183 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/1.216, allocations: 19.84 kB / 0.7183 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/1.217, allocations: 0.5919 MB / 0.7189 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02755/1.245, allocations: 27.14 MB / 0.7454 GB, free: 96.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/1.245, allocations: 328.8 kB / 0.7457 GB, free: 96.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/1.245, allocations: 154.7 kB / 0.7458 GB, free: 96.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/1.245, allocations: 8.391 kB / 0.7459 GB, free: 96.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.245, allocations: 43.06 kB / 0.7459 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/1.245, allocations: 3.844 kB / 0.7459 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.00449/1.25, allocations: 1.244 MB / 0.7471 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.25, allocations: 235 kB / 0.7473 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005485/1.256, allocations: 3.374 MB / 0.7506 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/1.256, allocations: 29.36 kB / 0.7507 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/1.258, allocations: 2.812 MB / 0.7534 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/1.258, allocations: 159.4 kB / 0.7536 GB, free: 92.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/1.258, allocations: 2.812 kB / 0.7536 GB, free: 92.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002195/1.258, allocations: 453.9 kB / 0.754 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008348/1.259, allocations: 0.6731 MB / 0.7547 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/1.261, allocations: 3.255 MB / 0.7578 GB, free: 87.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/1.263, allocations: 1.432 MB / 0.7592 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.244e-05/1.263, allocations: 24.94 kB / 0.7593 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005364/1.268, allocations: 3.351 MB / 0.7625 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/1.268, allocations: 45.25 kB / 0.7626 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.285e-05/1.268, allocations: 95.19 kB / 0.7627 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/1.269, allocations: 135.2 kB / 0.7628 GB, free: 86.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.271, allocations: 0.8675 MB / 0.7636 GB, free: 86.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.575e-05/1.271, allocations: 182.8 kB / 0.7638 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/1.274, allocations: 0.5035 MB / 0.7643 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.274, allocations: 233.7 kB / 0.7645 GB, free: 85.94 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.000319/1.275, allocations: 357.5 kB / 0.7649 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007532/1.276, allocations: 0.5818 MB / 0.7654 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/1.276, allocations: 332.8 kB / 0.7658 GB, free: 85.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/1.277, allocations: 345.1 kB / 0.7661 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.277, allocations: 3.938 kB / 0.7661 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.277, allocations: 0 / 0.7661 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.277, allocations: 7.859 kB / 0.7661 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004318/1.281, allocations: 3.45 MB / 0.7695 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.281, allocations: 8.906 kB / 0.7695 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/1.281, allocations: 83.3 kB / 0.7695 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/1.281, allocations: 14.22 kB / 0.7696 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.281, allocations: 18.64 kB / 0.7696 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/1.281, allocations: 14.88 kB / 0.7696 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.281, allocations: 16.62 kB / 0.7696 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/1.282, allocations: 2.054 MB / 0.7716 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006693/1.283, allocations: 411.7 kB / 0.772 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/1.283, allocations: 18 kB / 0.772 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009229/1.284, allocations: 51.14 kB / 0.7721 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/1.284, allocations: 64.61 kB / 0.7721 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/1.284, allocations: 21.84 kB / 0.7722 GB, free: 80.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002797/1.287, allocations: 2.374 MB / 0.7745 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.287, allocations: 0 / 0.7745 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003643/1.291, allocations: 0.8302 MB / 0.7753 GB, free: 79.51 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.001838/1.293, allocations: 4.851 MB / 0.78 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002391/1.295, allocations: 1.581 MB / 0.7816 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.295, allocations: 0 / 0.7816 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/1.295, allocations: 158.6 kB / 0.7817 GB, free: 74.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.298, allocations: 0.5457 MB / 0.7823 GB, free: 73.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.311, allocations: 6.439 MB / 0.7885 GB, free: 71.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.314, allocations: 2.933 MB / 0.7914 GB, free: 70.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002926/1.317, allocations: 1.084 MB / 0.7925 GB, free: 70.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/1.319, allocations: 1.679 MB / 0.7941 GB, free: 68.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/1.319, allocations: 0 / 0.7941 GB, free: 68.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09148/1.41, allocations: 56.99 MB / 0.8498 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/1.41, allocations: 120.3 kB / 0.8499 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.185/5.595, allocations: 0 / 0.8499 GB, free: 21.93 MB / 0.4948 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