Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",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.002378/0.002378, allocations: 186.2 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.084/2.084, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001204/0.001204, allocations: 92.36 kB / 270.9 MB, free: 8.383 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.5218/0.5218, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006499/0.00065, allocations: 20 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1378, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6235, allocations: 96.14 MB / 0.5727 GB, free: 6.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.6239, allocations: 75.97 kB / 0.5728 GB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9728/1.597, allocations: 139.2 MB / 0.7087 GB, free: 88.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.597, allocations: 0 / 0.7087 GB, free: 88.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003058/1.597, allocations: 119.9 kB / 0.7088 GB, free: 88.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.02488/1.622, allocations: 6.283 MB / 0.715 GB, free: 85.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.622, allocations: 8.562 kB / 0.715 GB, free: 85.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00742/1.63, allocations: 1.386 MB / 0.7163 GB, free: 85.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04935/1.679, allocations: 6.541 MB / 0.7227 GB, free: 84.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01679/1.696, allocations: 4.292 MB / 0.7269 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007326/1.697, allocations: 0.5003 MB / 0.7274 GB, free: 83.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005041/1.702, allocations: 0.656 MB / 0.728 GB, free: 83.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.057/1.759, allocations: 18.15 MB / 0.7458 GB, free: 79.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003629/1.759, allocations: 37.55 kB / 0.7458 GB, free: 79.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004585/1.764, allocations: 311.2 kB / 0.7461 GB, free: 79.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004506/1.768, allocations: 2.157 MB / 0.7482 GB, free: 78.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.049/1.817, allocations: 17.49 MB / 0.7653 GB, free: 73.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1258/1.943, allocations: 61.83 MB / 0.8257 GB, free: 18.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/1.967, allocations: 8.434 MB / 0.8339 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03552/2.002, allocations: 11.85 MB / 0.8455 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.037e-05/2.002, allocations: 56.56 kB / 0.8455 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 8.646e-06/2.002, allocations: 0 / 0.8455 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.03516/2.037, allocations: 8.548 MB / 0.8539 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/2.038, allocations: 99.11 kB / 0.854 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3733/2.411, allocations: 5.012 MB / 0.8589 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/2.412, allocations: 64.23 kB / 0.8589 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005272/2.417, allocations: 4.995 MB / 0.8638 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002353/2.419, allocations: 1.195 MB / 0.865 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/2.421, allocations: 178.8 kB / 0.8651 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001322/2.422, allocations: 0.7174 MB / 0.8658 GB, free: 91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009459/2.432, allocations: 3.092 MB / 0.8689 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/2.445, allocations: 8.458 MB / 0.8771 GB, free: 84.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.458, allocations: 5.177 MB / 0.8822 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003062/2.458, allocations: 55.06 kB / 0.8822 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.0301/2.488, allocations: 11.23 MB / 0.8932 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/2.488, allocations: 89.06 kB / 0.8933 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003873/2.489, allocations: 187.3 kB / 0.8934 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/2.489, allocations: 280.2 kB / 0.8937 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01319/2.502, allocations: 2.077 MB / 0.8957 GB, free: 82.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004537/2.503, allocations: 370.4 kB / 0.8961 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/2.513, allocations: 1.298 MB / 0.8974 GB, free: 81.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00264/2.516, allocations: 0.5392 MB / 0.8979 GB, free: 81.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1135): * Single equations (assignments): 1123 * Array equations: 12 * 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.01138/2.527, allocations: 3.702 MB / 0.9015 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/2.529, allocations: 485.6 kB / 0.902 GB, free: 81.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/2.531, allocations: 0.6564 MB / 0.9026 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001758/2.532, allocations: 57.91 kB / 0.9027 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/2.532, allocations: 1.062 kB / 0.9027 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/2.532, allocations: 11.86 kB / 0.9027 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04095/2.573, allocations: 12.66 MB / 0.915 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/2.573, allocations: 13.62 kB / 0.915 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003803/2.577, allocations: 427.1 kB / 0.9155 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-05/2.577, allocations: 28.64 kB / 0.9155 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006005/2.577, allocations: 60.48 kB / 0.9155 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-05/2.577, allocations: 35.69 kB / 0.9156 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/2.577, allocations: 21.91 kB / 0.9156 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/2.589, allocations: 6.582 MB / 0.922 GB, free: 72.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/2.591, allocations: 0.5901 MB / 0.9226 GB, free: 72.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001817/2.593, allocations: 53 kB / 0.9227 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003868/2.597, allocations: 126.6 kB / 0.9228 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009767/2.598, allocations: 176.5 kB / 0.9229 GB, free: 71.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004422/2.598, allocations: 103.8 kB / 0.923 GB, free: 71.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01013/2.608, allocations: 3.454 MB / 0.9264 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.062e-06/2.608, allocations: 0 / 0.9264 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01142/2.62, allocations: 1.988 MB / 0.9284 GB, free: 70.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.01182/2.632, allocations: 10.13 MB / 0.9383 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01616/2.648, allocations: 7.121 MB / 0.9452 GB, free: 60.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/2.648, allocations: 3.906 kB / 0.9452 GB, free: 60.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004518/2.653, allocations: 1.987 MB / 0.9471 GB, free: 59.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/2.657, allocations: 0.5679 MB / 0.9477 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5765/3.234, allocations: 183.2 MB / 1.127 GB, free: 78.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02075/3.254, allocations: 5.591 MB / 1.132 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01261/3.267, allocations: 3.406 MB / 1.135 GB, free: 77.61 MB / 0.5417 GB Notification: Performance of SimCode: time 2.665e-06/3.267, allocations: 0 / 1.135 GB, free: 77.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.287/8.554, allocations: 133.8 MB / 1.266 GB, free: 113.7 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat