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.001132/0.001132, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.3 MB / 236 MB, free: 2.957 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.0008385/0.0008388, allocations: 89.38 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1994/0.1994, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.514e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.5026, allocations: 97.52 MB / 0.597 GB, free: 7.699 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5029, allocations: 71.97 kB / 0.5971 GB, free: 7.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6886/1.192, allocations: 141.5 MB / 0.7353 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.365e-06/1.192, allocations: 1.188 kB / 0.7353 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002701/1.192, allocations: 116.8 kB / 0.7354 GB, free: 116.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.02157/1.213, allocations: 6.077 MB / 0.7414 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.214, allocations: 11.16 kB / 0.7414 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00606/1.22, allocations: 1.385 MB / 0.7427 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02695/1.247, allocations: 6.542 MB / 0.7491 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/1.261, allocations: 4.279 MB / 0.7533 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007433/1.262, allocations: 0.5069 MB / 0.7538 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005385/1.267, allocations: 0.6606 MB / 0.7544 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04527/1.312, allocations: 18 MB / 0.772 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/1.313, allocations: 35.75 kB / 0.7721 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/1.315, allocations: 310 kB / 0.7723 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002654/1.317, allocations: 2.15 MB / 0.7744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/1.352, allocations: 17.24 MB / 0.7913 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.452, allocations: 61.83 MB / 0.8517 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/1.467, allocations: 8.398 MB / 0.8599 GB, free: 41.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004233/1.472, allocations: 2.544 MB / 0.8624 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02705/1.499, allocations: 11.83 MB / 0.8739 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.499, allocations: 64.5 kB / 0.874 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 1.099e-05/1.499, allocations: 0 / 0.874 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.01861/1.517, allocations: 5.781 MB / 0.8796 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/1.518, allocations: 107.1 kB / 0.8797 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/1.53, allocations: 4.966 MB / 0.8846 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007608/1.531, allocations: 61.64 kB / 0.8846 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004986/1.536, allocations: 5.093 MB / 0.8896 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002219/1.538, allocations: 1.204 MB / 0.8908 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/1.539, allocations: 176 kB / 0.8909 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001295/1.541, allocations: 0.7107 MB / 0.8916 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005736/1.546, allocations: 3.029 MB / 0.8946 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/1.557, allocations: 8.399 MB / 0.9028 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.569, allocations: 5.174 MB / 0.9079 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004464/1.569, allocations: 52 kB / 0.9079 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.4463/2.016, allocations: 11.22 MB / 0.9189 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002433/2.016, allocations: 88.62 kB / 0.9189 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000595/2.017, allocations: 189.8 kB / 0.9191 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/2.017, allocations: 278.1 kB / 0.9194 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009194/2.026, allocations: 2.07 MB / 0.9214 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/2.027, allocations: 378.1 kB / 0.9218 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.037, allocations: 1.297 MB / 0.923 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/2.04, allocations: 0.5392 MB / 0.9236 GB, free: 110.3 MB / 0.5261 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.00202/2.042, allocations: 0.7697 MB / 0.9243 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/2.043, allocations: 487 kB / 0.9248 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/2.045, allocations: 0.6596 MB / 0.9254 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/2.045, allocations: 60.41 kB / 0.9255 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/2.045, allocations: 4.781 kB / 0.9255 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/2.045, allocations: 14.72 kB / 0.9255 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/2.074, allocations: 12.62 MB / 0.9378 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/2.074, allocations: 11.28 kB / 0.9378 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/2.076, allocations: 428.2 kB / 0.9382 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-05/2.076, allocations: 25.03 kB / 0.9383 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/2.076, allocations: 62.28 kB / 0.9383 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.556e-05/2.076, allocations: 26.92 kB / 0.9384 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.906e-05/2.076, allocations: 25.5 kB / 0.9384 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/2.083, allocations: 6.555 MB / 0.9448 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/2.085, allocations: 0.5902 MB / 0.9454 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000889/2.086, allocations: 57.58 kB / 0.9454 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/2.088, allocations: 125.1 kB / 0.9455 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/2.088, allocations: 180.3 kB / 0.9457 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/2.088, allocations: 98.16 kB / 0.9458 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00698/2.095, allocations: 3.404 MB / 0.9491 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.91e-07/2.095, allocations: 0 / 0.9491 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01192/2.107, allocations: 1.992 MB / 0.9511 GB, free: 104.6 MB / 0.5261 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.008721/2.116, allocations: 10.1 MB / 0.9609 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01205/2.128, allocations: 7.032 MB / 0.9678 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.147e-05/2.128, allocations: 3.969 kB / 0.9678 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00273/2.131, allocations: 1.988 MB / 0.9697 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/2.135, allocations: 0.578 MB / 0.9703 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04856/2.184, allocations: 15.28 MB / 0.9852 GB, free: 91.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0125/2.196, allocations: 5.576 MB / 0.9907 GB, free: 89.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01132/2.207, allocations: 3.658 MB / 0.9942 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008089/2.216, allocations: 3.331 MB / 0.9975 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of SimCode: time 2.034e-06/2.216, allocations: 0 / 0.9975 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/2.406, allocations: 112.5 MB / 1.107 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/2.407, allocations: 148.2 kB / 1.108 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.788/8.194, allocations: 0 / 1.108 GB, free: 9.93 MB / 0.5417 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