Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008372/0.0008375, allocations: 98.22 kB / 261.8 MB, free: 1.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1843/0.1843, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.917e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5436, allocations: 106.3 MB / 0.5698 GB, free: 5.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5439, allocations: 77.75 kB / 0.5699 GB, free: 5.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2072/0.7511, allocations: 82.2 MB / 0.6502 GB, free: 11.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.7512, allocations: 0 / 0.6502 GB, free: 11.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000201/0.7514, allocations: 91.92 kB / 0.6503 GB, free: 11.03 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01289/0.7643, allocations: 3.98 MB / 0.6541 GB, free: 6.984 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.7643, allocations: 12.03 kB / 0.6542 GB, free: 6.973 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.7766, allocations: 2.35 MB / 0.6565 GB, free: 4.613 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.7902, allocations: 5.227 MB / 0.6616 GB, free: 15.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.7904, allocations: 140 kB / 0.6617 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/0.792, allocations: 252 kB / 0.6619 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01187/0.8039, allocations: 6.162 MB / 0.668 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.8223, allocations: 9.484 MB / 0.6772 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.8225, allocations: 63.39 kB / 0.6773 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006325/0.8232, allocations: 32 kB / 0.6773 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00145/0.8246, allocations: 1.03 MB / 0.6783 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.346/1.171, allocations: 48.12 MB / 0.7253 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/1.174, allocations: 2.608 MB / 0.7279 GB, free: 96.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/1.176, allocations: 1.477 MB / 0.7293 GB, free: 96.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.177, allocations: 0.9988 MB / 0.7303 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.177, allocations: 48.88 kB / 0.7303 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=159): time 4.328e-06/1.177, allocations: 0 / 0.7303 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=178): time 0.02889/1.206, allocations: 14.14 MB / 0.7441 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/1.206, allocations: 147.5 kB / 0.7443 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/1.211, allocations: 3.101 MB / 0.7473 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00036/1.211, allocations: 26.64 kB / 0.7473 GB, free: 92.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.213, allocations: 3.223 MB / 0.7505 GB, free: 90.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008263/1.214, allocations: 0.692 MB / 0.7511 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.214, allocations: 3.312 kB / 0.7511 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002977/1.215, allocations: 0.5783 MB / 0.7517 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/1.217, allocations: 1.962 MB / 0.7536 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003784/1.221, allocations: 5.906 MB / 0.7594 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/1.225, allocations: 3.357 MB / 0.7627 GB, free: 84.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-05/1.225, allocations: 43.16 kB / 0.7627 GB, free: 84.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=838) (initialization): time 0.01324/1.238, allocations: 7.772 MB / 0.7703 GB, free: 82.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.787e-05/1.238, allocations: 65.12 kB / 0.7704 GB, free: 82.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004596/1.243, allocations: 2.589 MB / 0.7729 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.246, allocations: 1.129 MB / 0.774 GB, free: 81.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/1.251, allocations: 1.472 MB / 0.7754 GB, free: 81.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/1.255, allocations: 4.496 MB / 0.7798 GB, free: 78.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005402/1.26, allocations: 288.2 kB / 0.7801 GB, free: 78.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.262, allocations: 394.2 kB / 0.7805 GB, free: 78.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 646 * Number of states: 0 () * Number of discrete variables: 39 (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 (800): * Single equations (assignments): 791 * 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.000943/1.263, allocations: 469.1 kB / 0.7809 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005859/1.269, allocations: 3.305 MB / 0.7841 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008992/1.27, allocations: 330.5 kB / 0.7845 GB, free: 76.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005654/1.275, allocations: 2.964 MB / 0.7874 GB, free: 75.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004046/1.279, allocations: 2.509 MB / 0.7898 GB, free: 74.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.279, allocations: 7.859 kB / 0.7898 GB, free: 74.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/1.279, allocations: 6.562 kB / 0.7898 GB, free: 74.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.296, allocations: 9.144 MB / 0.7988 GB, free: 71.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/1.296, allocations: 7.938 kB / 0.7988 GB, free: 71.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.298, allocations: 288.4 kB / 0.799 GB, free: 71.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002692/1.3, allocations: 1 MB / 0.8 GB, free: 70.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/1.301, allocations: 22.33 kB / 0.8 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/1.305, allocations: 4.681 MB / 0.8046 GB, free: 66.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007203/1.305, allocations: 1.402 MB / 0.806 GB, free: 64.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008202/1.314, allocations: 5.858 MB / 0.8117 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.315, allocations: 386.1 kB / 0.8121 GB, free: 58.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/1.315, allocations: 15.23 kB / 0.8121 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.317, allocations: 109.4 kB / 0.8122 GB, free: 58.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/1.317, allocations: 113.7 kB / 0.8123 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.317, allocations: 59.69 kB / 0.8123 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003038/1.32, allocations: 2.043 MB / 0.8143 GB, free: 57.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/1.32, allocations: 0 / 0.8143 GB, free: 57.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005673/1.326, allocations: 0.9177 MB / 0.8152 GB, free: 56.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (145): * Single equations (assignments): 138 * 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.007408/1.333, allocations: 7.514 MB / 0.8226 GB, free: 49.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008594/1.342, allocations: 5.324 MB / 0.8278 GB, free: 44.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.342, allocations: 0 / 0.8278 GB, free: 44.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/1.346, allocations: 2.132 MB / 0.8299 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.348, allocations: 359.3 kB / 0.8302 GB, free: 42.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.369, allocations: 9.261 MB / 0.8392 GB, free: 34.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/1.372, allocations: 3.35 MB / 0.8425 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004541/1.376, allocations: 2.016 MB / 0.8445 GB, free: 30.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/1.379, allocations: 1.898 MB / 0.8463 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/1.379, allocations: 4 kB / 0.8463 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3958/1.774, allocations: 71.89 MB / 0.9165 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.775, allocations: 136.9 kB / 0.9167 GB, free: 132 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.246/6.02, allocations: 0 / 0.9167 GB, free: 132 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat