Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",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.002126/0.002126, 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.368/1.368, 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.0008947/0.0008946, allocations: 95.19 kB / 292.1 MB, free: 10.94 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.371/0.371, allocations: 44.21 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 8 kB / 460 MB, free: 1.695 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 61.91 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.4828, allocations: 108.6 MB / 0.6156 GB, free: 2.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4832, allocations: 83.92 kB / 0.6157 GB, free: 2.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5518/1.035, allocations: 82.85 MB / 0.6966 GB, free: 95.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.035, allocations: 0 / 0.6966 GB, free: 95.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001786/1.035, allocations: 86.86 kB / 0.6967 GB, free: 95.67 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.01056/1.046, allocations: 4.155 MB / 0.7008 GB, free: 93.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.046, allocations: 11.67 kB / 0.7008 GB, free: 93.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00222/1.048, allocations: 0.7463 MB / 0.7015 GB, free: 93.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/1.059, allocations: 2.33 MB / 0.7038 GB, free: 93.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/1.072, allocations: 5.054 MB / 0.7087 GB, free: 92.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/1.072, allocations: 321.7 kB / 0.709 GB, free: 92.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/1.074, allocations: 421.1 kB / 0.7094 GB, free: 92.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/1.099, allocations: 10.37 MB / 0.7196 GB, free: 89.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/1.1, allocations: 66.09 kB / 0.7196 GB, free: 89.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006869/1.1, allocations: 204.3 kB / 0.7198 GB, free: 89.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/1.102, allocations: 0.9926 MB / 0.7208 GB, free: 89.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/1.12, allocations: 8.403 MB / 0.729 GB, free: 86.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04762/1.168, allocations: 48.1 MB / 0.776 GB, free: 49.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007982/1.176, allocations: 3.721 MB / 0.7796 GB, free: 48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/1.186, allocations: 7.631 MB / 0.7871 GB, free: 43.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/1.186, allocations: 42.47 kB / 0.7871 GB, free: 43.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 5.47e-06/1.186, allocations: 3.625 kB / 0.7871 GB, free: 43.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.03251/1.219, allocations: 14.18 MB / 0.8009 GB, free: 35.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001066/1.22, allocations: 1.6 MB / 0.8025 GB, free: 33.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/1.225, allocations: 3.438 MB / 0.8059 GB, free: 30.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003907/1.226, allocations: 45.7 kB / 0.8059 GB, free: 30.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.227, allocations: 3.105 MB / 0.8089 GB, free: 27.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006113/1.228, allocations: 0.6425 MB / 0.8096 GB, free: 27.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/1.228, allocations: 119.4 kB / 0.8097 GB, free: 27.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002908/1.228, allocations: 0.5561 MB / 0.8102 GB, free: 26.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/1.231, allocations: 1.974 MB / 0.8122 GB, free: 25.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/1.235, allocations: 5.699 MB / 0.8177 GB, free: 17.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/1.239, allocations: 3.28 MB / 0.8209 GB, free: 14.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.516e-05/1.239, allocations: 36 kB / 0.821 GB, free: 14.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01284/1.252, allocations: 8.231 MB / 0.829 GB, free: 7.715 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/1.252, allocations: 62.19 kB / 0.8291 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004092/1.256, allocations: 2.506 MB / 0.8315 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/1.259, allocations: 1.138 MB / 0.8326 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/1.264, allocations: 1.365 MB / 0.8339 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/1.269, allocations: 4.774 MB / 0.8386 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/1.275, allocations: 383.2 kB / 0.839 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.276, allocations: 372 kB / 0.8393 GB, free: 12.85 MB / 0.4948 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 () * Number of clocked 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.00421/1.28, allocations: 2.037 MB / 0.8413 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/1.281, allocations: 339.6 kB / 0.8416 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/1.287, allocations: 2.907 MB / 0.8445 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004488/1.291, allocations: 2.445 MB / 0.8469 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.291, allocations: 4 kB / 0.8469 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.889e-05/1.291, allocations: 3.984 kB / 0.8469 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.309, allocations: 9.248 MB / 0.8559 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.309, allocations: 4.469 kB / 0.8559 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.31, allocations: 251.6 kB / 0.8561 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/1.313, allocations: 1.018 MB / 0.8571 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/1.313, allocations: 43.92 kB / 0.8572 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005631/1.319, allocations: 4.923 MB / 0.862 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001083/1.32, allocations: 1.47 MB / 0.8634 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008892/1.329, allocations: 5.649 MB / 0.8689 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.331, allocations: 396.7 kB / 0.8693 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/1.331, allocations: 43.92 kB / 0.8694 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.332, allocations: 119.8 kB / 0.8695 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/1.333, allocations: 109.2 kB / 0.8696 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.333, allocations: 54.78 kB / 0.8696 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004363/1.337, allocations: 2.375 MB / 0.872 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.337, allocations: 0 / 0.872 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005947/1.343, allocations: 1.008 MB / 0.8729 GB, free: 9.672 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 () * Number of clocked 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.009253/1.353, allocations: 7.303 MB / 0.8801 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2984/1.651, allocations: 5.392 MB / 0.8853 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.651, allocations: 0 / 0.8853 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003652/1.655, allocations: 2.115 MB / 0.8874 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.657, allocations: 420.4 kB / 0.8878 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1021/1.76, allocations: 124.7 MB / 1.01 GB, free: 38.15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008674/1.768, allocations: 3.268 MB / 1.013 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007576/1.776, allocations: 1.869 MB / 1.015 GB, free: 36.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0043/1.78, allocations: 1.825 MB / 1.016 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of SimCode: time 1.683e-06/1.78, allocations: 1.188 kB / 1.016 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/1.913, allocations: 74.03 MB / 1.089 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.913, allocations: 210.6 kB / 1.089 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.47/6.383, allocations: 0 / 1.089 GB, free: 0.9609 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat