Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008711/0.0008711, allocations: 102.7 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1909/0.1909, allocations: 45.14 MB / 383.7 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.526e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.514, allocations: 97.91 MB / 0.6001 GB, free: 4.746 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5144, allocations: 78.33 kB / 0.6001 GB, free: 4.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3517/0.8661, allocations: 140.3 MB / 0.7371 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8662, allocations: 0 / 0.7371 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003698/0.8666, allocations: 123.9 kB / 0.7372 GB, free: 15.82 MB / 0.5261 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.02092/0.8875, allocations: 6.079 MB / 0.7432 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.8876, allocations: 8.031 kB / 0.7432 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02873/0.9164, allocations: 6.537 MB / 0.7496 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.33/1.246, allocations: 4.282 MB / 0.7537 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/1.247, allocations: 217.7 kB / 0.754 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004862/1.252, allocations: 383.9 kB / 0.7543 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02511/1.277, allocations: 12.75 MB / 0.7668 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/1.314, allocations: 16.88 MB / 0.7833 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.314, allocations: 41.56 kB / 0.7833 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00348/1.317, allocations: 25.09 kB / 0.7833 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002888/1.32, allocations: 2.164 MB / 0.7854 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08487/1.405, allocations: 59.29 MB / 0.8433 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006278/1.412, allocations: 6.133 MB / 0.8493 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/1.414, allocations: 2.047 MB / 0.8513 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/1.416, allocations: 2.271 MB / 0.8535 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.416, allocations: 73.17 kB / 0.8536 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=341): time 7.714e-06/1.416, allocations: 3.938 kB / 0.8536 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=341): time 0.01086/1.427, allocations: 5.074 MB / 0.8586 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/1.427, allocations: 107.2 kB / 0.8587 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008589/1.435, allocations: 4.498 MB / 0.8631 GB, free: 74.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006173/1.436, allocations: 29.7 kB / 0.8631 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003466/1.439, allocations: 5.269 MB / 0.8682 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002007/1.442, allocations: 1.242 MB / 0.8695 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008245/1.442, allocations: 0 / 0.8695 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006059/1.443, allocations: 0.7558 MB / 0.8702 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/1.447, allocations: 3.107 MB / 0.8732 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006336/1.453, allocations: 8.942 MB / 0.882 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007097/1.46, allocations: 5.412 MB / 0.8872 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.461, allocations: 60 kB / 0.8873 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.02176/1.482, allocations: 10.85 MB / 0.8979 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.483, allocations: 97.22 kB / 0.898 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000304/1.483, allocations: 208 kB / 0.8982 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/1.483, allocations: 304 kB / 0.8985 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007886/1.491, allocations: 2.273 MB / 0.9007 GB, free: 38.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002791/1.491, allocations: 412.2 kB / 0.9011 GB, free: 38.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007901/1.499, allocations: 1.142 MB / 0.9022 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002338/1.502, allocations: 0.593 MB / 0.9028 GB, free: 36.33 MB / 0.5261 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.002049/1.504, allocations: 0.6002 MB / 0.9034 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004981/1.509, allocations: 4.056 MB / 0.9073 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/1.509, allocations: 469.8 kB / 0.9078 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/1.511, allocations: 0.6276 MB / 0.9084 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.036e-05/1.511, allocations: 54.91 kB / 0.9084 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.511, allocations: 4 kB / 0.9085 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/1.511, allocations: 15.23 kB / 0.9085 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/1.532, allocations: 12.63 MB / 0.9208 GB, free: 20.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.532, allocations: 16 kB / 0.9208 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.534, allocations: 460.6 kB / 0.9213 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.828e-05/1.534, allocations: 27.95 kB / 0.9213 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/1.534, allocations: 24 kB / 0.9213 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/1.534, allocations: 27.78 kB / 0.9213 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/1.534, allocations: 24.38 kB / 0.9214 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005266/1.539, allocations: 6.529 MB / 0.9277 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.541, allocations: 0.5522 MB / 0.9283 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/1.541, allocations: 19.8 kB / 0.9283 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.543, allocations: 91.66 kB / 0.9284 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/1.543, allocations: 192.6 kB / 0.9286 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.543, allocations: 95.42 kB / 0.9287 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004639/1.548, allocations: 2.934 MB / 0.9315 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.548, allocations: 0 / 0.9315 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008854/1.557, allocations: 1.842 MB / 0.9333 GB, free: 7.867 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.01474/1.572, allocations: 10.52 MB / 0.9436 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.585, allocations: 7.175 MB / 0.9506 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/1.585, allocations: 4 kB / 0.9506 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003225/1.588, allocations: 2.115 MB / 0.9527 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.591, allocations: 369.9 kB / 0.953 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3289/1.92, allocations: 15.25 MB / 0.9679 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01263/1.932, allocations: 5.578 MB / 0.9734 GB, free: 118.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01101/1.943, allocations: 3.963 MB / 0.9772 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007318/1.951, allocations: 3.383 MB / 0.9805 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/1.951, allocations: 3.5 kB / 0.9805 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/2.106, allocations: 105.7 MB / 1.084 GB, free: 68.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/2.106, allocations: 137.7 kB / 1.084 GB, free: 68.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.725/6.831, allocations: 0 / 1.084 GB, free: 68.4 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat