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.001593/0.001597, allocations: 188.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001132, allocations: 110.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3002/0.3002, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1506, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.1043/0.2549, allocations: 39.69 MB / 0.5176 GB, free: 1.426 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3857/0.6407, allocations: 9.851 MB / 0.5272 GB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009593/0.6503, allocations: 198.6 kB / 0.5274 GB, free: 9.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0079/0.6583, allocations: 1.955 MB / 0.5293 GB, free: 9.785 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02475/0.6831, allocations: 5.748 MB / 0.5349 GB, free: 9.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.6873, allocations: 0.593 MB / 0.5355 GB, free: 9.312 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006575/0.6939, allocations: 2.368 MB / 0.5378 GB, free: 8.801 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008644/0.7026, allocations: 4.03 MB / 0.5418 GB, free: 7.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.7061, allocations: 1.029 MB / 0.5428 GB, free: 7.156 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.7096, allocations: 1.299 MB / 0.544 GB, free: 6.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.7108, allocations: 135.4 kB / 0.5442 GB, free: 6.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.7143, allocations: 0.935 MB / 0.5451 GB, free: 6.438 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.7173, allocations: 1.61 MB / 0.5466 GB, free: 5.934 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.7192, allocations: 0.8409 MB / 0.5475 GB, free: 5.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008876/0.7281, allocations: 5.475 MB / 0.5528 GB, free: 2.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.7282, allocations: 0 / 0.5528 GB, free: 2.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7282, allocations: 0 / 0.5528 GB, free: 2.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002772/0.7285, allocations: 0 / 0.5528 GB, free: 2.793 MB / 362.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.01225/0.7407, allocations: 4.069 MB / 0.5568 GB, free: 316 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.7408, allocations: 7.781 kB / 0.5568 GB, free: 316 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002463/0.7433, allocations: 0.7277 MB / 0.5575 GB, free: 96 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.7585, allocations: 2.315 MB / 0.5598 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008679/0.7673, allocations: 2.728 MB / 0.5624 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.7677, allocations: 242 kB / 0.5627 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/0.7702, allocations: 421.1 kB / 0.5631 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03117/0.8014, allocations: 10.25 MB / 0.5731 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.8017, allocations: 47.59 kB / 0.5731 GB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/0.8029, allocations: 152.9 kB / 0.5733 GB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005278/0.8082, allocations: 1.877 MB / 0.5751 GB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/0.838, allocations: 8.685 MB / 0.5836 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07731/0.9154, allocations: 39.92 MB / 0.6226 GB, free: 448 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/0.9329, allocations: 3.862 MB / 0.6263 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/0.9536, allocations: 7.985 MB / 0.6341 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.9537, allocations: 55.56 kB / 0.6342 GB, free: 4.078 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 5.56e-06/0.9537, allocations: 0 / 0.6342 GB, free: 4.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=169): time 0.06734/1.021, allocations: 14.91 MB / 0.6487 GB, free: 4.949 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001832/1.023, allocations: 1.612 MB / 0.6503 GB, free: 3.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009244/1.032, allocations: 4.154 MB / 0.6544 GB, free: 14.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004801/1.033, allocations: 48.44 kB / 0.6544 GB, free: 14.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003635/1.036, allocations: 3.098 MB / 0.6574 GB, free: 11.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.038, allocations: 0.6848 MB / 0.6581 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006951/1.038, allocations: 116 kB / 0.6582 GB, free: 11.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005491/1.039, allocations: 0.571 MB / 0.6588 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006063/1.045, allocations: 2.069 MB / 0.6608 GB, free: 8.402 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/1.055, allocations: 5.869 MB / 0.6665 GB, free: 0.625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008841/1.064, allocations: 3.403 MB / 0.6699 GB, free: 13.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.065, allocations: 40 kB / 0.6699 GB, free: 13.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.03795/1.102, allocations: 9.323 MB / 0.679 GB, free: 3.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/1.103, allocations: 60 kB / 0.6791 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02108/1.124, allocations: 3.617 MB / 0.6826 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02048/1.144, allocations: 2.293 MB / 0.6848 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008425/1.153, allocations: 1.404 MB / 0.6862 GB, free: 12.44 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/1.17, allocations: 6.648 MB / 0.6927 GB, free: 5.516 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007166/1.177, allocations: 411.4 kB / 0.6931 GB, free: 5.113 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.178, allocations: 383.6 kB / 0.6935 GB, free: 4.742 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 753 * 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.006004/1.185, allocations: 2.099 MB / 0.6955 GB, free: 2.629 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009943/1.186, allocations: 347.5 kB / 0.6958 GB, free: 2.285 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.198, allocations: 3.075 MB / 0.6988 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01005/1.208, allocations: 2.582 MB / 0.7014 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.208, allocations: 4 kB / 0.7014 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/1.208, allocations: 7.969 kB / 0.7014 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03148/1.24, allocations: 9.692 MB / 0.7108 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/1.24, allocations: 7.938 kB / 0.7108 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002678/1.242, allocations: 275.5 kB / 0.7111 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006189/1.249, allocations: 1.065 MB / 0.7121 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/1.249, allocations: 43.97 kB / 0.7122 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.34/1.589, allocations: 4.883 MB / 0.717 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00125/1.59, allocations: 1.471 MB / 0.7184 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.606, allocations: 5.956 MB / 0.7242 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.608, allocations: 417.1 kB / 0.7246 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009522/1.609, allocations: 42.41 kB / 0.7246 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003037/1.612, allocations: 138.7 kB / 0.7248 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006109/1.612, allocations: 114.2 kB / 0.7249 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/1.613, allocations: 52.8 kB / 0.7249 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007334/1.62, allocations: 2.601 MB / 0.7275 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/1.62, allocations: 0 / 0.7275 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007675/1.628, allocations: 1.074 MB / 0.7285 GB, free: 171.7 MB / 0.5105 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 (136): * Single equations (assignments): 129 * 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.01615/1.644, allocations: 7.497 MB / 0.7358 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01471/1.659, allocations: 5.572 MB / 0.7413 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.659, allocations: 3.062 kB / 0.7413 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006357/1.665, allocations: 2.124 MB / 0.7434 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/1.669, allocations: 426.7 kB / 0.7438 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1132/1.782, allocations: 129.5 MB / 0.8703 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006019/1.788, allocations: 3.35 MB / 0.8736 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004058/1.792, allocations: 1.932 MB / 0.8754 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/1.792, allocations: 4 kB / 0.8754 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.237/7.029, allocations: 151.4 MB / 1.023 GB, free: 82.67 MB / 0.5105 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