Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002588/0.002587, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 94.05 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5226/0.5226, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.000481, allocations: 8 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4952/0.6235, allocations: 101.6 MB / 0.578 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.6239, allocations: 71.97 kB / 0.5781 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8684/1.492, allocations: 102.8 MB / 0.6785 GB, free: 87.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.492, allocations: 0 / 0.6785 GB, free: 87.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000413/1.493, allocations: 92.56 kB / 0.6786 GB, free: 87.57 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1498 * Number of variables: 1498 Notification: Performance of Generate backend data structure: time 0.05682/1.55, allocations: 6.908 MB / 0.6854 GB, free: 85.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.55, allocations: 10.72 kB / 0.6854 GB, free: 85.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004641/1.554, allocations: 0.7889 MB / 0.6861 GB, free: 85.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05788/1.612, allocations: 7.358 MB / 0.6933 GB, free: 85.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07414/1.686, allocations: 18.38 MB / 0.7113 GB, free: 84.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000571/1.687, allocations: 313.9 kB / 0.7116 GB, free: 84.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002866/1.69, allocations: 439.2 kB / 0.712 GB, free: 84.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04214/1.732, allocations: 10.62 MB / 0.7224 GB, free: 81.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006843/1.733, allocations: 85.52 kB / 0.7224 GB, free: 81.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002926/1.736, allocations: 207.5 kB / 0.7226 GB, free: 81.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003955/1.74, allocations: 1.05 MB / 0.7237 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03806/1.778, allocations: 9.276 MB / 0.7327 GB, free: 80.67 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/1.881, allocations: 51.32 MB / 0.7828 GB, free: 41.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/1.901, allocations: 3.848 MB / 0.7866 GB, free: 40.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/1.901, allocations: 25.02 kB / 0.7866 GB, free: 40.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.72e-05/1.901, allocations: 61.17 kB / 0.7867 GB, free: 40.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=188): time 8.096e-06/1.901, allocations: 3.938 kB / 0.7867 GB, free: 40.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=216): time 0.1143/2.016, allocations: 22.73 MB / 0.8089 GB, free: 29.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005383/2.021, allocations: 6.225 MB / 0.815 GB, free: 22.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/2.033, allocations: 4.558 MB / 0.8194 GB, free: 18.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007737/2.034, allocations: 54.41 kB / 0.8195 GB, free: 18.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003244/2.038, allocations: 3.355 MB / 0.8227 GB, free: 15.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00173/2.039, allocations: 0.9093 MB / 0.8236 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/2.041, allocations: 142.8 kB / 0.8238 GB, free: 14.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005697/2.041, allocations: 0.6185 MB / 0.8244 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008427/2.05, allocations: 3.125 MB / 0.8274 GB, free: 11.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/2.061, allocations: 7.447 MB / 0.8347 GB, free: 2.637 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/2.073, allocations: 4.701 MB / 0.8393 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001724/2.073, allocations: 44 kB / 0.8393 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.09212/2.165, allocations: 15.62 MB / 0.8546 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/2.165, allocations: 71.98 kB / 0.8546 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06959/2.235, allocations: 9.006 MB / 0.8634 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4582/2.693, allocations: 6.727 MB / 0.87 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/2.704, allocations: 1.7 MB / 0.8717 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04127/2.745, allocations: 16.54 MB / 0.8878 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.759, allocations: 0.7888 MB / 0.8886 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/2.761, allocations: 457 kB / 0.889 GB, free: 93.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 39 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 848 * 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 {(3,100.0%),(4,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.0075/2.768, allocations: 2.346 MB / 0.8913 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.77, allocations: 457.6 kB / 0.8918 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/2.772, allocations: 0.6187 MB / 0.8924 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02783/2.8, allocations: 6.005 MB / 0.8982 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.407e-05/2.8, allocations: 12.44 kB / 0.8982 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.018e-05/2.8, allocations: 16.38 kB / 0.8983 GB, free: 92.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03682/2.837, allocations: 10.45 MB / 0.9085 GB, free: 91.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.214e-05/2.837, allocations: 3.812 kB / 0.9085 GB, free: 91.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004649/2.842, allocations: 448.2 kB / 0.9089 GB, free: 91.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02501/2.867, allocations: 3.602 MB / 0.9124 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009023/2.868, allocations: 86.19 kB / 0.9125 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03059/2.899, allocations: 13.91 MB / 0.9261 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004971/2.904, allocations: 5.926 MB / 0.9319 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03702/2.941, allocations: 10.7 MB / 0.9423 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/2.943, allocations: 0.5352 MB / 0.9428 GB, free: 74.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002221/2.945, allocations: 71.05 kB / 0.9429 GB, free: 74.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006982/2.952, allocations: 346.6 kB / 0.9432 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/2.954, allocations: 185.2 kB / 0.9434 GB, free: 74.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006699/2.954, allocations: 69.03 kB / 0.9435 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009625/2.964, allocations: 3.237 MB / 0.9466 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/2.964, allocations: 0 / 0.9466 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01138/2.976, allocations: 1.631 MB / 0.9482 GB, free: 73.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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]) * 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 (156): * Single equations (assignments): 139 * 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.03755/3.013, allocations: 12.05 MB / 0.96 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02679/3.04, allocations: 9.314 MB / 0.9691 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/3.04, allocations: 6.766 kB / 0.9691 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01509/3.055, allocations: 4.679 MB / 0.9737 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/3.061, allocations: 0.6254 MB / 0.9743 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6068/3.668, allocations: 161.5 MB / 1.132 GB, free: 82.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009727/3.678, allocations: 3.805 MB / 1.136 GB, free: 81.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006313/3.684, allocations: 2.338 MB / 1.138 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/3.684, allocations: 0 / 1.138 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.198/10.88, allocations: 368.9 MB / 1.498 GB, free: 130.3 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat