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.001132/0.001132, allocations: 184.3 kB / 15.76 MB, free: 6.363 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.511/1.511, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000852/0.000852, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1845/0.1845, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4918, allocations: 96.15 MB / 0.5727 GB, free: 3.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4921, allocations: 74.41 kB / 0.5728 GB, free: 3.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6324/1.124, allocations: 139.2 MB / 0.7088 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.426e-06/1.125, allocations: 1 kB / 0.7088 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004929/1.125, allocations: 119.2 kB / 0.7089 GB, free: 108.1 MB / 0.4948 GB 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.02417/1.149, allocations: 6.274 MB / 0.715 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.149, allocations: 8.594 kB / 0.715 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007915/1.157, allocations: 1.385 MB / 0.7164 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0299/1.187, allocations: 6.54 MB / 0.7227 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/1.202, allocations: 4.295 MB / 0.7269 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008431/1.203, allocations: 0.5063 MB / 0.7274 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005065/1.208, allocations: 0.6546 MB / 0.7281 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04393/1.252, allocations: 18.14 MB / 0.7458 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002638/1.252, allocations: 34.44 kB / 0.7458 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00265/1.255, allocations: 313 kB / 0.7461 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002781/1.257, allocations: 2.16 MB / 0.7482 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03267/1.29, allocations: 17.49 MB / 0.7653 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08583/1.376, allocations: 61.82 MB / 0.8257 GB, free: 60.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/1.389, allocations: 8.435 MB / 0.8339 GB, free: 53.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02193/1.411, allocations: 11.84 MB / 0.8455 GB, free: 42.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.412, allocations: 60.56 kB / 0.8455 GB, free: 42.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 7.244e-06/1.412, allocations: 0 / 0.8455 GB, free: 42.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.01644/1.428, allocations: 8.553 MB / 0.8539 GB, free: 35.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.428, allocations: 103.1 kB / 0.854 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008078/1.436, allocations: 5.016 MB / 0.8589 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004938/1.437, allocations: 57.7 kB / 0.8589 GB, free: 30.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003122/1.44, allocations: 5.1 MB / 0.8639 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001573/1.441, allocations: 1.198 MB / 0.8651 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/1.442, allocations: 182.3 kB / 0.8653 GB, free: 24.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004605/1.442, allocations: 0.7107 MB / 0.866 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/1.446, allocations: 3.094 MB / 0.869 GB, free: 20.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007087/1.454, allocations: 8.451 MB / 0.8772 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006876/1.46, allocations: 5.181 MB / 0.8823 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/1.461, allocations: 55.94 kB / 0.8823 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02036/1.481, allocations: 11.35 MB / 0.8934 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/1.481, allocations: 91.95 kB / 0.8935 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002907/1.481, allocations: 191.9 kB / 0.8937 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/1.482, allocations: 280 kB / 0.894 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008412/1.49, allocations: 2.074 MB / 0.896 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003919/1.491, allocations: 370.6 kB / 0.8964 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008767/1.499, allocations: 1.291 MB / 0.8976 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002064/1.501, allocations: 0.5464 MB / 0.8981 GB, free: 3.992 MB / 0.5105 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.009468/1.511, allocations: 3.702 MB / 0.9018 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2914/1.802, allocations: 484 kB / 0.9022 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/1.805, allocations: 0.6532 MB / 0.9029 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001918/1.806, allocations: 56.55 kB / 0.9029 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/1.806, allocations: 2.094 kB / 0.9029 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/1.806, allocations: 12.11 kB / 0.9029 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03111/1.837, allocations: 12.66 MB / 0.9153 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/1.837, allocations: 13.22 kB / 0.9153 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.839, allocations: 421.5 kB / 0.9157 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.976e-05/1.839, allocations: 24.38 kB / 0.9157 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.839, allocations: 63.02 kB / 0.9158 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-05/1.839, allocations: 31.34 kB / 0.9158 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-05/1.839, allocations: 28.75 kB / 0.9158 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006928/1.846, allocations: 6.587 MB / 0.9223 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.848, allocations: 0.5928 MB / 0.9229 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.849, allocations: 55.09 kB / 0.9229 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.851, allocations: 127 kB / 0.923 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/1.851, allocations: 177.5 kB / 0.9232 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.852, allocations: 101 kB / 0.9233 GB, free: 105 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006113/1.858, allocations: 3.455 MB / 0.9267 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.21e-07/1.858, allocations: 0 / 0.9267 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009773/1.868, allocations: 1.987 MB / 0.9286 GB, free: 104.6 MB / 0.5105 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.007636/1.875, allocations: 10.13 MB / 0.9385 GB, free: 98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.887, allocations: 7.121 MB / 0.9455 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.277e-05/1.887, allocations: 3.656 kB / 0.9455 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/1.89, allocations: 1.997 MB / 0.9474 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.894, allocations: 0.5665 MB / 0.948 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3992/2.293, allocations: 182.4 MB / 1.126 GB, free: 173.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01417/2.307, allocations: 5.581 MB / 1.132 GB, free: 173.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01168/2.319, allocations: 3.657 MB / 1.135 GB, free: 173 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006774/2.326, allocations: 3.322 MB / 1.138 GB, free: 173 MB / 0.573 GB Notification: Performance of SimCode: time 1.663e-06/2.326, allocations: 0 / 1.138 GB, free: 173 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1956/2.521, allocations: 111.3 MB / 1.247 GB, free: 118.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.522, allocations: 179.3 kB / 1.247 GB, free: 118.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.592/8.113, allocations: 0 / 1.247 GB, free: 118.4 MB / 0.573 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