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.001707/0.001707, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.2 MB / 245 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008735, allocations: 95.66 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3854/0.3854, allocations: 45.23 MB / 394.7 MB, free: 31.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4018, allocations: 63.24 MB / 0.5193 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.5484, allocations: 104.5 MB / 0.6213 GB, free: 14.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5487, allocations: 87.91 kB / 0.6214 GB, free: 14.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6665/1.215, allocations: 110.2 MB / 0.7289 GB, free: 99.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.215, allocations: 4 kB / 0.7289 GB, free: 99.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004158/1.216, allocations: 90.47 kB / 0.729 GB, free: 99.79 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.03824/1.254, allocations: 7.279 MB / 0.7361 GB, free: 97.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/1.254, allocations: 13.25 kB / 0.7361 GB, free: 97.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004585/1.259, allocations: 0.7827 MB / 0.7369 GB, free: 96.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03109/1.29, allocations: 7.573 MB / 0.7443 GB, free: 93.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04584/1.336, allocations: 20.25 MB / 0.7641 GB, free: 78.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/1.336, allocations: 312.1 kB / 0.7644 GB, free: 78.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/1.339, allocations: 437.1 kB / 0.7648 GB, free: 77.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/1.361, allocations: 10.63 MB / 0.7752 GB, free: 66.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/1.361, allocations: 75.31 kB / 0.7752 GB, free: 66.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007839/1.362, allocations: 207.8 kB / 0.7754 GB, free: 65.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001292/1.363, allocations: 1.061 MB / 0.7765 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/1.379, allocations: 9.261 MB / 0.7855 GB, free: 55.58 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.05567/1.435, allocations: 51.23 MB / 0.8355 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/1.443, allocations: 3.847 MB / 0.8393 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/1.443, allocations: 32.09 kB / 0.8393 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/1.444, allocations: 62.72 kB / 0.8394 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=188): time 6.562e-06/1.444, allocations: 0 / 0.8394 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=216): time 0.05418/1.498, allocations: 22.44 MB / 0.8613 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004664/1.502, allocations: 6.227 MB / 0.8674 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009737/1.512, allocations: 4.457 MB / 0.8717 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008663/1.513, allocations: 57.69 kB / 0.8718 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003727/1.517, allocations: 3.504 MB / 0.8752 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001833/1.519, allocations: 0.9141 MB / 0.8761 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007405/1.519, allocations: 144 kB / 0.8762 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005163/1.52, allocations: 0.608 MB / 0.8768 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005529/1.526, allocations: 3.129 MB / 0.8799 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3642/1.89, allocations: 7.443 MB / 0.8872 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009543/1.899, allocations: 4.667 MB / 0.8917 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003035/1.9, allocations: 44.69 kB / 0.8918 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.05282/1.953, allocations: 15.68 MB / 0.9071 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/1.953, allocations: 71.41 kB / 0.9071 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03609/1.989, allocations: 8.886 MB / 0.9158 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03503/2.024, allocations: 6.594 MB / 0.9223 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006073/2.03, allocations: 1.7 MB / 0.9239 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/2.051, allocations: 16.5 MB / 0.94 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009913/2.061, allocations: 0.7819 MB / 0.9408 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/2.063, allocations: 457.4 kB / 0.9412 GB, free: 114.6 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.006489/2.07, allocations: 2.335 MB / 0.9435 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/2.071, allocations: 452 kB / 0.9439 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/2.073, allocations: 0.6173 MB / 0.9445 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01392/2.087, allocations: 6.009 MB / 0.9504 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.578e-05/2.087, allocations: 10.38 kB / 0.9504 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.403e-05/2.087, allocations: 11.86 kB / 0.9504 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/2.107, allocations: 10.41 MB / 0.9606 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/2.107, allocations: 3.5 kB / 0.9606 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/2.109, allocations: 445.3 kB / 0.961 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/2.121, allocations: 3.599 MB / 0.9645 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000704/2.122, allocations: 93.66 kB / 0.9646 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/2.135, allocations: 13.9 MB / 0.9782 GB, free: 94.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002987/2.138, allocations: 5.913 MB / 0.984 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/2.157, allocations: 10.71 MB / 0.9944 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/2.159, allocations: 0.5239 MB / 0.995 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/2.16, allocations: 71.97 kB / 0.995 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/2.164, allocations: 335.4 kB / 0.9953 GB, free: 76.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006568/2.164, allocations: 187 kB / 0.9955 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/2.165, allocations: 72.88 kB / 0.9956 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005832/2.17, allocations: 3.163 MB / 0.9987 GB, free: 72.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/2.171, allocations: 0 / 0.9987 GB, free: 72.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009322/2.18, allocations: 1.632 MB / 1 GB, free: 71.36 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.01898/2.199, allocations: 12.04 MB / 1.012 GB, free: 59.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01654/2.215, allocations: 9.277 MB / 1.021 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.216, allocations: 0 / 1.021 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007557/2.223, allocations: 4.668 MB / 1.026 GB, free: 44.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004766/2.228, allocations: 0.6318 MB / 1.026 GB, free: 44.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4443/2.672, allocations: 160.4 MB / 1.183 GB, free: 56.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006496/2.679, allocations: 3.778 MB / 1.187 GB, free: 55.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006643/2.686, allocations: 2.272 MB / 1.189 GB, free: 55.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004383/2.69, allocations: 2.273 MB / 1.191 GB, free: 55.33 MB / 0.5417 GB Notification: Performance of SimCode: time 1.343e-06/2.69, allocations: 0 / 1.191 GB, free: 55.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4787/3.169, allocations: 117.6 MB / 1.306 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/3.169, allocations: 219.5 kB / 1.306 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.267/9.436, allocations: 5.812 kB / 1.306 GB, free: 136.6 MB / 0.5573 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