Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.00211/0.002109, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 82.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2974/0.2974, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.388e-05, allocations: 0 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4078, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.6032, allocations: 106.3 MB / 0.5698 GB, free: 8.867 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6035, allocations: 79.45 kB / 0.5699 GB, free: 8.793 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6882/1.292, allocations: 82.2 MB / 0.6501 GB, free: 106.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.044e-06/1.292, allocations: 5 kB / 0.6501 GB, free: 106.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003129/1.292, allocations: 84.17 kB / 0.6502 GB, free: 106.6 MB / 475.1 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.0182/1.31, allocations: 3.99 MB / 0.6541 GB, free: 104.8 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.31, allocations: 9.906 kB / 0.6541 GB, free: 104.8 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01981/1.33, allocations: 2.349 MB / 0.6564 GB, free: 104.5 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02033/1.351, allocations: 5.23 MB / 0.6615 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/1.351, allocations: 139 kB / 0.6617 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002601/1.354, allocations: 250.9 kB / 0.6619 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01774/1.372, allocations: 6.168 MB / 0.6679 GB, free: 103.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02619/1.398, allocations: 9.485 MB / 0.6772 GB, free: 101.1 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/1.398, allocations: 62.98 kB / 0.6773 GB, free: 101.1 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001797/1.4, allocations: 29.78 kB / 0.6773 GB, free: 101.1 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002211/1.402, allocations: 1.025 MB / 0.6783 GB, free: 100.9 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06796/1.47, allocations: 48.14 MB / 0.7253 GB, free: 63.81 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00472/1.475, allocations: 2.601 MB / 0.7278 GB, free: 62.34 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/1.478, allocations: 1.482 MB / 0.7293 GB, free: 61.7 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.479, allocations: 1 MB / 0.7303 GB, free: 60.82 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/1.479, allocations: 50.94 kB / 0.7303 GB, free: 60.76 MB / 475.1 MB Notification: Performance of pre-optimization done (n=159): time 5.851e-06/1.479, allocations: 3.094 kB / 0.7303 GB, free: 60.76 MB / 475.1 MB Notification: Performance of matching and sorting (n=178): time 0.04261/1.522, allocations: 14.12 MB / 0.7441 GB, free: 53.28 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.522, allocations: 145.8 kB / 0.7442 GB, free: 53.11 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005934/1.528, allocations: 3.107 MB / 0.7473 GB, free: 50.39 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004558/1.528, allocations: 29.7 kB / 0.7473 GB, free: 50.35 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/1.531, allocations: 3.183 MB / 0.7504 GB, free: 47.43 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009938/1.532, allocations: 0.6906 MB / 0.7511 GB, free: 46.81 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/1.532, allocations: 0 / 0.7511 GB, free: 46.81 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003493/1.532, allocations: 0.5844 MB / 0.7517 GB, free: 46.3 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003801/1.536, allocations: 1.963 MB / 0.7536 GB, free: 44.54 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/1.542, allocations: 5.898 MB / 0.7593 GB, free: 36.98 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006603/1.549, allocations: 3.383 MB / 0.7626 GB, free: 34.1 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.535e-05/1.549, allocations: 40 kB / 0.7627 GB, free: 34.06 MB / 475.1 MB Notification: Performance of matching and sorting (n=838) (initialization): time 0.02168/1.571, allocations: 7.674 MB / 0.7702 GB, free: 27.48 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/1.571, allocations: 68 kB / 0.7702 GB, free: 27.41 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007705/1.578, allocations: 2.587 MB / 0.7728 GB, free: 25.32 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005708/1.584, allocations: 1.126 MB / 0.7739 GB, free: 24.49 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008258/1.592, allocations: 1.474 MB / 0.7753 GB, free: 23.2 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/1.599, allocations: 4.499 MB / 0.7797 GB, free: 18.93 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006871/1.606, allocations: 287.3 kB / 0.78 GB, free: 18.65 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.608, allocations: 395.9 kB / 0.7803 GB, free: 18.26 MB / 475.1 MB 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.001397/1.609, allocations: 458.5 kB / 0.7808 GB, free: 17.81 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009374/1.618, allocations: 3.31 MB / 0.784 GB, free: 14.48 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.619, allocations: 331.7 kB / 0.7843 GB, free: 14.15 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009112/1.629, allocations: 2.97 MB / 0.7872 GB, free: 11.16 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007636/1.636, allocations: 2.516 MB / 0.7897 GB, free: 8.621 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/1.636, allocations: 4 kB / 0.7897 GB, free: 8.617 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-05/1.636, allocations: 3.984 kB / 0.7897 GB, free: 8.613 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02621/1.663, allocations: 9.149 MB / 0.7986 GB, free: 15.34 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/1.663, allocations: 11.94 kB / 0.7986 GB, free: 15.33 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.665, allocations: 287.5 kB / 0.7989 GB, free: 15.05 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005535/1.671, allocations: 0.9945 MB / 0.7999 GB, free: 14.04 MB / 491.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004278/1.671, allocations: 23.97 kB / 0.7999 GB, free: 14.02 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008808/1.68, allocations: 4.683 MB / 0.8045 GB, free: 9.109 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001352/1.682, allocations: 1.395 MB / 0.8058 GB, free: 7.594 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/1.697, allocations: 5.858 MB / 0.8116 GB, free: 1.562 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.698, allocations: 384.6 kB / 0.8119 GB, free: 1.164 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.7, allocations: 15.98 kB / 0.8119 GB, free: 1.148 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003304/1.703, allocations: 107.8 kB / 0.812 GB, free: 1.043 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006466/1.704, allocations: 117 kB / 0.8122 GB, free: 0.9297 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/1.704, allocations: 55.98 kB / 0.8122 GB, free: 0.875 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.005857/1.71, allocations: 2.043 MB / 0.8142 GB, free: 14.85 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.82e-07/1.71, allocations: 4 kB / 0.8142 GB, free: 14.84 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.008379/1.718, allocations: 0.9257 MB / 0.8151 GB, free: 13.92 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET5836824968.x[3],$STATESET5836824968.x[2],$STATESET5836824968.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.01704/1.735, allocations: 7.525 MB / 0.8225 GB, free: 6.238 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.751, allocations: 5.321 MB / 0.8277 GB, free: 0.8828 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.751, allocations: 0.75 kB / 0.8277 GB, free: 0.8828 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.4042/2.155, allocations: 2.126 MB / 0.8297 GB, free: 125 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/2.159, allocations: 356.3 kB / 0.8301 GB, free: 124.9 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/2.194, allocations: 9.723 MB / 0.8396 GB, free: 123.1 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009031/2.203, allocations: 3.356 MB / 0.8429 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006299/2.209, allocations: 1.943 MB / 0.8448 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of SimCode: time 1.783e-06/2.209, allocations: 0.875 kB / 0.8448 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.58/6.789, allocations: 149 MB / 0.9902 GB, free: 17.95 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat