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.001201/0.001201, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.446/1.446, allocations: 221.3 MB / 236 MB, free: 2.898 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.001093/0.001092, allocations: 111 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.85e-05, allocations: 224 / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.5902, allocations: 108.7 MB / 0.6079 GB, free: 12.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5905, allocations: 75.97 kB / 0.608 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7066/1.297, allocations: 148.1 MB / 0.7526 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.475e-06/1.297, allocations: 0 / 0.7526 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005318/1.298, allocations: 164.3 kB / 0.7528 GB, free: 108.8 MB / 0.5105 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.04249/1.34, allocations: 8.853 MB / 0.7614 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/1.34, allocations: 8.562 kB / 0.7614 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008132/1.348, allocations: 1.35 MB / 0.7627 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03393/1.382, allocations: 7.773 MB / 0.7703 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0295/1.412, allocations: 10.43 MB / 0.7805 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008484/1.413, allocations: 0.5842 MB / 0.7811 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004786/1.418, allocations: 0.789 MB / 0.7818 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04852/1.466, allocations: 18.17 MB / 0.7996 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007507/1.467, allocations: 106 kB / 0.7997 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003746/1.471, allocations: 373 kB / 0.8 GB, free: 95.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/1.474, allocations: 1.684 MB / 0.8017 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/1.509, allocations: 14.66 MB / 0.816 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.617, allocations: 81.13 MB / 0.8952 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0228/1.64, allocations: 7.544 MB / 0.9026 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006058/1.646, allocations: 3.365 MB / 0.9059 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.42/2.066, allocations: 17.03 MB / 0.9225 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/2.066, allocations: 69.61 kB / 0.9226 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 5.63e-06/2.066, allocations: 0 / 0.9226 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.06931/2.136, allocations: 23.95 MB / 0.946 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003427/2.139, allocations: 6.267 MB / 0.9521 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/2.15, allocations: 5.731 MB / 0.9577 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009734/2.151, allocations: 78.58 kB / 0.9578 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004032/2.155, allocations: 5.351 MB / 0.963 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002315/2.157, allocations: 1.321 MB / 0.9643 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008707/2.158, allocations: 200.7 kB / 0.9645 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004812/2.159, allocations: 0.7314 MB / 0.9652 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00624/2.165, allocations: 3.904 MB / 0.969 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009583/2.175, allocations: 9.728 MB / 0.9785 GB, free: 88.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009323/2.184, allocations: 6.028 MB / 0.9844 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002137/2.184, allocations: 58.59 kB / 0.9844 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04009/2.224, allocations: 16.39 MB / 1 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004634/2.225, allocations: 95.09 kB / 1.001 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01993/2.245, allocations: 7.862 MB / 1.008 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/2.261, allocations: 3.9 MB / 1.012 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00928/2.27, allocations: 2.378 MB / 1.014 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/2.285, allocations: 13.55 MB / 1.028 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/2.298, allocations: 0.8732 MB / 1.028 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003171/2.301, allocations: 0.6039 MB / 1.029 GB, free: 63.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * 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 (1240): * Single equations (assignments): 1215 * 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.004847/2.306, allocations: 0.8794 MB / 1.03 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002726/2.308, allocations: 0.5978 MB / 1.03 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01956/2.328, allocations: 7.77 MB / 1.038 GB, free: 56.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01424/2.342, allocations: 6.901 MB / 1.045 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.925e-05/2.342, allocations: 8 kB / 1.045 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/2.343, allocations: 22.89 kB / 1.045 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0524/2.395, allocations: 19.39 MB / 1.064 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.402e-05/2.395, allocations: 4 kB / 1.064 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/2.399, allocations: 0.6532 MB / 1.064 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009506/2.408, allocations: 3.142 MB / 1.067 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/2.409, allocations: 108.8 kB / 1.068 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/2.422, allocations: 14.01 MB / 1.081 GB, free: 18.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003176/2.425, allocations: 6.03 MB / 1.087 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/2.449, allocations: 12.71 MB / 1.1 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002996/2.452, allocations: 0.6455 MB / 1.1 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002497/2.454, allocations: 91.58 kB / 1.1 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005537/2.46, allocations: 387.4 kB / 1.101 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/2.461, allocations: 241.6 kB / 1.101 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007381/2.462, allocations: 99.94 kB / 1.101 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01126/2.473, allocations: 3.983 MB / 1.105 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.72e-07/2.473, allocations: 0 / 1.105 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01526/2.488, allocations: 2.104 MB / 1.107 GB, free: 7.152 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (269): * Single equations (assignments): 252 * 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.4292/2.918, allocations: 14.18 MB / 1.121 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0263/2.944, allocations: 11.36 MB / 1.132 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/2.944, allocations: 1.031 kB / 1.132 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01155/2.955, allocations: 5.43 MB / 1.137 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008246/2.964, allocations: 0.8538 MB / 1.138 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06289/3.027, allocations: 19.57 MB / 1.157 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/3.039, allocations: 5.524 MB / 1.162 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01086/3.05, allocations: 3.036 MB / 1.165 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008201/3.059, allocations: 3.679 MB / 1.169 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/3.059, allocations: 0 / 1.169 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2717/3.33, allocations: 150.5 MB / 1.316 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/3.331, allocations: 175.1 kB / 1.316 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/11.62, allocations: 0 / 1.316 GB, free: 5.469 MB / 0.5573 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