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.001052/0.001052, allocations: 93.67 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.001209/0.1313, allocations: 0.6505 MB / 483.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1336, allocations: 1.452 MB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.1337, allocations: 8 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.341e-05/0.1337, allocations: 15.86 kB / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008368/0.1346, allocations: 275.5 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.52e-06/0.1346, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1348, allocations: 135.5 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.1349, allocations: 9.547 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.135, allocations: 55.77 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01717/0.1522, allocations: 15.01 MB / 0.489 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1523, allocations: 4 kB / 0.489 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.1527, allocations: 95.84 kB / 0.4891 GB, free: 2.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.1529, allocations: 239.3 kB / 0.4894 GB, free: 2.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1531, allocations: 227.5 kB / 0.4896 GB, free: 1.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.1536, allocations: 434 kB / 0.49 GB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1536, allocations: 4 kB / 0.49 GB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1536, allocations: 0 / 0.49 GB, free: 1.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.1537, allocations: 0 / 0.49 GB, free: 1.426 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.0009641/0.1546, allocations: 0.8548 MB / 0.4908 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1547, allocations: 8.875 kB / 0.4908 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.904e-05/0.1548, allocations: 62.72 kB / 0.4909 GB, free: 452 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1549, allocations: 83.81 kB / 0.491 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1553, allocations: 392 kB / 0.4914 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1553, allocations: 8.359 kB / 0.4914 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1553, allocations: 8.359 kB / 0.4914 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.156, allocations: 0.5906 MB / 0.4919 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.156, allocations: 4 kB / 0.492 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1561, allocations: 7.984 kB / 0.492 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.1563, allocations: 167.9 kB / 0.4921 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.1567, allocations: 383.4 kB / 0.4925 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1577, allocations: 0.6422 MB / 0.4931 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.1584, allocations: 0.792 MB / 0.4939 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.1589, allocations: 0.516 MB / 0.4944 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1589, allocations: 15.92 kB / 0.4944 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.159, allocations: 70.97 kB / 0.4945 GB, free: 12.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.234e-06/0.159, allocations: 0 / 0.4945 GB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.00138/0.1604, allocations: 1.334 MB / 0.4958 GB, free: 10.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00027/0.1607, allocations: 0.6477 MB / 0.4964 GB, free: 10.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/0.1615, allocations: 0.7821 MB / 0.4972 GB, free: 9.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1615, allocations: 33.69 kB / 0.4972 GB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.1617, allocations: 298.1 kB / 0.4975 GB, free: 8.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.162, allocations: 307.3 kB / 0.4978 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.1621, allocations: 57.67 kB / 0.4978 GB, free: 8.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1622, allocations: 338 kB / 0.4982 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.1626, allocations: 340.8 kB / 0.4985 GB, free: 7.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.163, allocations: 0.5101 MB / 0.499 GB, free: 7.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.1639, allocations: 0.9373 MB / 0.4999 GB, free: 6.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.1639, allocations: 4 kB / 0.4999 GB, free: 6.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009819/0.1649, allocations: 0.9492 MB / 0.5008 GB, free: 5.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1649, allocations: 8.25 kB / 0.5008 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1649, allocations: 8 kB / 0.5008 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.165, allocations: 8 kB / 0.5008 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.662e-06/0.165, allocations: 8 kB / 0.5009 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.165, allocations: 7.938 kB / 0.5009 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1651, allocations: 47.36 kB / 0.5009 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.1652, allocations: 39.95 kB / 0.5009 GB, free: 5.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.0003007/0.1655, allocations: 309.5 kB / 0.5012 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1656, allocations: 98.7 kB / 0.5013 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1657, allocations: 97.67 kB / 0.5014 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002221/0.166, allocations: 175.9 kB / 0.5016 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.166, allocations: 4 kB / 0.5016 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.166, allocations: 8 kB / 0.5016 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/0.1668, allocations: 0.5242 MB / 0.5021 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.1668, allocations: 4 kB / 0.5021 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.1668, allocations: 15.88 kB / 0.5021 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1668, allocations: 8 kB / 0.5021 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1669, allocations: 19.97 kB / 0.5022 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.1669, allocations: 7.938 kB / 0.5022 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.1669, allocations: 8 kB / 0.5022 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1679, allocations: 1.099 MB / 0.5033 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1681, allocations: 175.6 kB / 0.5034 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.1681, allocations: 19.91 kB / 0.5034 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1682, allocations: 11.98 kB / 0.5035 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1683, allocations: 39.83 kB / 0.5035 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.1683, allocations: 32 kB / 0.5035 GB, free: 2.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005857/0.1689, allocations: 0.5575 MB / 0.5041 GB, free: 1.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1689, allocations: 0 / 0.5041 GB, free: 1.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.1694, allocations: 51.97 kB / 0.5041 GB, free: 1.832 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.00148/0.1709, allocations: 1.667 MB / 0.5057 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.261/0.4319, allocations: 0.7889 MB / 0.5065 GB, free: 40.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.432, allocations: 1.656 kB / 0.5065 GB, free: 40.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.4326, allocations: 430 kB / 0.5069 GB, free: 40.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4336, allocations: 41.72 kB / 0.507 GB, free: 40.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.4365, allocations: 2.264 MB / 0.5092 GB, free: 39.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.4371, allocations: 1.024 MB / 0.5102 GB, free: 39.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.4374, allocations: 77.36 kB / 0.5102 GB, free: 39.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.4376, allocations: 255.3 kB / 0.5105 GB, free: 39.17 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4376, allocations: 0 / 0.5105 GB, free: 39.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.4605, allocations: 9.808 MB / 0.5201 GB, free: 37.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.4607, allocations: 211.4 kB / 0.5203 GB, free: 36.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.29, allocations: 0 / 0.5203 GB, free: 36.92 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)