Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.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.FreeBodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies",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.001978/0.001978, allocations: 174.4 kB / 8.74 MB, free: 348 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.532/1.532, allocations: 221.5 MB / 230.7 MB, free: 7.594 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.000953/0.000953, allocations: 92.17 kB / 281.6 MB, free: 5.332 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.2563/0.2563, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.984e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1424, allocations: 61.92 MB / 0.4948 GB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.6048, allocations: 108 MB / 0.6002 GB, free: 4.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.605, allocations: 75.97 kB / 0.6003 GB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6908/1.296, allocations: 144.6 MB / 0.7415 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.804e-06/1.296, allocations: 0 / 0.7415 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005107/1.296, allocations: 169.5 kB / 0.7417 GB, free: 102.8 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: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04042/1.337, allocations: 8.842 MB / 0.7503 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.337, allocations: 13.42 kB / 0.7503 GB, free: 99.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03289/1.37, allocations: 7.775 MB / 0.7579 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02869/1.399, allocations: 10.43 MB / 0.7681 GB, free: 97.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/1.399, allocations: 261.9 kB / 0.7683 GB, free: 97.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004076/1.403, allocations: 467.6 kB / 0.7688 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0224/1.426, allocations: 10.51 MB / 0.779 GB, free: 94.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03949/1.465, allocations: 15.66 MB / 0.7943 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007157/1.466, allocations: 106.8 kB / 0.7944 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003369/1.469, allocations: 44 kB / 0.7945 GB, free: 79.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/1.472, allocations: 1.689 MB / 0.7961 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08724/1.559, allocations: 79.44 MB / 0.8737 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006915/1.566, allocations: 4.667 MB / 0.8783 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004354/1.57, allocations: 3.184 MB / 0.8814 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002001/1.572, allocations: 1.991 MB / 0.8833 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.299e-05/1.572, allocations: 68.78 kB / 0.8834 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 7.424e-06/1.572, allocations: 0 / 0.8834 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.3856/1.958, allocations: 22.26 MB / 0.9051 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.958, allocations: 240.1 kB / 0.9054 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01551/1.974, allocations: 5.115 MB / 0.9104 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001162/1.975, allocations: 29.39 kB / 0.9104 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006047/1.981, allocations: 5.369 MB / 0.9156 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002446/1.983, allocations: 1.31 MB / 0.9169 GB, free: 119 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/1.985, allocations: 5.312 kB / 0.9169 GB, free: 119 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001307/1.986, allocations: 0.7383 MB / 0.9176 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007986/1.994, allocations: 3.767 MB / 0.9213 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/2.008, allocations: 9.675 MB / 0.9308 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009903/2.018, allocations: 5.912 MB / 0.9365 GB, free: 111 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004507/2.018, allocations: 62.44 kB / 0.9366 GB, free: 111 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1346) (initialization): time 0.03945/2.058, allocations: 15.2 MB / 0.9514 GB, free: 107 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004652/2.058, allocations: 99.05 kB / 0.9515 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02065/2.079, allocations: 7.681 MB / 0.959 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/2.094, allocations: 3.85 MB / 0.9628 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008701/2.103, allocations: 2.42 MB / 0.9652 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/2.116, allocations: 13.09 MB / 0.9779 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.127, allocations: 0.6931 MB / 0.9786 GB, free: 94.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003064/2.13, allocations: 0.6064 MB / 0.9792 GB, free: 94.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1270): * Single equations (assignments): 1245 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003741/2.133, allocations: 0.6502 MB / 0.9798 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01566/2.149, allocations: 7.634 MB / 0.9873 GB, free: 91.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/2.151, allocations: 0.5621 MB / 0.9878 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/2.165, allocations: 7.53 MB / 0.9952 GB, free: 88.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01144/2.176, allocations: 6.737 MB / 1.002 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.949e-05/2.176, allocations: 4 kB / 1.002 GB, free: 86.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.599e-05/2.176, allocations: 20.55 kB / 1.002 GB, free: 86.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03196/2.208, allocations: 18.3 MB / 1.02 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/2.208, allocations: 8 kB / 1.02 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/2.212, allocations: 0.6643 MB / 1.02 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008531/2.22, allocations: 3.082 MB / 1.023 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007284/2.221, allocations: 65.78 kB / 1.023 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/2.233, allocations: 13.77 MB / 1.037 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002833/2.235, allocations: 5.805 MB / 1.043 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/2.253, allocations: 12.5 MB / 1.055 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/2.255, allocations: 0.6069 MB / 1.055 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009824/2.256, allocations: 39.97 kB / 1.055 GB, free: 36.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/2.259, allocations: 335.4 kB / 1.056 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005217/2.26, allocations: 245.5 kB / 1.056 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/2.26, allocations: 110.2 kB / 1.056 GB, free: 36.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005157/2.265, allocations: 3.424 MB / 1.059 GB, free: 32.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/2.265, allocations: 0 / 1.059 GB, free: 32.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01024/2.275, allocations: 1.935 MB / 1.061 GB, free: 30.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01719/2.293, allocations: 14 MB / 1.075 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01689/2.31, allocations: 10.92 MB / 1.086 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/2.31, allocations: 0 / 1.086 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00868/2.318, allocations: 5.368 MB / 1.091 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006133/2.324, allocations: 0.7214 MB / 1.092 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.356/2.68, allocations: 19.19 MB / 1.11 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/2.691, allocations: 5.533 MB / 1.116 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009201/2.7, allocations: 3.094 MB / 1.119 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008141/2.709, allocations: 3.658 MB / 1.122 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.946e-06/2.709, allocations: 3.594 kB / 1.122 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2824/2.991, allocations: 142.1 MB / 1.261 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/2.991, allocations: 125.3 kB / 1.261 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/10.05, allocations: 5.891 kB / 1.261 GB, free: 32.34 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat