Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009052/0.0009051, allocations: 101.3 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1871/0.1871, allocations: 45.15 MB / 389.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.841e-05, allocations: 4 kB / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09194, allocations: 63.25 MB / 0.5115 GB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.454, allocations: 104.4 MB / 0.6134 GB, free: 5.668 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4543, allocations: 77.95 kB / 0.6135 GB, free: 5.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2631/0.7174, allocations: 110.2 MB / 0.7211 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7174, allocations: 0 / 0.7211 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001944/0.7176, allocations: 87.98 kB / 0.7212 GB, free: 15.2 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: 1498 * Number of variables: 1498 Notification: Performance of Generate backend data structure: time 0.03087/0.7485, allocations: 6.771 MB / 0.7278 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7486, allocations: 15.91 kB / 0.7278 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003137/0.7517, allocations: 0.7855 MB / 0.7286 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03019/0.7819, allocations: 7.58 MB / 0.736 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2946/1.077, allocations: 20.19 MB / 0.7557 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/1.077, allocations: 313.2 kB / 0.756 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001983/1.079, allocations: 440.6 kB / 0.7564 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/1.098, allocations: 10.51 MB / 0.7667 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.098, allocations: 82 kB / 0.7667 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008799/1.099, allocations: 202.5 kB / 0.7669 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/1.101, allocations: 1.056 MB / 0.768 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/1.115, allocations: 9.079 MB / 0.7768 GB, free: 120.5 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.04127/1.156, allocations: 51.24 MB / 0.8269 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007149/1.163, allocations: 3.818 MB / 0.8306 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002235/1.166, allocations: 1.948 MB / 0.8325 GB, free: 83.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/1.166, allocations: 29.98 kB / 0.8325 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/1.166, allocations: 52.8 kB / 0.8326 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=188): time 3.887e-06/1.166, allocations: 0 / 0.8326 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=216): time 0.0365/1.202, allocations: 18.96 MB / 0.8511 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002695/1.205, allocations: 6.169 MB / 0.8571 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005339/1.21, allocations: 4.382 MB / 0.8614 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004775/1.211, allocations: 63.62 kB / 0.8615 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.212, allocations: 3.501 MB / 0.8649 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007731/1.213, allocations: 0.9134 MB / 0.8658 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.213, allocations: 142.5 kB / 0.8659 GB, free: 63.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002475/1.214, allocations: 0.6108 MB / 0.8665 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003279/1.217, allocations: 3.011 MB / 0.8695 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/1.222, allocations: 7.339 MB / 0.8766 GB, free: 55.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/1.226, allocations: 4.613 MB / 0.8811 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-05/1.226, allocations: 44 kB / 0.8812 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04076/1.267, allocations: 15.45 MB / 0.8963 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.267, allocations: 72 kB / 0.8963 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03012/1.297, allocations: 8.787 MB / 0.9049 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03268/1.33, allocations: 6.593 MB / 0.9113 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005003/1.335, allocations: 1.688 MB / 0.913 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.353, allocations: 15.67 MB / 0.9283 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007206/1.36, allocations: 0.7786 MB / 0.9291 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.361, allocations: 455.9 kB / 0.9295 GB, free: 9.285 MB / 0.5261 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 () * 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.002072/1.363, allocations: 0.6534 MB / 0.9301 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.365, allocations: 450.2 kB / 0.9306 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/1.367, allocations: 0.6142 MB / 0.9312 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0134/1.38, allocations: 5.981 MB / 0.937 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-05/1.38, allocations: 15.89 kB / 0.937 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/1.38, allocations: 7.969 kB / 0.937 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/1.4, allocations: 10.4 MB / 0.9472 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/1.4, allocations: 4 kB / 0.9472 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/1.402, allocations: 447.2 kB / 0.9476 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/1.415, allocations: 3.593 MB / 0.9511 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005464/1.416, allocations: 83.92 kB / 0.9512 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2566/1.672, allocations: 13.61 MB / 0.9645 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002637/1.675, allocations: 5.861 MB / 0.9702 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/1.695, allocations: 10.64 MB / 0.9806 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.696, allocations: 0.5179 MB / 0.9811 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/1.697, allocations: 76.3 kB / 0.9812 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.699, allocations: 338.3 kB / 0.9815 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/1.7, allocations: 183.3 kB / 0.9817 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.7, allocations: 77.88 kB / 0.9818 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004316/1.704, allocations: 3.085 MB / 0.9848 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.41e-07/1.704, allocations: 0 / 0.9848 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005374/1.71, allocations: 1.627 MB / 0.9864 GB, free: 109.6 MB / 0.5417 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 () * 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.01701/1.727, allocations: 11.98 MB / 0.998 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.739, allocations: 9.135 MB / 1.007 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.74, allocations: 3 kB / 1.007 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007203/1.747, allocations: 4.63 MB / 1.011 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.75, allocations: 0.6279 MB / 1.012 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.773, allocations: 14.02 MB / 1.026 GB, free: 98.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/1.776, allocations: 3.783 MB / 1.029 GB, free: 97.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00493/1.781, allocations: 2.254 MB / 1.032 GB, free: 97.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002461/1.784, allocations: 2.278 MB / 1.034 GB, free: 95.43 MB / 0.5417 GB Notification: Performance of SimCode: time 8.81e-07/1.784, allocations: 3.438 kB / 1.034 GB, free: 95.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/1.926, allocations: 116.8 MB / 1.148 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.926, allocations: 193.5 kB / 1.148 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.784/6.71, allocations: 0 / 1.148 GB, free: 2.238 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Bodies_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat