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.00119/0.00119, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.001002/0.001003, allocations: 86.83 kB / 281.6 MB, free: 5.328 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.2246/0.2246, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.983e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1527, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.6522, allocations: 102.8 MB / 0.5952 GB, free: 9.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.6526, allocations: 79.95 kB / 0.5952 GB, free: 9.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2699/0.9225, allocations: 102.3 MB / 0.6951 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9226, allocations: 0 / 0.6951 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004051/0.923, allocations: 91.92 kB / 0.6952 GB, free: 2.434 MB / 0.4948 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.4178/1.341, allocations: 6.357 MB / 0.7014 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/1.341, allocations: 12.8 kB / 0.7014 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03578/1.377, allocations: 7.365 MB / 0.7086 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04596/1.423, allocations: 17.74 MB / 0.726 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/1.423, allocations: 131.2 kB / 0.7261 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/1.426, allocations: 279 kB / 0.7264 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01273/1.439, allocations: 6.205 MB / 0.7324 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/1.459, allocations: 9.544 MB / 0.7417 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002962/1.459, allocations: 86.47 kB / 0.7418 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009405/1.46, allocations: 36.94 kB / 0.7418 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/1.461, allocations: 1.052 MB / 0.7429 GB, free: 105.9 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.04971/1.511, allocations: 49.29 MB / 0.791 GB, free: 69.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/1.516, allocations: 3.198 MB / 0.7941 GB, free: 67.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/1.518, allocations: 1.902 MB / 0.796 GB, free: 67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/1.518, allocations: 18.97 kB / 0.796 GB, free: 67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.518, allocations: 64.42 kB / 0.7961 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=188): time 5.18e-06/1.518, allocations: 0 / 0.7961 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=216): time 0.03708/1.555, allocations: 18.56 MB / 0.8142 GB, free: 53.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.556, allocations: 336.4 kB / 0.8145 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008316/1.564, allocations: 3.897 MB / 0.8183 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008957/1.565, allocations: 29.7 kB / 0.8184 GB, free: 49.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00317/1.568, allocations: 3.546 MB / 0.8218 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.57, allocations: 0.8888 MB / 0.8227 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006842/1.57, allocations: 4 kB / 0.8227 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003601/1.571, allocations: 0.6272 MB / 0.8233 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/1.574, allocations: 2.913 MB / 0.8261 GB, free: 42.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005476/1.58, allocations: 7.339 MB / 0.8333 GB, free: 33.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005884/1.586, allocations: 4.503 MB / 0.8377 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/1.586, allocations: 48 kB / 0.8378 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04712/1.633, allocations: 14.73 MB / 0.8521 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/1.633, allocations: 76.03 kB / 0.8522 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03233/1.666, allocations: 8.814 MB / 0.8608 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03468/1.7, allocations: 6.669 MB / 0.8673 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006445/1.707, allocations: 1.739 MB / 0.869 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/1.729, allocations: 15.21 MB / 0.8839 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009964/1.739, allocations: 0.6431 MB / 0.8845 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/1.741, allocations: 471.9 kB / 0.885 GB, free: 13.03 MB / 0.5261 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.002356/1.744, allocations: 0.5008 MB / 0.8855 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01894/1.763, allocations: 6.662 MB / 0.892 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001973/1.765, allocations: 434.5 kB / 0.8924 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/1.767, allocations: 0.5691 MB / 0.8929 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4166/2.184, allocations: 5.879 MB / 0.8987 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-05/2.184, allocations: 11.73 kB / 0.8987 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.623e-05/2.184, allocations: 11.88 kB / 0.8987 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02868/2.213, allocations: 9.811 MB / 0.9083 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/2.213, allocations: 3.281 kB / 0.9083 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/2.216, allocations: 446.2 kB / 0.9087 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/2.229, allocations: 3.533 MB / 0.9122 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008057/2.23, allocations: 68.97 kB / 0.9122 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/2.245, allocations: 13.39 MB / 0.9253 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002996/2.248, allocations: 5.622 MB / 0.9308 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/2.268, allocations: 10.43 MB / 0.941 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/2.27, allocations: 0.4908 MB / 0.9414 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.271, allocations: 38.88 kB / 0.9415 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003552/2.275, allocations: 316.1 kB / 0.9418 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/2.275, allocations: 181.8 kB / 0.942 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/2.275, allocations: 71.31 kB / 0.942 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004517/2.28, allocations: 2.652 MB / 0.9446 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/2.28, allocations: 0 / 0.9446 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008367/2.288, allocations: 1.545 MB / 0.9461 GB, free: 109.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET8.x[3],$STATESET8.x[2],$STATESET8.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],$STATESET7.x[3],$STATESET7.x[2],$STATESET7.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],$STATESET6.x[3],$STATESET6.x[2],$STATESET6.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],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.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.01965/2.308, allocations: 11.79 MB / 0.9576 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01489/2.323, allocations: 8.807 MB / 0.9662 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/2.323, allocations: 0 / 0.9662 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007894/2.331, allocations: 4.542 MB / 0.9707 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/2.335, allocations: 0.5474 MB / 0.9712 GB, free: 100 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/2.363, allocations: 13.71 MB / 0.9846 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004033/2.367, allocations: 3.789 MB / 0.9883 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006041/2.373, allocations: 2.298 MB / 0.9905 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003391/2.376, allocations: 2.269 MB / 0.9928 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/2.376, allocations: 0 / 0.9928 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4901/2.866, allocations: 110.1 MB / 1.1 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/2.867, allocations: 148.2 kB / 1.1 GB, free: 114 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.847/8.714, allocations: 0 / 1.1 GB, free: 114 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