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.001816/0.001816, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.2 MB / 245 MB, free: 5.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 99.31 kB / 297.2 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3954/0.3954, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 11.98 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4052, allocations: 63.24 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.5206, allocations: 88.76 MB / 0.6059 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.5208, allocations: 75.94 kB / 0.606 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03895/0.5598, allocations: 18.84 MB / 0.6244 GB, free: 11.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5598, allocations: 0 / 0.6244 GB, free: 11.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.5599, allocations: 8 kB / 0.6244 GB, free: 11.71 MB / 442.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.001031/0.5609, allocations: 0.9282 MB / 0.6253 GB, free: 10.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.561, allocations: 12.03 kB / 0.6253 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.618e-05/0.5611, allocations: 70.5 kB / 0.6254 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.5612, allocations: 86.78 kB / 0.6255 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.5615, allocations: 347.3 kB / 0.6258 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.5615, allocations: 11.98 kB / 0.6258 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.5616, allocations: 19.97 kB / 0.6259 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.5624, allocations: 0.7433 MB / 0.6266 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5624, allocations: 0 / 0.6266 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.5625, allocations: 11.98 kB / 0.6266 GB, free: 9.305 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.5626, allocations: 63.89 kB / 0.6267 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.5631, allocations: 487.3 kB / 0.6271 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.5642, allocations: 0.6968 MB / 0.6278 GB, free: 7.949 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/0.565, allocations: 0.894 MB / 0.6287 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.565, allocations: 12.03 kB / 0.6287 GB, free: 6.824 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.5651, allocations: 67.06 kB / 0.6287 GB, free: 6.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.685e-06/0.5651, allocations: 4 kB / 0.6288 GB, free: 6.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.00271/0.5678, allocations: 3.536 MB / 0.6322 GB, free: 2.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002264/0.568, allocations: 0.6476 MB / 0.6328 GB, free: 1.961 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.5687, allocations: 0.6836 MB / 0.6335 GB, free: 1.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.5688, allocations: 41.69 kB / 0.6335 GB, free: 1.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.569, allocations: 298.1 kB / 0.6338 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.5692, allocations: 311.3 kB / 0.6341 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.5693, allocations: 7.984 kB / 0.6341 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.5694, allocations: 334 kB / 0.6345 GB, free: 284 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.5699, allocations: 448.7 kB / 0.6349 GB, free: 15.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/0.5704, allocations: 0.6076 MB / 0.6355 GB, free: 15.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.571, allocations: 0.5074 MB / 0.636 GB, free: 14.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.571, allocations: 3.953 kB / 0.636 GB, free: 14.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001364/0.5724, allocations: 1.175 MB / 0.6371 GB, free: 13.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.5724, allocations: 8.75 kB / 0.6371 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5724, allocations: 8 kB / 0.6371 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5724, allocations: 8 kB / 0.6371 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-06/0.5725, allocations: 15.88 kB / 0.6372 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5725, allocations: 11.98 kB / 0.6372 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.5726, allocations: 47.36 kB / 0.6372 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/0.5727, allocations: 67.97 kB / 0.6373 GB, free: 13.3 MB / 458.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 () * Number of clocked 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.0003336/0.5731, allocations: 317.5 kB / 0.6376 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.5732, allocations: 98.73 kB / 0.6377 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.5733, allocations: 93.67 kB / 0.6378 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001512/0.5735, allocations: 63.95 kB / 0.6378 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.5735, allocations: 12 kB / 0.6378 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5735, allocations: 4 kB / 0.6378 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.5744, allocations: 0.5826 MB / 0.6384 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5744, allocations: 4 kB / 0.6384 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.5744, allocations: 11.89 kB / 0.6384 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.5745, allocations: 8 kB / 0.6384 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.5745, allocations: 31.97 kB / 0.6385 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.5745, allocations: 7.938 kB / 0.6385 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5745, allocations: 8 kB / 0.6385 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.5761, allocations: 1.596 MB / 0.64 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5763, allocations: 171.7 kB / 0.6402 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.5764, allocations: 19.97 kB / 0.6402 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5765, allocations: 11.98 kB / 0.6402 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.5766, allocations: 47.86 kB / 0.6403 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.06e-05/0.5767, allocations: 71.95 kB / 0.6403 GB, free: 9.832 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006222/0.5773, allocations: 0.5614 MB / 0.6409 GB, free: 9.277 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5773, allocations: 0 / 0.6409 GB, free: 9.277 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.5778, allocations: 55.91 kB / 0.6409 GB, free: 9.223 MB / 458.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 () * Number of clocked 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.001924/0.5797, allocations: 3.515 MB / 0.6444 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007797/0.5805, allocations: 0.7876 MB / 0.6451 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5805, allocations: 0 / 0.6451 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.5809, allocations: 442.2 kB / 0.6456 GB, free: 4.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.5812, allocations: 35.3 kB / 0.6456 GB, free: 4.266 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.5838, allocations: 2.182 MB / 0.6477 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.5845, allocations: 1.042 MB / 0.6488 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.5848, allocations: 73.03 kB / 0.6488 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.5851, allocations: 251.3 kB / 0.6491 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5851, allocations: 0 / 0.6491 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.6076, allocations: 9.757 MB / 0.6586 GB, free: 6.938 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.608, allocations: 170.9 kB / 0.6588 GB, free: 6.703 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/2.83, allocations: 0 / 0.6588 GB, free: 6.703 MB / 474.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)