Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009582, allocations: 95.12 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.377e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/0.5347, allocations: 96.85 MB / 0.5893 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.535, allocations: 75.95 kB / 0.5894 GB, free: 15.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.576/1.111, allocations: 138.7 MB / 0.7248 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.394e-06/1.111, allocations: 7.766 kB / 0.7248 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00024/1.111, allocations: 120.8 kB / 0.7249 GB, free: 118.1 MB / 0.5105 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.01625/1.128, allocations: 6.064 MB / 0.7309 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.128, allocations: 12.95 kB / 0.7309 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0281/1.156, allocations: 6.539 MB / 0.7373 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/1.167, allocations: 4.292 MB / 0.7415 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/1.167, allocations: 215.5 kB / 0.7417 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003479/1.171, allocations: 383.5 kB / 0.742 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02001/1.191, allocations: 12.76 MB / 0.7545 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03562/1.226, allocations: 16.89 MB / 0.771 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/1.227, allocations: 34.75 kB / 0.771 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001962/1.229, allocations: 25.25 kB / 0.771 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002317/1.231, allocations: 2.164 MB / 0.7731 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07091/1.302, allocations: 59.29 MB / 0.831 GB, free: 69.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/1.307, allocations: 6.138 MB / 0.837 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/1.309, allocations: 2.044 MB / 0.839 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.311, allocations: 2.281 MB / 0.8413 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.311, allocations: 63.19 kB / 0.8413 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=341): time 6.152e-06/1.311, allocations: 224 / 0.8413 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=341): time 0.009214/1.32, allocations: 5.076 MB / 0.8463 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.32, allocations: 114.8 kB / 0.8464 GB, free: 54.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005809/1.326, allocations: 4.502 MB / 0.8508 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002821/1.326, allocations: 25.7 kB / 0.8508 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002156/1.328, allocations: 5.263 MB / 0.856 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.329, allocations: 1.244 MB / 0.8572 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/1.33, allocations: 0 / 0.8572 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004173/1.33, allocations: 0.757 MB / 0.8579 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.333, allocations: 3.105 MB / 0.8609 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005176/1.339, allocations: 8.946 MB / 0.8697 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006079/1.345, allocations: 5.405 MB / 0.875 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.345, allocations: 64 kB / 0.875 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.01721/1.362, allocations: 10.85 MB / 0.8856 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.362, allocations: 96 kB / 0.8857 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/1.362, allocations: 212.2 kB / 0.8859 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/1.363, allocations: 307.9 kB / 0.8862 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007459/1.37, allocations: 2.277 MB / 0.8884 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002359/1.37, allocations: 406.5 kB / 0.8888 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/1.377, allocations: 1.131 MB / 0.8899 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.378, allocations: 0.5898 MB / 0.8905 GB, free: 9.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 949 * 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 (1249): * Single equations (assignments): 1237 * 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.001291/1.38, allocations: 0.6137 MB / 0.8911 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004564/1.384, allocations: 4.051 MB / 0.895 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005697/1.385, allocations: 469.6 kB / 0.8955 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/1.386, allocations: 0.6279 MB / 0.8961 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.387e-05/1.386, allocations: 55.98 kB / 0.8962 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-05/1.386, allocations: 0 / 0.8962 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/1.387, allocations: 15.89 kB / 0.8962 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/1.408, allocations: 12.63 MB / 0.9085 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/1.408, allocations: 15.98 kB / 0.9085 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/1.41, allocations: 458.1 kB / 0.909 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-05/1.41, allocations: 31.98 kB / 0.909 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.41, allocations: 27.98 kB / 0.909 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.223e-05/1.41, allocations: 34.31 kB / 0.9091 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/1.41, allocations: 19.92 kB / 0.9091 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2906/1.701, allocations: 6.523 MB / 0.9154 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/1.703, allocations: 0.5463 MB / 0.916 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/1.705, allocations: 19.98 kB / 0.916 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/1.708, allocations: 91.67 kB / 0.9161 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005715/1.708, allocations: 185.1 kB / 0.9163 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/1.708, allocations: 103.4 kB / 0.9164 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007373/1.716, allocations: 2.934 MB / 0.9192 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.71e-07/1.716, allocations: 0 / 0.9192 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01138/1.727, allocations: 1.84 MB / 0.921 GB, free: 113.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * 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.0104/1.738, allocations: 9.94 MB / 0.9307 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.75, allocations: 7.181 MB / 0.9377 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/1.75, allocations: 0 / 0.9377 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/1.753, allocations: 2.123 MB / 0.9398 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.756, allocations: 361.9 kB / 0.9402 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0345/1.79, allocations: 15.26 MB / 0.9551 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005757/1.796, allocations: 5.578 MB / 0.9605 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00904/1.805, allocations: 3.968 MB / 0.9644 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00518/1.81, allocations: 3.376 MB / 0.9677 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/1.81, allocations: 0 / 0.9677 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/1.986, allocations: 105.7 MB / 1.071 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.986, allocations: 129.6 kB / 1.071 GB, free: 35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.891/7.877, allocations: 0 / 1.071 GB, free: 35 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat