Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Bodies",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.001414/0.001414, allocations: 179.9 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.72/1.72, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008954/0.0008953, allocations: 91.75 kB / 287 MB, free: 260 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.2623/0.2623, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.784e-05, allocations: 224 / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5096/0.6633, allocations: 103.5 MB / 0.6028 GB, free: 1.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.6636, allocations: 76.8 kB / 0.6029 GB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2801/0.9437, allocations: 103.9 MB / 0.7044 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.335e-06/0.9437, allocations: 4 kB / 0.7044 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003204/0.9441, allocations: 87.94 kB / 0.7045 GB, free: 9.102 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.03187/0.9759, allocations: 6.361 MB / 0.7107 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.976, allocations: 12.03 kB / 0.7107 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003896/0.9799, allocations: 0.7934 MB / 0.7115 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4249/1.405, allocations: 7.352 MB / 0.7186 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04976/1.455, allocations: 17.75 MB / 0.736 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/1.455, allocations: 316.4 kB / 0.7363 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/1.458, allocations: 442.8 kB / 0.7367 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/1.482, allocations: 10.51 MB / 0.747 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003382/1.482, allocations: 87.75 kB / 0.7471 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009418/1.483, allocations: 202.7 kB / 0.7472 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/1.485, allocations: 1.056 MB / 0.7483 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.503, allocations: 9.071 MB / 0.7571 GB, free: 115.2 MB / 0.5105 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.05491/1.558, allocations: 51.22 MB / 0.8072 GB, free: 77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/1.566, allocations: 3.827 MB / 0.8109 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/1.569, allocations: 1.947 MB / 0.8128 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/1.569, allocations: 29.53 kB / 0.8128 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/1.569, allocations: 59.53 kB / 0.8129 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=188): time 5.119e-06/1.569, allocations: 3.219 kB / 0.8129 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=216): time 0.04319/1.612, allocations: 18.97 MB / 0.8314 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004844/1.617, allocations: 6.169 MB / 0.8374 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008982/1.626, allocations: 4.383 MB / 0.8417 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009087/1.627, allocations: 57.53 kB / 0.8418 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002573/1.63, allocations: 3.501 MB / 0.8452 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/1.631, allocations: 0.9123 MB / 0.8461 GB, free: 48.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004988/1.632, allocations: 144 kB / 0.8462 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003339/1.632, allocations: 0.6118 MB / 0.8468 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/1.637, allocations: 3.014 MB / 0.8498 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/1.644, allocations: 7.341 MB / 0.8569 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/1.651, allocations: 4.614 MB / 0.8614 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/1.651, allocations: 44 kB / 0.8615 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04781/1.699, allocations: 15.58 MB / 0.8767 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/1.699, allocations: 71.95 kB / 0.8768 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0319/1.731, allocations: 8.913 MB / 0.8855 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03411/1.765, allocations: 6.735 MB / 0.892 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006215/1.771, allocations: 1.688 MB / 0.8937 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/1.794, allocations: 15.7 MB / 0.909 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4123/2.206, allocations: 0.7724 MB / 0.9098 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002508/2.209, allocations: 455.4 kB / 0.9102 GB, free: 115.1 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.003294/2.212, allocations: 0.6587 MB / 0.9109 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002023/2.214, allocations: 452.8 kB / 0.9113 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/2.217, allocations: 0.615 MB / 0.9119 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01992/2.237, allocations: 5.978 MB / 0.9177 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.56e-05/2.237, allocations: 12.97 kB / 0.9177 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/2.237, allocations: 10.56 kB / 0.9177 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02876/2.266, allocations: 10.4 MB / 0.9279 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.366e-05/2.266, allocations: 6.562 kB / 0.9279 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/2.269, allocations: 440.7 kB / 0.9283 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01379/2.283, allocations: 3.594 MB / 0.9318 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009001/2.284, allocations: 89.72 kB / 0.9319 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/2.296, allocations: 13.61 MB / 0.9452 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003019/2.3, allocations: 5.853 MB / 0.9509 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02043/2.32, allocations: 10.64 MB / 0.9613 GB, free: 99.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/2.322, allocations: 0.5206 MB / 0.9618 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/2.324, allocations: 76.45 kB / 0.9619 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/2.327, allocations: 340.2 kB / 0.9622 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/2.328, allocations: 188.1 kB / 0.9624 GB, free: 99.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/2.328, allocations: 71.86 kB / 0.9625 GB, free: 99.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006306/2.335, allocations: 3.088 MB / 0.9655 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.833e-06/2.335, allocations: 3.844 kB / 0.9655 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01051/2.345, allocations: 1.622 MB / 0.9671 GB, free: 98.07 MB / 0.5261 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.02014/2.365, allocations: 11.98 MB / 0.9788 GB, free: 92.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0162/2.382, allocations: 9.15 MB / 0.9877 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/2.382, allocations: 3.719 kB / 0.9877 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008588/2.39, allocations: 4.63 MB / 0.9922 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/2.395, allocations: 0.6235 MB / 0.9928 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/2.426, allocations: 14.02 MB / 1.007 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005746/2.432, allocations: 3.786 MB / 1.01 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00668/2.439, allocations: 2.264 MB / 1.012 GB, free: 79.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004363/2.443, allocations: 2.283 MB / 1.015 GB, free: 77.75 MB / 0.5261 GB Notification: Performance of SimCode: time 2.114e-06/2.443, allocations: 0 / 1.015 GB, free: 77.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4887/2.932, allocations: 116.8 MB / 1.129 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/2.932, allocations: 196 kB / 1.129 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/9.73, allocations: 0 / 1.129 GB, free: 120.6 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Bodies_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat