Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.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.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000858/0.0008581, allocations: 88.14 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.62e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4006/0.5007, allocations: 88.69 MB / 0.5981 GB, free: 5.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.501, allocations: 71.83 kB / 0.5981 GB, free: 5.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03792/0.5389, allocations: 18.8 MB / 0.6165 GB, free: 4.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.539, allocations: 0 / 0.6165 GB, free: 4.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.5391, allocations: 12 kB / 0.6165 GB, free: 4.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001042/0.5401, allocations: 0.8111 MB / 0.6173 GB, free: 4.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.5402, allocations: 15.97 kB / 0.6173 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.989e-05/0.5403, allocations: 77.31 kB / 0.6174 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.5404, allocations: 82.88 kB / 0.6175 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.5407, allocations: 347.3 kB / 0.6178 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.5408, allocations: 7.984 kB / 0.6178 GB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.5408, allocations: 11.98 kB / 0.6178 GB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/0.5417, allocations: 0.7401 MB / 0.6185 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5417, allocations: 3.938 kB / 0.6185 GB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.5418, allocations: 11.98 kB / 0.6186 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.5419, allocations: 59.95 kB / 0.6186 GB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.5425, allocations: 484.7 kB / 0.6191 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.5436, allocations: 0.6962 MB / 0.6198 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/0.5444, allocations: 0.9062 MB / 0.6206 GB, free: 344 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.545, allocations: 0.6059 MB / 0.6212 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5451, allocations: 11.98 kB / 0.6212 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.5451, allocations: 65.53 kB / 0.6213 GB, free: 15.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 3.497e-06/0.5451, allocations: 0 / 0.6213 GB, free: 15.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.001516/0.5466, allocations: 1.168 MB / 0.6224 GB, free: 14.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002628/0.5469, allocations: 0.6552 MB / 0.6231 GB, free: 13.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.5476, allocations: 0.681 MB / 0.6238 GB, free: 13.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.5476, allocations: 33.69 kB / 0.6238 GB, free: 13.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.5478, allocations: 297.7 kB / 0.6241 GB, free: 12.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.5481, allocations: 322.6 kB / 0.6244 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.5481, allocations: 7.984 kB / 0.6244 GB, free: 12.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5482, allocations: 336.6 kB / 0.6247 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.5487, allocations: 450.6 kB / 0.6251 GB, free: 11.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.5494, allocations: 0.6001 MB / 0.6257 GB, free: 11.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.55, allocations: 0.5187 MB / 0.6262 GB, free: 10.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.55, allocations: 0 / 0.6262 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001401/0.5514, allocations: 1.172 MB / 0.6274 GB, free: 9.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.5514, allocations: 8 kB / 0.6274 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5514, allocations: 7.984 kB / 0.6274 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5515, allocations: 8 kB / 0.6274 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-06/0.5515, allocations: 8 kB / 0.6274 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.5515, allocations: 11.94 kB / 0.6274 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.5517, allocations: 43.42 kB / 0.6275 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.767e-05/0.5518, allocations: 72.7 kB / 0.6275 GB, free: 9.422 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0001281/0.5519, allocations: 136.8 kB / 0.6277 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.552, allocations: 90.75 kB / 0.6277 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.5522, allocations: 91.11 kB / 0.6278 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001584/0.5523, allocations: 67.95 kB / 0.6279 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5524, allocations: 4 kB / 0.6279 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5524, allocations: 11.98 kB / 0.6279 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009433/0.5533, allocations: 0.5703 MB / 0.6285 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.5533, allocations: 7.953 kB / 0.6285 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-06/0.5533, allocations: 11.94 kB / 0.6285 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.5534, allocations: 12 kB / 0.6285 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.5534, allocations: 27.97 kB / 0.6285 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.5534, allocations: 15.92 kB / 0.6285 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5534, allocations: 11.94 kB / 0.6285 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.555, allocations: 1.584 MB / 0.6301 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5552, allocations: 179 kB / 0.6303 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.5552, allocations: 23.97 kB / 0.6303 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5554, allocations: 8 kB / 0.6303 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.5554, allocations: 47.16 kB / 0.6303 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.5555, allocations: 71.95 kB / 0.6304 GB, free: 6.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005766/0.5561, allocations: 0.5587 MB / 0.631 GB, free: 5.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5561, allocations: 0 / 0.631 GB, free: 5.852 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.5566, allocations: 55.95 kB / 0.631 GB, free: 5.797 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 0 * Array equations: 24 * 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.001983/0.5586, allocations: 3.507 MB / 0.6344 GB, free: 2.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008166/0.5594, allocations: 0.789 MB / 0.6352 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5594, allocations: 4.188 kB / 0.6352 GB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.5598, allocations: 429.3 kB / 0.6356 GB, free: 1.082 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.5601, allocations: 35.73 kB / 0.6357 GB, free: 1.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5622, allocations: 1.723 MB / 0.6373 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.5628, allocations: 1.042 MB / 0.6384 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.5631, allocations: 85.14 kB / 0.6384 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.5633, allocations: 253.6 kB / 0.6387 GB, free: 14.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5633, allocations: 0 / 0.6387 GB, free: 14.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.5868, allocations: 9.943 MB / 0.6484 GB, free: 4.234 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.587, allocations: 159.5 kB / 0.6485 GB, free: 4.008 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.738, allocations: 0 / 0.6485 GB, free: 4.008 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)