Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_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.001158/0.001158, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009541/0.0009542, allocations: 86.55 kB / 267.1 MB, free: 9.273 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.3762/0.3762, allocations: 43.46 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.74e-05, allocations: 0 / 425.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 58.85 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.5161, allocations: 96.05 MB / 0.5667 GB, free: 8.879 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5165, allocations: 79.95 kB / 0.5668 GB, free: 8.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6181/1.135, allocations: 139.4 MB / 0.7029 GB, free: 87.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.043e-06/1.135, allocations: 3.469 kB / 0.7029 GB, free: 87.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002303/1.135, allocations: 117.1 kB / 0.703 GB, free: 87.3 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.01864/1.154, allocations: 6.074 MB / 0.7089 GB, free: 84.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.154, allocations: 9.062 kB / 0.7089 GB, free: 84.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005835/1.159, allocations: 1.382 MB / 0.7103 GB, free: 84.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02822/1.188, allocations: 6.539 MB / 0.7167 GB, free: 83.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/1.2, allocations: 4.28 MB / 0.7209 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007353/1.201, allocations: 0.5152 MB / 0.7214 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004447/1.205, allocations: 0.6559 MB / 0.722 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04161/1.247, allocations: 18 MB / 0.7396 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002631/1.247, allocations: 40.48 kB / 0.7396 GB, free: 78.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003674/1.251, allocations: 310.1 kB / 0.7399 GB, free: 78.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/1.254, allocations: 2.16 MB / 0.742 GB, free: 78.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/1.287, allocations: 17.24 MB / 0.7589 GB, free: 73.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08903/1.376, allocations: 61.83 MB / 0.8192 GB, free: 21.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.389, allocations: 8.393 MB / 0.8274 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003746/1.393, allocations: 2.542 MB / 0.8299 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0259/1.419, allocations: 11.85 MB / 0.8415 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/1.419, allocations: 52.56 kB / 0.8415 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 6.663e-06/1.419, allocations: 0 / 0.8415 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.01828/1.437, allocations: 5.782 MB / 0.8472 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/1.437, allocations: 103.1 kB / 0.8473 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.45, allocations: 4.966 MB / 0.8521 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005627/1.451, allocations: 61.7 kB / 0.8522 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3314/1.782, allocations: 5.085 MB / 0.8572 GB, free: 95.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.784, allocations: 1.2 MB / 0.8583 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/1.786, allocations: 180.9 kB / 0.8585 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001271/1.787, allocations: 0.7147 MB / 0.8592 GB, free: 94.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006791/1.794, allocations: 3.034 MB / 0.8622 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009349/1.803, allocations: 8.392 MB / 0.8704 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008401/1.812, allocations: 5.168 MB / 0.8754 GB, free: 87.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002227/1.812, allocations: 56.95 kB / 0.8755 GB, free: 87.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02351/1.836, allocations: 11.23 MB / 0.8864 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004042/1.836, allocations: 86.16 kB / 0.8865 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004721/1.837, allocations: 189.6 kB / 0.8867 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/1.837, allocations: 279.5 kB / 0.887 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00814/1.845, allocations: 2.074 MB / 0.889 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004845/1.846, allocations: 371.4 kB / 0.8893 GB, free: 85.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008821/1.855, allocations: 1.301 MB / 0.8906 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/1.857, allocations: 0.5381 MB / 0.8911 GB, free: 85.53 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 () * 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.003684/1.861, allocations: 0.7736 MB / 0.8919 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/1.862, allocations: 488.9 kB / 0.8924 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/1.865, allocations: 0.6587 MB / 0.893 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001359/1.865, allocations: 57.56 kB / 0.8931 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/1.865, allocations: 4.047 kB / 0.8931 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/1.865, allocations: 12.56 kB / 0.8931 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03823/1.903, allocations: 12.62 MB / 0.9054 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/1.903, allocations: 18.75 kB / 0.9054 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.905, allocations: 421.6 kB / 0.9058 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.406e-05/1.906, allocations: 28.92 kB / 0.9058 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004373/1.906, allocations: 62.31 kB / 0.9059 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.759e-05/1.906, allocations: 29.97 kB / 0.9059 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/1.906, allocations: 24.75 kB / 0.906 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007081/1.913, allocations: 6.542 MB / 0.9123 GB, free: 78.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.915, allocations: 0.5882 MB / 0.9129 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/1.917, allocations: 57.09 kB / 0.913 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.919, allocations: 131.4 kB / 0.9131 GB, free: 77.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/1.92, allocations: 175.6 kB / 0.9133 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/1.92, allocations: 96.3 kB / 0.9134 GB, free: 77.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007942/1.928, allocations: 3.413 MB / 0.9167 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/1.928, allocations: 0 / 0.9167 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01111/1.939, allocations: 1.993 MB / 0.9186 GB, free: 76.16 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 () * 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.009315/1.948, allocations: 10.1 MB / 0.9285 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.962, allocations: 7.039 MB / 0.9354 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.666e-05/1.962, allocations: 3.438 kB / 0.9354 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004091/1.967, allocations: 1.972 MB / 0.9373 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/1.972, allocations: 0.5785 MB / 0.9379 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05064/2.023, allocations: 15.28 MB / 0.9528 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/2.033, allocations: 5.585 MB / 0.9582 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01032/2.044, allocations: 3.651 MB / 0.9618 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007563/2.051, allocations: 3.328 MB / 0.9651 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.724e-06/2.051, allocations: 0 / 0.9651 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5542/2.605, allocations: 112.5 MB / 1.075 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/2.606, allocations: 148.9 kB / 1.075 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.025/8.631, allocations: 5.125 kB / 1.075 GB, free: 88.29 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat