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.002202/0.002201, allocations: 185.9 kB / 16.4 MB, free: 5.746 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.126/2.126, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001215/0.001214, allocations: 92.42 kB / 270.9 MB, free: 8.367 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.5498/0.5498, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006482/0.0006482, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1652, allocations: 58.83 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.6577, allocations: 96.05 MB / 0.5726 GB, free: 6.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.658, allocations: 83.89 kB / 0.5727 GB, free: 6.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3035/0.9616, allocations: 71.78 MB / 0.6428 GB, free: 14.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.432e-06/0.9616, allocations: 3.984 kB / 0.6428 GB, free: 14.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001869/0.9618, allocations: 67.94 kB / 0.6429 GB, free: 14.04 MB / 474.7 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.01204/0.9739, allocations: 3.271 MB / 0.646 GB, free: 10.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.974, allocations: 12.03 kB / 0.6461 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003612/0.9776, allocations: 0.7587 MB / 0.6468 GB, free: 9.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02599/1.004, allocations: 3.348 MB / 0.6501 GB, free: 6.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008849/1.013, allocations: 2.157 MB / 0.6522 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/1.013, allocations: 291.5 kB / 0.6525 GB, free: 4.082 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/1.016, allocations: 375.9 kB / 0.6528 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03108/1.047, allocations: 9.607 MB / 0.6622 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001961/1.047, allocations: 27.7 kB / 0.6622 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/1.049, allocations: 175.9 kB / 0.6624 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00283/1.052, allocations: 1.108 MB / 0.6635 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3742/1.427, allocations: 8.901 MB / 0.6722 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0657/1.492, allocations: 33.39 MB / 0.7048 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008371/1.501, allocations: 3.302 MB / 0.708 GB, free: 85.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/1.501, allocations: 13.94 kB / 0.708 GB, free: 85.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/1.501, allocations: 50.73 kB / 0.7081 GB, free: 85.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 5.73e-06/1.501, allocations: 0 / 0.7081 GB, free: 85.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.01294/1.514, allocations: 3.906 MB / 0.7119 GB, free: 84.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.514, allocations: 88.14 kB / 0.712 GB, free: 84.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006601/1.521, allocations: 2.824 MB / 0.7147 GB, free: 84.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003011/1.521, allocations: 48.56 kB / 0.7148 GB, free: 84.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002532/1.524, allocations: 2.734 MB / 0.7174 GB, free: 82.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009469/1.525, allocations: 0.5667 MB / 0.718 GB, free: 82.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/1.525, allocations: 98.25 kB / 0.7181 GB, free: 82.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004155/1.526, allocations: 0.5184 MB / 0.7186 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/1.53, allocations: 1.52 MB / 0.7201 GB, free: 81.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00618/1.536, allocations: 4.485 MB / 0.7244 GB, free: 76.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/1.542, allocations: 2.631 MB / 0.727 GB, free: 75.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.542, allocations: 29.34 kB / 0.727 GB, free: 75.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=646) (initialization): time 0.01697/1.559, allocations: 5.783 MB / 0.7327 GB, free: 73.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/1.56, allocations: 51.67 kB / 0.7327 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002632/1.56, allocations: 109.3 kB / 0.7328 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/1.56, allocations: 154.1 kB / 0.733 GB, free: 73.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007211/1.567, allocations: 1.081 MB / 0.734 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003096/1.568, allocations: 206.1 kB / 0.7342 GB, free: 73.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/1.573, allocations: 0.6905 MB / 0.7349 GB, free: 73.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.575, allocations: 301.3 kB / 0.7352 GB, free: 73.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 480 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (598): * Single equations (assignments): 592 * 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.005942/1.58, allocations: 1.98 MB / 0.7371 GB, free: 72.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006763/1.581, allocations: 260.7 kB / 0.7374 GB, free: 72.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.582, allocations: 338.2 kB / 0.7377 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.155e-05/1.583, allocations: 25.67 kB / 0.7377 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/1.583, allocations: 0.6094 kB / 0.7377 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.583, allocations: 5.891 kB / 0.7377 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.601, allocations: 7.104 MB / 0.7447 GB, free: 69.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.601, allocations: 11.31 kB / 0.7447 GB, free: 69.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.603, allocations: 179.3 kB / 0.7449 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/1.603, allocations: 11.41 kB / 0.7449 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/1.603, allocations: 33.98 kB / 0.7449 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/1.603, allocations: 20.95 kB / 0.7449 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.603, allocations: 10.66 kB / 0.7449 GB, free: 69.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/1.608, allocations: 2.974 MB / 0.7478 GB, free: 67.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.609, allocations: 371.8 kB / 0.7482 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008072/1.61, allocations: 33.78 kB / 0.7482 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.611, allocations: 47.27 kB / 0.7483 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/1.611, allocations: 89.62 kB / 0.7484 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.611, allocations: 46.34 kB / 0.7484 GB, free: 66.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004544/1.616, allocations: 1.997 MB / 0.7503 GB, free: 66.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.616, allocations: 0 / 0.7503 GB, free: 66.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005666/1.622, allocations: 1.047 MB / 0.7514 GB, free: 65.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * 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 (102): * Single equations (assignments): 96 * 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.005038/1.627, allocations: 5.345 MB / 0.7566 GB, free: 61.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007654/1.635, allocations: 3.559 MB / 0.7601 GB, free: 60.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.635, allocations: 0 / 0.7601 GB, free: 60.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.636, allocations: 0.9235 MB / 0.761 GB, free: 60.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/1.638, allocations: 294.5 kB / 0.7612 GB, free: 60.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07633/1.715, allocations: 98.04 MB / 0.857 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006915/1.722, allocations: 3.161 MB / 0.8601 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004323/1.726, allocations: 1.644 MB / 0.8617 GB, free: 372 kB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/1.726, allocations: 0 / 0.8617 GB, free: 372 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.083/5.809, allocations: 68.43 MB / 0.9285 GB, free: 119.1 MB / 0.5105 GB (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