Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_3_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.001131/0.001131, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001007/0.001007, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2469/0.2469, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 16 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 58.85 MB / 490.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5491, allocations: 101.6 MB / 0.5781 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5495, allocations: 77.2 kB / 0.5781 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2905/0.84, allocations: 102.8 MB / 0.6786 GB, free: 15.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.8401, allocations: 0 / 0.6786 GB, free: 15.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005262/0.8406, allocations: 88 kB / 0.6786 GB, free: 15.22 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.03738/0.878, allocations: 6.911 MB / 0.6854 GB, free: 8.234 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.8781, allocations: 12.03 kB / 0.6854 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005713/0.8838, allocations: 0.7855 MB / 0.6862 GB, free: 7.426 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03348/0.9173, allocations: 7.357 MB / 0.6934 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3848/1.302, allocations: 18.37 MB / 0.7113 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005361/1.303, allocations: 311.5 kB / 0.7116 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/1.306, allocations: 440.5 kB / 0.712 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02845/1.334, allocations: 10.62 MB / 0.7224 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003407/1.335, allocations: 83.62 kB / 0.7225 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009299/1.336, allocations: 207.1 kB / 0.7227 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00177/1.337, allocations: 1.055 MB / 0.7237 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/1.357, allocations: 9.265 MB / 0.7327 GB, free: 110.5 MB / 0.4948 GB 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.05525/1.412, allocations: 51.33 MB / 0.7829 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008101/1.42, allocations: 3.848 MB / 0.7866 GB, free: 75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/1.42, allocations: 21.47 kB / 0.7867 GB, free: 75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/1.42, allocations: 64.7 kB / 0.7867 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=188): time 5.751e-06/1.42, allocations: 0 / 0.7867 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=216): time 0.05264/1.473, allocations: 22.73 MB / 0.8089 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003472/1.477, allocations: 6.23 MB / 0.815 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008475/1.485, allocations: 4.564 MB / 0.8195 GB, free: 56.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008637/1.486, allocations: 52.08 kB / 0.8195 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003089/1.489, allocations: 3.518 MB / 0.8229 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.491, allocations: 0.9071 MB / 0.8238 GB, free: 53.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/1.492, allocations: 142.8 kB / 0.824 GB, free: 53.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004218/1.492, allocations: 0.6186 MB / 0.8246 GB, free: 52.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/1.497, allocations: 3.119 MB / 0.8276 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007518/1.504, allocations: 7.454 MB / 0.8349 GB, free: 45.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/1.511, allocations: 4.671 MB / 0.8394 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001653/1.512, allocations: 44 kB / 0.8395 GB, free: 41.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04824/1.56, allocations: 15.81 MB / 0.8549 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/1.56, allocations: 72 kB / 0.855 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03216/1.592, allocations: 9.007 MB / 0.8638 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03243/1.625, allocations: 6.735 MB / 0.8704 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005918/1.631, allocations: 1.696 MB / 0.872 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/1.652, allocations: 16.53 MB / 0.8882 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009515/1.662, allocations: 0.7951 MB / 0.8889 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002133/1.664, allocations: 455.9 kB / 0.8894 GB, free: 11.43 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.006662/1.67, allocations: 2.347 MB / 0.8917 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00204/1.672, allocations: 458.1 kB / 0.8921 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/1.675, allocations: 0.6145 MB / 0.8927 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01493/1.689, allocations: 6.006 MB / 0.8986 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/1.69, allocations: 11.72 kB / 0.8986 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.672e-05/1.69, allocations: 11.97 kB / 0.8986 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3418/2.031, allocations: 10.45 MB / 0.9088 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.579e-05/2.032, allocations: 4.531 kB / 0.9088 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/2.034, allocations: 438.8 kB / 0.9092 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01399/2.048, allocations: 3.605 MB / 0.9127 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007348/2.049, allocations: 90.61 kB / 0.9128 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/2.063, allocations: 13.91 MB / 0.9264 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003473/2.067, allocations: 5.91 MB / 0.9322 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/2.089, allocations: 10.71 MB / 0.9426 GB, free: 99.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/2.091, allocations: 0.5366 MB / 0.9432 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001877/2.093, allocations: 71.98 kB / 0.9432 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004631/2.098, allocations: 344.2 kB / 0.9436 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/2.099, allocations: 187 kB / 0.9437 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005846/2.1, allocations: 68.81 kB / 0.9438 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007349/2.107, allocations: 3.243 MB / 0.947 GB, free: 99.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/2.107, allocations: 0 / 0.947 GB, free: 99.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01056/2.118, allocations: 1.632 MB / 0.9486 GB, free: 99.03 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.01986/2.137, allocations: 12.04 MB / 0.9603 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01607/2.154, allocations: 9.296 MB / 0.9694 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/2.154, allocations: 0 / 0.9694 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007502/2.161, allocations: 4.66 MB / 0.974 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/2.165, allocations: 0.6279 MB / 0.9746 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.419/2.584, allocations: 160.9 MB / 1.132 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009249/2.594, allocations: 3.79 MB / 1.135 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008276/2.602, allocations: 2.28 MB / 1.138 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004166/2.606, allocations: 2.294 MB / 1.14 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/2.606, allocations: 0 / 1.14 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/2.79, allocations: 118.4 MB / 1.256 GB, free: 91.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/2.79, allocations: 233.1 kB / 1.256 GB, free: 91.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.041/8.831, allocations: 0 / 1.256 GB, free: 91.62 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Bodies_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat