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.001764/0.001763, allocations: 177 kB / 17.06 MB, free: 5.094 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.399/1.399, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 88.12 kB / 292.1 MB, free: 10.92 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.3865/0.3865, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 61.91 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4515, allocations: 97.6 MB / 0.6049 GB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4517, allocations: 79.94 kB / 0.605 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.602/1.054, allocations: 141.3 MB / 0.7431 GB, free: 89.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.054, allocations: 4 kB / 0.7431 GB, free: 89.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002293/1.054, allocations: 117.1 kB / 0.7432 GB, free: 89.69 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.01933/1.073, allocations: 6.286 MB / 0.7493 GB, free: 86.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.073, allocations: 11.94 kB / 0.7493 GB, free: 86.28 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005804/1.079, allocations: 1.377 MB / 0.7507 GB, free: 85.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02562/1.105, allocations: 6.547 MB / 0.7571 GB, free: 84.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/1.118, allocations: 4.286 MB / 0.7612 GB, free: 81.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000606/1.118, allocations: 0.5054 MB / 0.7617 GB, free: 81.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004565/1.123, allocations: 0.6558 MB / 0.7624 GB, free: 81.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04683/1.17, allocations: 18.14 MB / 0.7801 GB, free: 64.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/1.17, allocations: 35.69 kB / 0.7801 GB, free: 64.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003775/1.174, allocations: 311.8 kB / 0.7804 GB, free: 64.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002895/1.177, allocations: 2.161 MB / 0.7825 GB, free: 62.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03106/1.208, allocations: 17.5 MB / 0.7996 GB, free: 44.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08938/1.297, allocations: 61.83 MB / 0.86 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/1.313, allocations: 8.431 MB / 0.8682 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.364/1.677, allocations: 11.84 MB / 0.8798 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/1.677, allocations: 55.81 kB / 0.8798 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 9.628e-06/1.677, allocations: 0 / 0.8798 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.01724/1.695, allocations: 8.549 MB / 0.8882 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/1.695, allocations: 101.1 kB / 0.8883 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009267/1.704, allocations: 5.015 MB / 0.8932 GB, free: 111 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006003/1.705, allocations: 63.12 kB / 0.8932 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003988/1.709, allocations: 5.094 MB / 0.8982 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/1.711, allocations: 1.207 MB / 0.8994 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007/1.711, allocations: 176 kB / 0.8996 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007207/1.712, allocations: 0.7191 MB / 0.9003 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005847/1.718, allocations: 3.09 MB / 0.9033 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/1.729, allocations: 8.459 MB / 0.9115 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009956/1.739, allocations: 5.188 MB / 0.9166 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003473/1.739, allocations: 54.72 kB / 0.9167 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02858/1.768, allocations: 11.35 MB / 0.9277 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004926/1.768, allocations: 86.31 kB / 0.9278 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006488/1.769, allocations: 190.5 kB / 0.928 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/1.77, allocations: 279.9 kB / 0.9283 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.778, allocations: 2.072 MB / 0.9303 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007655/1.779, allocations: 373.4 kB / 0.9307 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/1.79, allocations: 1.299 MB / 0.9319 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003572/1.793, allocations: 0.5434 MB / 0.9325 GB, free: 93.37 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.01271/1.806, allocations: 3.69 MB / 0.9361 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.807, allocations: 484.4 kB / 0.9365 GB, free: 91.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/1.81, allocations: 0.6599 MB / 0.9372 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/1.81, allocations: 57.11 kB / 0.9372 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-05/1.81, allocations: 0 / 0.9372 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.573e-05/1.81, allocations: 10.92 kB / 0.9372 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03343/1.844, allocations: 12.67 MB / 0.9496 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/1.844, allocations: 13.78 kB / 0.9496 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/1.846, allocations: 413.5 kB / 0.95 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.034e-05/1.846, allocations: 28.94 kB / 0.95 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003973/1.846, allocations: 67.86 kB / 0.9501 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.491e-05/1.846, allocations: 31.19 kB / 0.9501 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/1.846, allocations: 22.75 kB / 0.9502 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007065/1.853, allocations: 6.576 MB / 0.9566 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.855, allocations: 0.5887 MB / 0.9572 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/1.857, allocations: 64.88 kB / 0.9572 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.859, allocations: 125.3 kB / 0.9573 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.86, allocations: 173.8 kB / 0.9575 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.86, allocations: 101 kB / 0.9576 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006542/1.866, allocations: 3.454 MB / 0.961 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/1.866, allocations: 7.812 kB / 0.961 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01037/1.877, allocations: 1.991 MB / 0.9629 GB, free: 79.21 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.008169/1.885, allocations: 10.13 MB / 0.9728 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01168/1.897, allocations: 7.109 MB / 0.9798 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.186e-05/1.897, allocations: 4 kB / 0.9798 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/1.9, allocations: 2.002 MB / 0.9817 GB, free: 61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/1.904, allocations: 0.5739 MB / 0.9823 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.454/2.358, allocations: 182.4 MB / 1.16 GB, free: 57.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01617/2.374, allocations: 5.579 MB / 1.166 GB, free: 57.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01542/2.39, allocations: 3.657 MB / 1.169 GB, free: 57.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008722/2.398, allocations: 3.325 MB / 1.173 GB, free: 57.03 MB / 0.5417 GB Notification: Performance of SimCode: time 1.744e-06/2.398, allocations: 0 / 1.173 GB, free: 57.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5299/2.928, allocations: 111.4 MB / 1.281 GB, free: 117 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/2.929, allocations: 177.9 kB / 1.282 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.654/8.582, allocations: 3.219 kB / 1.282 GB, free: 116.8 MB / 0.5573 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