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.001264/0.001264, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 74.36 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002874/0.121, allocations: 0.9364 MB / 481.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.1236, allocations: 1.443 MB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1237, allocations: 4 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.567e-05/0.1239, allocations: 15.86 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.1251, allocations: 303.2 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.268e-05/0.1252, allocations: 0 / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.1254, allocations: 123.5 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.719e-05/0.1255, allocations: 5.562 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1256, allocations: 59.67 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01735/0.143, allocations: 10.63 MB / 493.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.1433, allocations: 4 kB / 493.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.1438, allocations: 103.8 kB / 493.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.1441, allocations: 215.3 kB / 494 MB, free: 7.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.1445, allocations: 201.8 kB / 494.1 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.1453, allocations: 442 kB / 494.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1454, allocations: 0 / 494.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1454, allocations: 0 / 494.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.1454, allocations: 0 / 494.6 MB, free: 6.703 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.001477/0.1469, allocations: 0.9244 MB / 495.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.147, allocations: 12.03 kB / 495.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1471, allocations: 62.72 kB / 495.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.1473, allocations: 87.72 kB / 495.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.1477, allocations: 387.8 kB / 496 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1478, allocations: 8.359 kB / 496.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.1478, allocations: 12.36 kB / 496.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.149, allocations: 0.5907 MB / 496.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.149, allocations: 7.938 kB / 496.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.149, allocations: 7.984 kB / 496.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003876/0.1494, allocations: 167.9 kB / 496.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006076/0.1501, allocations: 379.5 kB / 497.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1517, allocations: 0.6461 MB / 497.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1528, allocations: 0.792 MB / 498.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.1535, allocations: 0.5083 MB / 499.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1535, allocations: 11.92 kB / 499.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.517e-05/0.1536, allocations: 70.97 kB / 499.2 MB, free: 1.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.498e-06/0.1537, allocations: 0 / 499.2 MB, free: 1.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.00223/0.1559, allocations: 1.335 MB / 0.4888 GB, free: 116 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006054/0.1565, allocations: 0.6516 MB / 0.4895 GB, free: 15.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.158, allocations: 0.7782 MB / 0.4902 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.158, allocations: 29.69 kB / 0.4903 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.1584, allocations: 302.1 kB / 0.4905 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.1588, allocations: 311.2 kB / 0.4908 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.159, allocations: 85.62 kB / 0.4909 GB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1592, allocations: 337.9 kB / 0.4912 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.1598, allocations: 340.8 kB / 0.4916 GB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/0.1606, allocations: 0.5115 MB / 0.4921 GB, free: 12.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.1621, allocations: 0.9373 MB / 0.493 GB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.1621, allocations: 0 / 0.493 GB, free: 11.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00195/0.1641, allocations: 0.9604 MB / 0.4939 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.1641, allocations: 8 kB / 0.4939 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.1641, allocations: 8 kB / 0.4939 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.1642, allocations: 8.75 kB / 0.4939 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.178e-05/0.1642, allocations: 11.94 kB / 0.494 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.1642, allocations: 15.92 kB / 0.494 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1645, allocations: 47.36 kB / 0.494 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/0.1646, allocations: 31.98 kB / 0.4941 GB, free: 10.42 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.0007046/0.1653, allocations: 309.5 kB / 0.4943 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.1656, allocations: 90.81 kB / 0.4944 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.1658, allocations: 89.67 kB / 0.4945 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004066/0.1662, allocations: 171.9 kB / 0.4947 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.1662, allocations: 8 kB / 0.4947 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.1663, allocations: 15.98 kB / 0.4947 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.1678, allocations: 0.5281 MB / 0.4952 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.1678, allocations: 4 kB / 0.4952 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.1678, allocations: 19.86 kB / 0.4952 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.1679, allocations: 4 kB / 0.4952 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.1679, allocations: 15.98 kB / 0.4953 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/0.1679, allocations: 11.98 kB / 0.4953 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/0.168, allocations: 11.94 kB / 0.4953 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.1701, allocations: 1.099 MB / 0.4964 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.1703, allocations: 171.7 kB / 0.4965 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.1704, allocations: 11.98 kB / 0.4965 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1707, allocations: 11.98 kB / 0.4965 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.1708, allocations: 43.78 kB / 0.4966 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.272e-05/0.1709, allocations: 35.97 kB / 0.4966 GB, free: 7.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.1721, allocations: 0.5536 MB / 0.4972 GB, free: 7.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1721, allocations: 0 / 0.4972 GB, free: 7.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007881/0.1729, allocations: 51.97 kB / 0.4972 GB, free: 7.008 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.002922/0.1759, allocations: 1.659 MB / 0.4988 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.1775, allocations: 0.8198 MB / 0.4996 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1775, allocations: 0 / 0.4996 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.1783, allocations: 429.2 kB / 0.5 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.179, allocations: 45.92 kB / 0.5001 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.1832, allocations: 2.017 MB / 0.5021 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000965/0.1842, allocations: 1.026 MB / 0.5031 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000527/0.1847, allocations: 81.02 kB / 0.5031 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.1853, allocations: 255.3 kB / 0.5034 GB, free: 472 kB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1853, allocations: 0 / 0.5034 GB, free: 472 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2104/0.3957, allocations: 10.09 MB / 0.5132 GB, free: 42.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.01, allocations: 3.141 kB / 0.5132 GB, free: 42.29 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)