Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.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.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",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.001478/0.001483, allocations: 178.4 kB / 8.362 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.038/2.038, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001113/0.001113, allocations: 89.53 kB / 262.1 MB, free: 13.89 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.2993/0.2993, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.302e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.41, allocations: 58.84 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.5868, allocations: 95.3 MB / 0.5591 GB, free: 3.895 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.5872, allocations: 83.45 kB / 0.5591 GB, free: 3.816 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3509/0.938, allocations: 70.35 MB / 0.6278 GB, free: 12.76 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.9381, allocations: 0 / 0.6278 GB, free: 12.76 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0001576/0.9383, allocations: 64 kB / 0.6279 GB, free: 12.7 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.01102/0.9493, allocations: 3.163 MB / 0.631 GB, free: 9.473 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.9494, allocations: 12.03 kB / 0.631 GB, free: 9.461 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02586/0.9753, allocations: 3.36 MB / 0.6343 GB, free: 6.09 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008401/0.9837, allocations: 2.141 MB / 0.6364 GB, free: 3.902 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.984, allocations: 127.9 kB / 0.6365 GB, free: 3.777 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.9861, allocations: 212 kB / 0.6367 GB, free: 3.57 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3443/1.33, allocations: 6.591 MB / 0.6431 GB, free: 115.8 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02789/1.358, allocations: 8.976 MB / 0.6519 GB, free: 114.4 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/1.359, allocations: 25.08 kB / 0.6519 GB, free: 114.4 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/1.361, allocations: 14.56 kB / 0.6519 GB, free: 114.4 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003005/1.364, allocations: 1.111 MB / 0.653 GB, free: 114.4 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05963/1.423, allocations: 30.06 MB / 0.6824 GB, free: 98 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/1.428, allocations: 2.805 MB / 0.6851 GB, free: 96.29 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.429, allocations: 0.85 MB / 0.6859 GB, free: 96.02 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.447e-05/1.43, allocations: 17.52 kB / 0.686 GB, free: 96.02 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.43, allocations: 45.89 kB / 0.686 GB, free: 95.96 MB / 475.1 MB Notification: Performance of pre-optimization done (n=144): time 4.919e-06/1.43, allocations: 3.281 kB / 0.686 GB, free: 95.96 MB / 475.1 MB Notification: Performance of matching and sorting (n=144): time 0.007045/1.437, allocations: 2.129 MB / 0.6881 GB, free: 95.38 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.437, allocations: 102.2 kB / 0.6882 GB, free: 95.28 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/1.442, allocations: 2.404 MB / 0.6905 GB, free: 94.38 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002972/1.442, allocations: 25.7 kB / 0.6906 GB, free: 94.35 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002271/1.444, allocations: 2.911 MB / 0.6934 GB, free: 92.34 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000922/1.445, allocations: 0.5414 MB / 0.6939 GB, free: 91.95 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004349/1.446, allocations: 3.344 kB / 0.6939 GB, free: 91.95 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004091/1.446, allocations: 0.5338 MB / 0.6945 GB, free: 91.54 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/1.45, allocations: 1.479 MB / 0.6959 GB, free: 91.07 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005428/1.455, allocations: 4.686 MB / 0.7005 GB, free: 86.2 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005534/1.461, allocations: 2.678 MB / 0.7031 GB, free: 85.35 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.461, allocations: 35.56 kB / 0.7031 GB, free: 85.35 MB / 475.1 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01385/1.475, allocations: 5.402 MB / 0.7084 GB, free: 83.55 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/1.475, allocations: 58.56 kB / 0.7085 GB, free: 83.55 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.475, allocations: 120.4 kB / 0.7086 GB, free: 83.55 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/1.475, allocations: 167.5 kB / 0.7087 GB, free: 83.55 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006609/1.482, allocations: 1.161 MB / 0.7099 GB, free: 83.4 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002115/1.482, allocations: 229.4 kB / 0.7101 GB, free: 83.35 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/1.487, allocations: 0.5934 MB / 0.7107 GB, free: 82.98 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.488, allocations: 325.6 kB / 0.711 GB, free: 82.94 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 525 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (645): * Single equations (assignments): 639 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009079/1.489, allocations: 396.7 kB / 0.7113 GB, free: 82.62 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003557/1.493, allocations: 1.739 MB / 0.713 GB, free: 82.04 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/1.493, allocations: 230.1 kB / 0.7133 GB, free: 81.91 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/1.494, allocations: 297 kB / 0.7135 GB, free: 81.76 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/1.494, allocations: 14.56 kB / 0.7136 GB, free: 81.76 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.495, allocations: 3.953 kB / 0.7136 GB, free: 81.75 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.495, allocations: 7.625 kB / 0.7136 GB, free: 81.75 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/1.509, allocations: 5.502 MB / 0.7189 GB, free: 79.54 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.509, allocations: 15.55 kB / 0.719 GB, free: 79.53 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.51, allocations: 166.4 kB / 0.7191 GB, free: 79.39 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/1.51, allocations: 8 kB / 0.7191 GB, free: 79.38 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/1.511, allocations: 15.89 kB / 0.7191 GB, free: 79.37 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/1.511, allocations: 8 kB / 0.7191 GB, free: 79.36 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.511, allocations: 15.94 kB / 0.7192 GB, free: 79.34 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/1.514, allocations: 2.542 MB / 0.7216 GB, free: 76.79 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/1.515, allocations: 316.5 kB / 0.7219 GB, free: 76.46 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/1.515, allocations: 11.14 kB / 0.722 GB, free: 76.45 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.517, allocations: 35.23 kB / 0.722 GB, free: 76.43 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.517, allocations: 74.23 kB / 0.7221 GB, free: 76.38 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.517, allocations: 44 kB / 0.7221 GB, free: 76.33 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.003176/1.52, allocations: 1.562 MB / 0.7236 GB, free: 74.97 MB / 475.1 MB Notification: Performance of sort global known variables: time 8.52e-07/1.52, allocations: 0 / 0.7236 GB, free: 74.97 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005529/1.526, allocations: 0.9781 MB / 0.7246 GB, free: 74 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004466/1.53, allocations: 4.643 MB / 0.7291 GB, free: 69.38 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.006819/1.537, allocations: 3.414 MB / 0.7325 GB, free: 66.31 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.537, allocations: 4 kB / 0.7325 GB, free: 66.31 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.539, allocations: 0.8586 MB / 0.7333 GB, free: 65.54 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.54, allocations: 175.1 kB / 0.7335 GB, free: 65.38 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/1.562, allocations: 7.874 MB / 0.7412 GB, free: 58.46 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005796/1.568, allocations: 3.156 MB / 0.7442 GB, free: 56.03 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003436/1.572, allocations: 1.656 MB / 0.7459 GB, free: 54.49 MB / 475.1 MB Notification: Performance of SimCode: time 1.182e-06/1.572, allocations: 0 / 0.7459 GB, free: 54.49 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.474/5.045, allocations: 65.2 MB / 0.8095 GB, free: 7.227 MB / 491.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat