Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.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.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",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.002188/0.002188, allocations: 178.8 kB / 8.363 MB, free: 0.707 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.061/2.061, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001107/0.001107, allocations: 94.97 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.2961/0.2961, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.025e-05, allocations: 224 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4074, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.5909, allocations: 95.93 MB / 0.5597 GB, free: 3.266 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.5913, allocations: 75.97 kB / 0.5598 GB, free: 3.191 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2059/0.7973, allocations: 46.63 MB / 0.6053 GB, free: 4.121 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7973, allocations: 0 / 0.6053 GB, free: 4.121 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.7975, allocations: 40 kB / 0.6053 GB, free: 4.082 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.008849/0.8063, allocations: 2.319 MB / 0.6076 GB, free: 1.707 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.8064, allocations: 8.031 kB / 0.6076 GB, free: 1.699 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.8202, allocations: 1.779 MB / 0.6093 GB, free: 15.91 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/0.8255, allocations: 1.36 MB / 0.6107 GB, free: 14.51 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.8257, allocations: 76 kB / 0.6107 GB, free: 14.43 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.827, allocations: 143.9 kB / 0.6109 GB, free: 14.29 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01014/0.8372, allocations: 3.733 MB / 0.6145 GB, free: 10.55 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.8536, allocations: 6.072 MB / 0.6204 GB, free: 3.723 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/0.8538, allocations: 47.62 kB / 0.6205 GB, free: 3.676 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006571/0.8545, allocations: 24 kB / 0.6205 GB, free: 3.652 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001588/0.8561, allocations: 0.6994 MB / 0.6212 GB, free: 2.953 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3845/1.241, allocations: 30.46 MB / 0.6509 GB, free: 103.8 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003962/1.245, allocations: 1.995 MB / 0.6529 GB, free: 103.1 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/1.247, allocations: 0.95 MB / 0.6538 GB, free: 103.1 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.247, allocations: 42.95 kB / 0.6539 GB, free: 103.1 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.247, allocations: 46.23 kB / 0.6539 GB, free: 103.1 MB / 475.1 MB Notification: Performance of pre-optimization done (n=96): time 5.06e-06/1.247, allocations: 0 / 0.6539 GB, free: 103.1 MB / 475.1 MB Notification: Performance of matching and sorting (n=117): time 0.03099/1.278, allocations: 8.409 MB / 0.6621 GB, free: 101.2 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/1.278, allocations: 139 kB / 0.6623 GB, free: 101.1 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005382/1.283, allocations: 2.018 MB / 0.6642 GB, free: 100.8 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/1.284, allocations: 26.59 kB / 0.6643 GB, free: 100.8 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002147/1.286, allocations: 2.127 MB / 0.6663 GB, free: 99.53 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008683/1.287, allocations: 467.6 kB / 0.6668 GB, free: 99.28 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005654/1.287, allocations: 0 / 0.6668 GB, free: 99.28 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004712/1.288, allocations: 0.4995 MB / 0.6673 GB, free: 98.96 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003849/1.292, allocations: 1.308 MB / 0.6685 GB, free: 98.94 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/1.298, allocations: 4.198 MB / 0.6726 GB, free: 94.66 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/1.303, allocations: 2.365 MB / 0.6749 GB, free: 94.01 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/1.304, allocations: 30.28 kB / 0.675 GB, free: 94.01 MB / 475.1 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01711/1.321, allocations: 5.058 MB / 0.6799 GB, free: 92.48 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/1.321, allocations: 49.28 kB / 0.68 GB, free: 92.48 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/1.321, allocations: 108.4 kB / 0.6801 GB, free: 92.48 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/1.324, allocations: 467.1 kB / 0.6805 GB, free: 92.39 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008774/1.333, allocations: 1.067 MB / 0.6816 GB, free: 92.27 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/1.34, allocations: 3.16 MB / 0.6846 GB, free: 90.25 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00689/1.347, allocations: 153.9 kB / 0.6848 GB, free: 90.23 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.348, allocations: 291 kB / 0.6851 GB, free: 90.2 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (563): * Single equations (assignments): 559 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001715/1.35, allocations: 362.2 kB / 0.6854 GB, free: 89.89 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006897/1.357, allocations: 1.839 MB / 0.6872 GB, free: 89.24 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.358, allocations: 198.9 kB / 0.6874 GB, free: 89.13 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005655/1.364, allocations: 1.416 MB / 0.6888 GB, free: 88.61 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-05/1.364, allocations: 13.47 kB / 0.6888 GB, free: 88.61 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.364, allocations: 2.781 kB / 0.6888 GB, free: 88.61 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.364, allocations: 7.312 kB / 0.6888 GB, free: 88.61 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/1.381, allocations: 4.003 MB / 0.6927 GB, free: 87.07 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/1.381, allocations: 3.969 kB / 0.6927 GB, free: 87.07 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.384, allocations: 179.7 kB / 0.6929 GB, free: 87.05 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/1.386, allocations: 303.4 kB / 0.6932 GB, free: 86.97 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/1.386, allocations: 3.812 kB / 0.6932 GB, free: 86.97 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00577/1.392, allocations: 2.628 MB / 0.6957 GB, free: 85.2 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.392, allocations: 0 / 0.6957 GB, free: 85.2 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.402, allocations: 3.243 MB / 0.6989 GB, free: 83.73 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.404, allocations: 412.9 kB / 0.6993 GB, free: 83.46 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007963/1.405, allocations: 3.141 kB / 0.6993 GB, free: 83.46 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.408, allocations: 40.83 kB / 0.6993 GB, free: 83.46 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/1.408, allocations: 60.61 kB / 0.6994 GB, free: 83.45 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/1.408, allocations: 27.25 kB / 0.6994 GB, free: 83.44 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.004984/1.413, allocations: 1.318 MB / 0.7007 GB, free: 82.92 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.803e-06/1.413, allocations: 0 / 0.7007 GB, free: 82.92 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.008118/1.422, allocations: 0.5223 MB / 0.7012 GB, free: 82.92 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01112/1.433, allocations: 4.04 MB / 0.7052 GB, free: 80.75 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.443, allocations: 3.146 MB / 0.7082 GB, free: 79 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.443, allocations: 1.938 kB / 0.7082 GB, free: 79 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/1.446, allocations: 0.9024 MB / 0.7091 GB, free: 78.17 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.449, allocations: 161.7 kB / 0.7093 GB, free: 78.02 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/1.476, allocations: 5.589 MB / 0.7147 GB, free: 73.18 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006148/1.482, allocations: 2.238 MB / 0.7169 GB, free: 71.39 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004088/1.487, allocations: 1.079 MB / 0.718 GB, free: 70.39 MB / 475.1 MB Notification: Performance of SimCode: time 1.723e-06/1.487, allocations: 0 / 0.718 GB, free: 70.39 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.612/5.098, allocations: 58.84 MB / 0.7754 GB, free: 15 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat