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.001281/0.001281, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001755, allocations: 76.16 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1277, allocations: 62.46 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002857/0.1306, allocations: 0.9815 MB / 480.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1333, allocations: 1.467 MB / 481.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1335, allocations: 4 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1336, allocations: 15.92 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.1347, allocations: 286.9 kB / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.266e-05/0.1347, allocations: 0 / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.135, allocations: 123.6 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.497e-05/0.135, allocations: 13.56 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.1351, allocations: 67.61 kB / 482.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01969/0.1548, allocations: 15.01 MB / 497.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.155, allocations: 4 kB / 497.3 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.1553, allocations: 99.78 kB / 497.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.1555, allocations: 235.3 kB / 497.7 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1557, allocations: 197.8 kB / 497.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.1562, allocations: 442 kB / 498.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1562, allocations: 0 / 498.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1563, allocations: 0 / 498.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.1563, allocations: 4 kB / 498.3 MB, free: 2.652 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.001036/0.1573, allocations: 0.9205 MB / 499.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.1574, allocations: 8.875 kB / 499.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.1575, allocations: 70.69 kB / 499.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1576, allocations: 87.72 kB / 499.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.158, allocations: 387.8 kB / 499.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.158, allocations: 8.359 kB / 499.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.158, allocations: 8.359 kB / 499.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.1587, allocations: 0.5946 MB / 0.4887 GB, free: 412 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1587, allocations: 3.938 kB / 0.4887 GB, free: 408 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.1587, allocations: 7.984 kB / 0.4887 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.159, allocations: 167.9 kB / 0.4888 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.1594, allocations: 379.5 kB / 0.4892 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1605, allocations: 0.6461 MB / 0.4898 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.1612, allocations: 0.792 MB / 0.4906 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.1616, allocations: 0.5083 MB / 0.4911 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1617, allocations: 19.88 kB / 0.4911 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.1617, allocations: 71.02 kB / 0.4912 GB, free: 13.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.164e-06/0.1617, allocations: 0 / 0.4912 GB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.001442/0.1632, allocations: 1.327 MB / 0.4925 GB, free: 12.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003499/0.1636, allocations: 0.651 MB / 0.4931 GB, free: 11.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.1644, allocations: 0.7782 MB / 0.4939 GB, free: 10.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.1645, allocations: 33.69 kB / 0.4939 GB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.1647, allocations: 302.1 kB / 0.4942 GB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.1649, allocations: 315.2 kB / 0.4945 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.165, allocations: 81.62 kB / 0.4946 GB, free: 9.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1652, allocations: 338 kB / 0.4949 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.1655, allocations: 344.8 kB / 0.4952 GB, free: 9.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.166, allocations: 0.5023 MB / 0.4957 GB, free: 8.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.1669, allocations: 0.9412 MB / 0.4966 GB, free: 7.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.1669, allocations: 8 kB / 0.4966 GB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009727/0.1679, allocations: 0.9487 MB / 0.4976 GB, free: 6.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1679, allocations: 8 kB / 0.4976 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.1679, allocations: 11.94 kB / 0.4976 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1679, allocations: 4 kB / 0.4976 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-06/0.1679, allocations: 11.94 kB / 0.4976 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.168, allocations: 11.94 kB / 0.4976 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.1681, allocations: 47.36 kB / 0.4976 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.1682, allocations: 32.73 kB / 0.4977 GB, free: 6.379 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.0003105/0.1685, allocations: 313.5 kB / 0.498 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.1686, allocations: 90.81 kB / 0.4981 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.978e-05/0.1687, allocations: 93.66 kB / 0.4982 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002095/0.1689, allocations: 175.9 kB / 0.4983 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.1689, allocations: 8 kB / 0.4983 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1689, allocations: 7.984 kB / 0.4983 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.1697, allocations: 0.5281 MB / 0.4989 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.1697, allocations: 4 kB / 0.4989 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-06/0.1697, allocations: 15.88 kB / 0.4989 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.1698, allocations: 11.98 kB / 0.4989 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1698, allocations: 19.98 kB / 0.4989 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1698, allocations: 4 kB / 0.4989 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.1698, allocations: 15.92 kB / 0.4989 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1709, allocations: 1.091 MB / 0.5 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.171, allocations: 175.7 kB / 0.5002 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.1711, allocations: 15.97 kB / 0.5002 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1712, allocations: 8 kB / 0.5002 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1712, allocations: 43.77 kB / 0.5002 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.1713, allocations: 31.98 kB / 0.5002 GB, free: 3.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.1718, allocations: 0.5536 MB / 0.5008 GB, free: 3.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1718, allocations: 0 / 0.5008 GB, free: 3.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004225/0.1723, allocations: 55.97 kB / 0.5008 GB, free: 2.961 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.001366/0.1737, allocations: 1.667 MB / 0.5025 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00078/0.1744, allocations: 0.7952 MB / 0.5032 GB, free: 404 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1745, allocations: 1.5 kB / 0.5032 GB, free: 404 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2242/0.3987, allocations: 426.6 kB / 0.5037 GB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.3994, allocations: 40.08 kB / 0.5037 GB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.4026, allocations: 2.262 MB / 0.5059 GB, free: 43.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.4033, allocations: 1.033 MB / 0.5069 GB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.4035, allocations: 76.58 kB / 0.507 GB, free: 42.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.4038, allocations: 255.1 kB / 0.5072 GB, free: 42.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4038, allocations: 0 / 0.5072 GB, free: 42.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.4287, allocations: 9.962 MB / 0.517 GB, free: 40.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.429, allocations: 205 kB / 0.5172 GB, free: 40.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.35, allocations: 0 / 0.5172 GB, free: 40.51 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)