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.001435/0.001435, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 86.22 kB / 261.7 MB, free: 1.684 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.2128/0.2128, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.844e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4832/0.6121, allocations: 100.8 MB / 0.5645 GB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/0.6125, allocations: 77.06 kB / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2673/0.8798, allocations: 101.3 MB / 0.6635 GB, free: 13.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.8799, allocations: 0 / 0.6635 GB, free: 13.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002828/0.8802, allocations: 84 kB / 0.6635 GB, free: 13.38 MB / 474.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.0324/0.9126, allocations: 6.388 MB / 0.6698 GB, free: 6.926 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.9127, allocations: 12.03 kB / 0.6698 GB, free: 6.914 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03151/0.9442, allocations: 7.361 MB / 0.677 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04649/0.9908, allocations: 18.33 MB / 0.6949 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.9912, allocations: 132 kB / 0.695 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002531/0.9937, allocations: 267.7 kB / 0.6953 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01358/1.007, allocations: 6.205 MB / 0.7013 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3857/1.393, allocations: 9.552 MB / 0.7107 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003518/1.393, allocations: 84.97 kB / 0.7107 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006559/1.394, allocations: 32.66 kB / 0.7108 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002119/1.396, allocations: 1.046 MB / 0.7118 GB, free: 113 MB / 0.4948 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.05898/1.455, allocations: 49.39 MB / 0.76 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004791/1.46, allocations: 3.191 MB / 0.7631 GB, free: 82.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/1.462, allocations: 1.895 MB / 0.765 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.463, allocations: 27.52 kB / 0.765 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/1.463, allocations: 67.42 kB / 0.7651 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=188): time 5.249e-06/1.463, allocations: 0 / 0.7651 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=216): time 0.03856/1.501, allocations: 18.85 MB / 0.7835 GB, free: 75.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.501, allocations: 340.9 kB / 0.7838 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007785/1.509, allocations: 3.997 MB / 0.7877 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000805/1.51, allocations: 25.7 kB / 0.7877 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002745/1.513, allocations: 3.552 MB / 0.7912 GB, free: 71.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/1.515, allocations: 0.8951 MB / 0.7921 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005374/1.515, allocations: 7 kB / 0.7921 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003585/1.515, allocations: 0.6163 MB / 0.7927 GB, free: 70.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/1.519, allocations: 2.918 MB / 0.7955 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/1.525, allocations: 7.344 MB / 0.8027 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/1.531, allocations: 4.507 MB / 0.8071 GB, free: 61.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001503/1.532, allocations: 43.34 kB / 0.8071 GB, free: 61.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.05016/1.582, allocations: 14.74 MB / 0.8215 GB, free: 57.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.582, allocations: 69.81 kB / 0.8216 GB, free: 57.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03331/1.615, allocations: 8.814 MB / 0.8302 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03426/1.65, allocations: 6.673 MB / 0.8367 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006078/1.656, allocations: 1.737 MB / 0.8384 GB, free: 51.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.674, allocations: 15.21 MB / 0.8533 GB, free: 36.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0092/1.683, allocations: 0.6509 MB / 0.8539 GB, free: 36.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002003/1.685, allocations: 476.4 kB / 0.8544 GB, free: 35.56 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * 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 (897): * Single equations (assignments): 872 * 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.001322/1.686, allocations: 0.4982 MB / 0.8549 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01522/1.702, allocations: 6.674 MB / 0.8614 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/1.703, allocations: 434.5 kB / 0.8618 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/1.705, allocations: 0.5733 MB / 0.8623 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01325/1.719, allocations: 5.881 MB / 0.8681 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-05/1.719, allocations: 11.62 kB / 0.8681 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-05/1.719, allocations: 15.92 kB / 0.8681 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.737, allocations: 9.843 MB / 0.8777 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.737, allocations: 4 kB / 0.8777 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.739, allocations: 439.3 kB / 0.8781 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01187/1.751, allocations: 3.534 MB / 0.8816 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005646/1.751, allocations: 67.86 kB / 0.8817 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/1.765, allocations: 13.4 MB / 0.8947 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004034/1.77, allocations: 5.622 MB / 0.9002 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3844/2.154, allocations: 10.43 MB / 0.9104 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00201/2.156, allocations: 0.5079 MB / 0.9109 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/2.157, allocations: 40.33 kB / 0.911 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003927/2.161, allocations: 313.4 kB / 0.9113 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000729/2.162, allocations: 175.1 kB / 0.9114 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/2.162, allocations: 81.38 kB / 0.9115 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007206/2.17, allocations: 2.725 MB / 0.9142 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.242e-06/2.17, allocations: 0 / 0.9142 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01164/2.181, allocations: 1.551 MB / 0.9157 GB, free: 117.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.0236/2.205, allocations: 11.78 MB / 0.9272 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01636/2.221, allocations: 8.791 MB / 0.9358 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/2.221, allocations: 1.312 kB / 0.9358 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008368/2.23, allocations: 4.554 MB / 0.9402 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005173/2.235, allocations: 0.5513 MB / 0.9408 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03136/2.266, allocations: 13.76 MB / 0.9542 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003827/2.27, allocations: 3.789 MB / 0.9579 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006146/2.276, allocations: 2.309 MB / 0.9601 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004081/2.281, allocations: 2.285 MB / 0.9624 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.402e-06/2.281, allocations: 0 / 0.9624 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/2.458, allocations: 110.9 MB / 1.071 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/2.458, allocations: 147.1 kB / 1.071 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.248/8.706, allocations: 0 / 1.071 GB, free: 22.71 MB / 0.5105 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