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.001357/0.001356, allocations: 177 kB / 17.06 MB, free: 5.094 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.452/1.452, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 102.7 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3845/0.3845, allocations: 44.21 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004105, allocations: 8 kB / 460 MB, free: 1.691 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4335, allocations: 61.9 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.5776, allocations: 103.6 MB / 0.6108 GB, free: 7.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5779, allocations: 87.92 kB / 0.6108 GB, free: 7.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6137/1.192, allocations: 103.8 MB / 0.7122 GB, free: 95.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.344e-06/1.192, allocations: 1 kB / 0.7122 GB, free: 95.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008607/1.193, allocations: 89.05 kB / 0.7123 GB, free: 95.99 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.04155/1.234, allocations: 6.86 MB / 0.719 GB, free: 93.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.418e-05/1.234, allocations: 13.56 kB / 0.719 GB, free: 93.78 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0055/1.24, allocations: 0.7863 MB / 0.7198 GB, free: 93.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03308/1.273, allocations: 7.352 MB / 0.727 GB, free: 93.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04716/1.32, allocations: 17.81 MB / 0.7444 GB, free: 89.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000501/1.321, allocations: 316.7 kB / 0.7447 GB, free: 89.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003219/1.324, allocations: 434.4 kB / 0.7451 GB, free: 89.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02544/1.349, allocations: 10.62 MB / 0.7555 GB, free: 83.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005402/1.35, allocations: 82.11 kB / 0.7555 GB, free: 83.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/1.352, allocations: 203.9 kB / 0.7557 GB, free: 83.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/1.354, allocations: 1.051 MB / 0.7568 GB, free: 83.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/1.372, allocations: 9.27 MB / 0.7658 GB, free: 77.95 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.05812/1.431, allocations: 51.22 MB / 0.8158 GB, free: 25.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007599/1.438, allocations: 3.865 MB / 0.8196 GB, free: 21.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/1.439, allocations: 22.97 kB / 0.8196 GB, free: 21.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.439, allocations: 58.73 kB / 0.8197 GB, free: 21.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=188): time 5.891e-06/1.439, allocations: 0 / 0.8197 GB, free: 21.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=216): time 0.0467/1.485, allocations: 22.44 MB / 0.8416 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004579/1.49, allocations: 6.221 MB / 0.8477 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008611/1.499, allocations: 4.465 MB / 0.852 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000716/1.499, allocations: 56.2 kB / 0.8521 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003356/1.503, allocations: 3.504 MB / 0.8555 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.504, allocations: 0.9099 MB / 0.8564 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000711/1.505, allocations: 143.4 kB / 0.8565 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004602/1.506, allocations: 0.6119 MB / 0.8571 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005935/1.512, allocations: 3.126 MB / 0.8602 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.522, allocations: 7.458 MB / 0.8675 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009376/1.531, allocations: 4.663 MB / 0.872 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/1.532, allocations: 44 kB / 0.8721 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.3751/1.907, allocations: 15.81 MB / 0.8875 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.907, allocations: 69.06 kB / 0.8876 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03277/1.94, allocations: 9.006 MB / 0.8964 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03539/1.975, allocations: 6.738 MB / 0.9029 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006557/1.982, allocations: 1.69 MB / 0.9046 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/2.005, allocations: 16.55 MB / 0.9208 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/2.015, allocations: 0.7822 MB / 0.9215 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/2.018, allocations: 461.7 kB / 0.922 GB, free: 110.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 () * 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.006572/2.024, allocations: 2.342 MB / 0.9243 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/2.026, allocations: 454.2 kB / 0.9247 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/2.028, allocations: 0.6077 MB / 0.9253 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01435/2.042, allocations: 6.013 MB / 0.9312 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.397e-05/2.042, allocations: 7.281 kB / 0.9312 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-05/2.042, allocations: 14.89 kB / 0.9312 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/2.064, allocations: 10.41 MB / 0.9413 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-05/2.064, allocations: 3.438 kB / 0.9413 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/2.067, allocations: 441.8 kB / 0.9418 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01253/2.079, allocations: 3.604 MB / 0.9453 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008195/2.08, allocations: 80.89 kB / 0.9454 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/2.092, allocations: 13.91 MB / 0.9589 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002943/2.095, allocations: 5.914 MB / 0.9647 GB, free: 89.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/2.115, allocations: 10.7 MB / 0.9752 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/2.117, allocations: 0.5262 MB / 0.9757 GB, free: 85.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/2.118, allocations: 75.11 kB / 0.9758 GB, free: 85.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/2.121, allocations: 335.5 kB / 0.9761 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005874/2.122, allocations: 184.8 kB / 0.9762 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/2.122, allocations: 75.55 kB / 0.9763 GB, free: 85.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00598/2.128, allocations: 3.159 MB / 0.9794 GB, free: 84.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/2.128, allocations: 1.812 kB / 0.9794 GB, free: 84.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009246/2.138, allocations: 1.627 MB / 0.981 GB, free: 83.93 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 () * 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.01989/2.157, allocations: 12.04 MB / 0.9928 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01707/2.175, allocations: 9.305 MB / 1.002 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.175, allocations: 0 / 1.002 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008126/2.183, allocations: 4.675 MB / 1.006 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/2.188, allocations: 0.6209 MB / 1.007 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.394/2.582, allocations: 160.5 MB / 1.164 GB, free: 74.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006024/2.588, allocations: 3.779 MB / 1.167 GB, free: 74.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00663/2.595, allocations: 2.268 MB / 1.17 GB, free: 74.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003859/2.599, allocations: 2.279 MB / 1.172 GB, free: 73.79 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/2.599, allocations: 0 / 1.172 GB, free: 73.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/2.763, allocations: 117.6 MB / 1.287 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/2.763, allocations: 224.2 kB / 1.287 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.029/8.792, allocations: 0 / 1.287 GB, free: 11.69 MB / 0.5573 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