Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008106/0.0008106, allocations: 95.47 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1671/0.1671, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.477e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07959/0.07963, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4254, allocations: 109.4 MB / 0.6183 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4257, allocations: 78.33 kB / 0.6183 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1989/0.6246, allocations: 85.14 MB / 0.7015 GB, free: 3.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.6246, allocations: 0 / 0.7015 GB, free: 3.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002057/0.6248, allocations: 88 kB / 0.7016 GB, free: 3.461 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.009778/0.6346, allocations: 3.901 MB / 0.7054 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6347, allocations: 11.97 kB / 0.7054 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002183/0.6369, allocations: 0.7499 MB / 0.7061 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.6473, allocations: 2.381 MB / 0.7085 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.658, allocations: 4.403 MB / 0.7128 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.6584, allocations: 320.3 kB / 0.7131 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.6603, allocations: 427.8 kB / 0.7135 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.6818, allocations: 10.3 MB / 0.7235 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001936/0.682, allocations: 63.41 kB / 0.7236 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.683, allocations: 203.9 kB / 0.7238 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.6844, allocations: 0.9906 MB / 0.7247 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.6995, allocations: 8.271 MB / 0.7328 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2801/0.9796, allocations: 48.09 MB / 0.7798 GB, free: 98.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008319/0.988, allocations: 3.686 MB / 0.7834 GB, free: 98.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.9897, allocations: 1.53 MB / 0.7849 GB, free: 98.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008775/0.9985, allocations: 7.644 MB / 0.7923 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.9986, allocations: 47.09 kB / 0.7924 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=144): time 3.115e-06/0.9986, allocations: 0 / 0.7924 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160): time 0.02525/1.024, allocations: 12.01 MB / 0.8041 GB, free: 92.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008033/1.025, allocations: 1.587 MB / 0.8057 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/1.028, allocations: 3.404 MB / 0.809 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/1.029, allocations: 49.81 kB / 0.809 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.03, allocations: 3.104 MB / 0.8121 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004467/1.03, allocations: 0.6456 MB / 0.8127 GB, free: 88.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/1.031, allocations: 117.9 kB / 0.8128 GB, free: 88.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.031, allocations: 0.5549 MB / 0.8134 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/1.033, allocations: 1.932 MB / 0.8152 GB, free: 88.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/1.036, allocations: 5.654 MB / 0.8208 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/1.039, allocations: 3.282 MB / 0.824 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-05/1.039, allocations: 35.25 kB / 0.824 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01092/1.05, allocations: 8.148 MB / 0.832 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/1.05, allocations: 70.03 kB / 0.832 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003858/1.054, allocations: 2.483 MB / 0.8344 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/1.057, allocations: 1.131 MB / 0.8356 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/1.061, allocations: 1.368 MB / 0.8369 GB, free: 79.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/1.064, allocations: 4.698 MB / 0.8415 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.068, allocations: 382 kB / 0.8418 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004884/1.069, allocations: 367.5 kB / 0.8422 GB, free: 75.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006475/1.069, allocations: 0.5758 MB / 0.8428 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/1.07, allocations: 340.2 kB / 0.8431 GB, free: 74.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004748/1.075, allocations: 2.892 MB / 0.8459 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003737/1.078, allocations: 2.425 MB / 0.8483 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.078, allocations: 3.781 kB / 0.8483 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.078, allocations: 11.12 kB / 0.8483 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.091, allocations: 9.209 MB / 0.8573 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.091, allocations: 4.75 kB / 0.8573 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/1.092, allocations: 246.8 kB / 0.8575 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/1.095, allocations: 1.021 MB / 0.8585 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.095, allocations: 39.83 kB / 0.8586 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/1.099, allocations: 4.833 MB / 0.8633 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005996/1.1, allocations: 1.458 MB / 0.8647 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006135/1.106, allocations: 5.607 MB / 0.8702 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/1.106, allocations: 402.5 kB / 0.8706 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/1.107, allocations: 35.7 kB / 0.8706 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.108, allocations: 130.8 kB / 0.8707 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/1.108, allocations: 107.1 kB / 0.8708 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/1.108, allocations: 53.25 kB / 0.8709 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002712/1.111, allocations: 2.339 MB / 0.8731 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/1.111, allocations: 0 / 0.8731 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003706/1.115, allocations: 1.01 MB / 0.8741 GB, free: 55.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006322/1.121, allocations: 7.273 MB / 0.8812 GB, free: 48.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007404/1.129, allocations: 5.337 MB / 0.8865 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.129, allocations: 0 / 0.8865 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/1.132, allocations: 2.088 MB / 0.8885 GB, free: 42.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.134, allocations: 427.9 kB / 0.8889 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.15, allocations: 9.053 MB / 0.8977 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/1.152, allocations: 3.271 MB / 0.9009 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00389/1.156, allocations: 1.865 MB / 0.9028 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/1.158, allocations: 1.818 MB / 0.9045 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/1.158, allocations: 0 / 0.9045 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3407/1.499, allocations: 74.21 MB / 0.977 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/1.499, allocations: 179.5 kB / 0.9772 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/5.28, allocations: 0 / 0.9772 GB, free: 141.6 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat