Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002197/0.002202, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 93.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3066/0.3066, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.807e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4093, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.6017, allocations: 95.39 MB / 0.5592 GB, free: 3.789 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.6021, allocations: 79.45 kB / 0.5592 GB, free: 3.715 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9057/1.508, allocations: 136.5 MB / 0.6925 GB, free: 103.5 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.395e-06/1.508, allocations: 3.938 kB / 0.6925 GB, free: 103.5 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000278/1.508, allocations: 117.3 kB / 0.6926 GB, free: 103.5 MB / 475.1 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.02269/1.531, allocations: 6.075 MB / 0.6986 GB, free: 100.2 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.531, allocations: 10.75 kB / 0.6986 GB, free: 100.2 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04718/1.578, allocations: 6.537 MB / 0.705 GB, free: 98.65 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/1.594, allocations: 4.28 MB / 0.7091 GB, free: 96.21 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/1.595, allocations: 217.3 kB / 0.7094 GB, free: 96.21 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004788/1.6, allocations: 386.3 kB / 0.7097 GB, free: 96.21 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03008/1.63, allocations: 12.75 MB / 0.7222 GB, free: 85.18 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04806/1.678, allocations: 16.89 MB / 0.7387 GB, free: 67.53 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003308/1.678, allocations: 31.69 kB / 0.7387 GB, free: 67.5 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004676/1.683, allocations: 31.94 kB / 0.7387 GB, free: 67.47 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004556/1.688, allocations: 2.161 MB / 0.7408 GB, free: 65.31 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/1.811, allocations: 59.3 MB / 0.7987 GB, free: 4.867 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/1.822, allocations: 6.135 MB / 0.8047 GB, free: 14.28 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005569/1.827, allocations: 2.05 MB / 0.8067 GB, free: 12.22 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/1.831, allocations: 2.282 MB / 0.809 GB, free: 9.566 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.258e-05/1.831, allocations: 68.5 kB / 0.809 GB, free: 9.488 MB / 491.1 MB Notification: Performance of pre-optimization done (n=341): time 9.047e-06/1.831, allocations: 0 / 0.809 GB, free: 9.488 MB / 491.1 MB Notification: Performance of matching and sorting (n=341): time 0.02099/1.852, allocations: 5.077 MB / 0.814 GB, free: 4.371 MB / 491.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/1.852, allocations: 99.11 kB / 0.8141 GB, free: 4.254 MB / 491.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01361/1.866, allocations: 4.504 MB / 0.8185 GB, free: 15.75 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0006858/1.867, allocations: 29.7 kB / 0.8185 GB, free: 15.72 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.006224/1.873, allocations: 5.225 MB / 0.8236 GB, free: 10.42 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002555/1.875, allocations: 1.249 MB / 0.8248 GB, free: 9.152 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/1.877, allocations: 0 / 0.8248 GB, free: 9.152 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.001578/1.878, allocations: 0.7566 MB / 0.8256 GB, free: 8.387 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009491/1.888, allocations: 3.101 MB / 0.8286 GB, free: 5.281 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3704/2.258, allocations: 8.945 MB / 0.8373 GB, free: 115.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/2.272, allocations: 5.411 MB / 0.8426 GB, free: 115 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000388/2.273, allocations: 59.55 kB / 0.8427 GB, free: 115 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.03334/2.306, allocations: 10.75 MB / 0.8532 GB, free: 114.1 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/2.306, allocations: 100.1 kB / 0.8533 GB, free: 114.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004428/2.307, allocations: 208 kB / 0.8535 GB, free: 114.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/2.307, allocations: 306.9 kB / 0.8538 GB, free: 114.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/2.322, allocations: 2.279 MB / 0.856 GB, free: 113.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00043/2.322, allocations: 415.6 kB / 0.8564 GB, free: 113.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/2.332, allocations: 1.139 MB / 0.8575 GB, free: 113.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002526/2.335, allocations: 0.589 MB / 0.8581 GB, free: 113.6 MB / 0.4952 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.003311/2.338, allocations: 0.6021 MB / 0.8587 GB, free: 113.3 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00914/2.348, allocations: 4.053 MB / 0.8626 GB, free: 112.9 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/2.349, allocations: 467.8 kB / 0.8631 GB, free: 112.7 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/2.351, allocations: 0.6298 MB / 0.8637 GB, free: 112.6 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/2.351, allocations: 58.86 kB / 0.8637 GB, free: 112.6 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/2.351, allocations: 5.703 kB / 0.8637 GB, free: 112.6 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/2.351, allocations: 15.3 kB / 0.8638 GB, free: 112.6 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03255/2.384, allocations: 12.63 MB / 0.8761 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/2.384, allocations: 10.31 kB / 0.8761 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00378/2.388, allocations: 461.8 kB / 0.8765 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.242e-05/2.388, allocations: 23.69 kB / 0.8766 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003319/2.388, allocations: 26.55 kB / 0.8766 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.768e-05/2.388, allocations: 31.27 kB / 0.8766 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-05/2.388, allocations: 20.7 kB / 0.8766 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009479/2.398, allocations: 6.527 MB / 0.883 GB, free: 106 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/2.399, allocations: 0.5491 MB / 0.8835 GB, free: 105.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/2.4, allocations: 20.88 kB / 0.8836 GB, free: 105.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/2.403, allocations: 91.61 kB / 0.8837 GB, free: 105.7 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008078/2.404, allocations: 186.4 kB / 0.8838 GB, free: 105.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003317/2.405, allocations: 99.42 kB / 0.8839 GB, free: 105.6 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008209/2.413, allocations: 2.94 MB / 0.8868 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.42e-07/2.413, allocations: 2.531 kB / 0.8868 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01206/2.425, allocations: 1.836 MB / 0.8886 GB, free: 104.2 MB / 0.4952 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.01203/2.437, allocations: 9.941 MB / 0.8983 GB, free: 96.78 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01574/2.453, allocations: 7.172 MB / 0.9053 GB, free: 94.49 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/2.453, allocations: 2.844 kB / 0.9053 GB, free: 94.49 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004534/2.457, allocations: 2.115 MB / 0.9074 GB, free: 93.82 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/2.461, allocations: 374.2 kB / 0.9077 GB, free: 93.63 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/2.511, allocations: 16.09 MB / 0.9234 GB, free: 81.66 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01288/2.524, allocations: 5.59 MB / 0.9289 GB, free: 77.49 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008374/2.533, allocations: 3.456 MB / 0.9323 GB, free: 74.28 MB / 0.4952 GB Notification: Performance of SimCode: time 1.583e-06/2.533, allocations: 0 / 0.9323 GB, free: 74.28 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.963/7.496, allocations: 131.8 MB / 1.061 GB, free: 119.5 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat