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.001474/0.001474, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 101.2 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.687e-05, allocations: 8 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.0988, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5207, allocations: 88.03 MB / 0.5904 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.521, allocations: 67.91 kB / 0.5905 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03896/0.56, allocations: 18.94 MB / 0.609 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.56, allocations: 0 / 0.609 GB, free: 14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.56, allocations: 8 kB / 0.609 GB, free: 14 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.0008598/0.5609, allocations: 0.805 MB / 0.6098 GB, free: 13.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.561, allocations: 16.03 kB / 0.6098 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.5611, allocations: 78.88 kB / 0.6099 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.5614, allocations: 355.2 kB / 0.6102 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5614, allocations: 4 kB / 0.6102 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.5615, allocations: 8 kB / 0.6102 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005153/0.562, allocations: 442.2 kB / 0.6106 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.5628, allocations: 0.7167 MB / 0.6113 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5628, allocations: 7.938 kB / 0.6113 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.5629, allocations: 4 kB / 0.6113 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.563, allocations: 63.95 kB / 0.6114 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.5642, allocations: 0.6239 MB / 0.612 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/0.5651, allocations: 0.8786 MB / 0.6129 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.5658, allocations: 0.6006 MB / 0.6135 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.5658, allocations: 13.25 kB / 0.6135 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/0.5659, allocations: 63.2 kB / 0.6135 GB, free: 9.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.679e-06/0.5659, allocations: 4 kB / 0.6135 GB, free: 9.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.001711/0.5676, allocations: 1.148 MB / 0.6147 GB, free: 7.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003141/0.5679, allocations: 0.6423 MB / 0.6153 GB, free: 7.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.5687, allocations: 0.6428 MB / 0.6159 GB, free: 6.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.5687, allocations: 33.7 kB / 0.6159 GB, free: 6.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.5689, allocations: 302.5 kB / 0.6162 GB, free: 6.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.5692, allocations: 313.7 kB / 0.6165 GB, free: 6.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.5692, allocations: 7.938 kB / 0.6165 GB, free: 6.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5694, allocations: 335.3 kB / 0.6169 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.5698, allocations: 437.2 kB / 0.6173 GB, free: 5.367 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.5704, allocations: 0.6024 MB / 0.6179 GB, free: 4.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.5712, allocations: 0.5046 MB / 0.6184 GB, free: 4.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.5712, allocations: 4 kB / 0.6184 GB, free: 4.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001562/0.5728, allocations: 1.147 MB / 0.6195 GB, free: 3.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5728, allocations: 9.875 kB / 0.6195 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5729, allocations: 4.75 kB / 0.6195 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.49e-05/0.5729, allocations: 11.98 kB / 0.6195 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.104e-05/0.5729, allocations: 15.94 kB / 0.6195 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5729, allocations: 11.94 kB / 0.6195 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.5731, allocations: 39.44 kB / 0.6196 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.5732, allocations: 71.95 kB / 0.6196 GB, free: 2.961 MB / 410.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.0001297/0.5733, allocations: 120.2 kB / 0.6198 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00158/0.5749, allocations: 1.155 MB / 0.6209 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.5751, allocations: 96.16 kB / 0.621 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.5752, allocations: 92.22 kB / 0.6211 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001579/0.5754, allocations: 67.97 kB / 0.6211 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5754, allocations: 4 kB / 0.6211 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.5754, allocations: 11.98 kB / 0.6211 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.5764, allocations: 0.5166 MB / 0.6216 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5764, allocations: 8 kB / 0.6217 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.5764, allocations: 11.89 kB / 0.6217 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.5764, allocations: 8 kB / 0.6217 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.5765, allocations: 30.92 kB / 0.6217 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.5765, allocations: 4 kB / 0.6217 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.5765, allocations: 11.94 kB / 0.6217 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.5783, allocations: 1.564 MB / 0.6232 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.5784, allocations: 183.1 kB / 0.6234 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.5785, allocations: 11.98 kB / 0.6234 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5786, allocations: 8 kB / 0.6234 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.5787, allocations: 50.92 kB / 0.6235 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.5788, allocations: 67.97 kB / 0.6236 GB, free: 14.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005297/0.5793, allocations: 0.5254 MB / 0.6241 GB, free: 14.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5793, allocations: 0 / 0.6241 GB, free: 14.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.5798, allocations: 44 kB / 0.6241 GB, free: 14.37 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.002432/0.5823, allocations: 3.493 MB / 0.6275 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008606/0.5831, allocations: 0.7726 MB / 0.6283 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5832, allocations: 7.875 kB / 0.6283 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.5836, allocations: 416.1 kB / 0.6287 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.5839, allocations: 30.73 kB / 0.6287 GB, free: 9.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.586, allocations: 1.694 MB / 0.6304 GB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.5866, allocations: 1.038 MB / 0.6314 GB, free: 6.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.5869, allocations: 73.16 kB / 0.6314 GB, free: 6.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.5872, allocations: 250.7 kB / 0.6317 GB, free: 6.742 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5872, allocations: 0 / 0.6317 GB, free: 6.742 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.6186, allocations: 9.616 MB / 0.6411 GB, free: 13.13 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.6189, allocations: 134.8 kB / 0.6412 GB, free: 12.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.592, allocations: 0 / 0.6412 GB, free: 12.94 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)