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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.4 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2486/0.2486, allocations: 46.11 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 73.27 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 62.44 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.003099/0.1416, allocations: 1.001 MB / 480.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.1442, allocations: 1.447 MB / 482 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.1444, allocations: 4 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.101e-05/0.1445, allocations: 19.86 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009151/0.1454, allocations: 275.5 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.326e-06/0.1454, allocations: 0 / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.1457, allocations: 135.5 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.1457, allocations: 9.562 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.1458, allocations: 55.73 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01724/0.1631, allocations: 15.01 MB / 497.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.652e-05/0.1632, allocations: 7.938 kB / 497.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.1635, allocations: 95.89 kB / 497.6 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.1638, allocations: 231.3 kB / 497.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1639, allocations: 209.8 kB / 498.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.1645, allocations: 446 kB / 498.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1645, allocations: 0 / 498.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1645, allocations: 0 / 498.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.1645, allocations: 0 / 498.5 MB, free: 2.531 MB / 366.1 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.001029/0.1656, allocations: 0.9282 MB / 499.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1656, allocations: 8.031 kB / 499.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.11e-05/0.1657, allocations: 70.7 kB / 499.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1659, allocations: 83.72 kB / 499.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.1662, allocations: 379.9 kB / 500 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1662, allocations: 12.36 kB / 500 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1662, allocations: 12.36 kB / 500 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.1669, allocations: 0.5945 MB / 0.4888 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1669, allocations: 0 / 0.4888 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1669, allocations: 7.984 kB / 0.4889 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002322/0.1672, allocations: 171.9 kB / 0.489 GB, free: 104 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.1676, allocations: 375.5 kB / 0.4894 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.1685, allocations: 0.6461 MB / 0.49 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.1693, allocations: 0.7921 MB / 0.4908 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.1698, allocations: 0.5159 MB / 0.4913 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1698, allocations: 8 kB / 0.4913 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.1699, allocations: 74.95 kB / 0.4914 GB, free: 13.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.054e-06/0.1699, allocations: 0 / 0.4914 GB, free: 13.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.001599/0.1715, allocations: 1.327 MB / 0.4927 GB, free: 11.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004563/0.1719, allocations: 0.6554 MB / 0.4933 GB, free: 11.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.173, allocations: 0.7899 MB / 0.4941 GB, free: 10.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.173, allocations: 29.69 kB / 0.4941 GB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.1733, allocations: 298.1 kB / 0.4944 GB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.1737, allocations: 307.2 kB / 0.4947 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1738, allocations: 89.61 kB / 0.4948 GB, free: 9.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.174, allocations: 338 kB / 0.4951 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.1744, allocations: 340.8 kB / 0.4954 GB, free: 8.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.1749, allocations: 0.5092 MB / 0.4959 GB, free: 8.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.1758, allocations: 0.9451 MB / 0.4968 GB, free: 7.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1758, allocations: 0 / 0.4968 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001179/0.177, allocations: 0.9487 MB / 0.4978 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.1771, allocations: 8 kB / 0.4978 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.1771, allocations: 7.984 kB / 0.4978 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.1771, allocations: 8 kB / 0.4978 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-06/0.1771, allocations: 4.75 kB / 0.4978 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1772, allocations: 11.94 kB / 0.4978 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1773, allocations: 51.36 kB / 0.4978 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.1774, allocations: 35.97 kB / 0.4979 GB, free: 6.254 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.1778, allocations: 305.5 kB / 0.4982 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.1779, allocations: 94.8 kB / 0.4983 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.23e-05/0.178, allocations: 89.67 kB / 0.4983 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002299/0.1782, allocations: 171.9 kB / 0.4985 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.1783, allocations: 8 kB / 0.4985 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1783, allocations: 8 kB / 0.4985 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.1791, allocations: 0.532 MB / 0.499 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.1791, allocations: 12 kB / 0.4991 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.1791, allocations: 11.88 kB / 0.4991 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.1791, allocations: 8 kB / 0.4991 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1792, allocations: 19.97 kB / 0.4991 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.1792, allocations: 11.94 kB / 0.4991 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1792, allocations: 7.938 kB / 0.4991 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.1803, allocations: 1.106 MB / 0.5002 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1805, allocations: 171.7 kB / 0.5004 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.1805, allocations: 15.97 kB / 0.5004 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1807, allocations: 7.984 kB / 0.5004 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.1807, allocations: 35.84 kB / 0.5004 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.1808, allocations: 35.98 kB / 0.5005 GB, free: 3.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000607/0.1814, allocations: 0.5575 MB / 0.501 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1814, allocations: 0 / 0.501 GB, free: 2.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004888/0.1819, allocations: 51.97 kB / 0.501 GB, free: 2.836 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/0.1834, allocations: 1.663 MB / 0.5027 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009555/0.1844, allocations: 0.82 MB / 0.5035 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.1844, allocations: 4.062 kB / 0.5035 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2526/0.437, allocations: 423.6 kB / 0.5039 GB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.4376, allocations: 42.23 kB / 0.5039 GB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.441, allocations: 2.261 MB / 0.5061 GB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.4417, allocations: 1.02 MB / 0.5071 GB, free: 42.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.4419, allocations: 76.84 kB / 0.5072 GB, free: 42.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.4422, allocations: 254.7 kB / 0.5074 GB, free: 42.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4422, allocations: 1.188 kB / 0.5074 GB, free: 42.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.4687, allocations: 10.01 MB / 0.5172 GB, free: 40.72 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.4688, allocations: 202.2 kB / 0.5174 GB, free: 40.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.427, allocations: 0 / 0.5174 GB, free: 40.47 MB / 382.1 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/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)