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.0009492/0.0009491, allocations: 99.86 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009251/0.0009252, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.256/0.256, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.001052/0.126, allocations: 0.6118 MB / 482.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1278, allocations: 1.409 MB / 483.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.1279, allocations: 4 kB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.128, allocations: 15.92 kB / 483.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.1287, allocations: 275.4 kB / 483.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.1287, allocations: 0 / 483.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1289, allocations: 111.6 kB / 484 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.129, allocations: 13.55 kB / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.129, allocations: 71.69 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.713/1.842, allocations: 0.656 GB / 1.129 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.842, allocations: 4 kB / 1.129 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/1.842, allocations: 95.89 kB / 1.129 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/1.842, allocations: 225.8 kB / 1.129 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/1.842, allocations: 96.55 kB / 1.129 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/1.843, allocations: 291.5 kB / 1.129 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.843, allocations: 0 / 1.129 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.665e-06/1.843, allocations: 0 / 1.129 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.843, allocations: 0 / 1.129 GB, free: 174.2 MB / 0.5137 GB 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.0006149/1.843, allocations: 0.8506 MB / 1.13 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.843, allocations: 12.03 kB / 1.13 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/1.843, allocations: 66.52 kB / 1.13 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/1.843, allocations: 87.23 kB / 1.13 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.844, allocations: 361 kB / 1.131 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/1.844, allocations: 9.062 kB / 1.131 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/1.844, allocations: 11.98 kB / 1.131 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/1.844, allocations: 0.5828 MB / 1.131 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.844, allocations: 7.938 kB / 1.131 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.844, allocations: 4.859 kB / 1.131 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/1.844, allocations: 171.9 kB / 1.132 GB, free: 171.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/1.845, allocations: 375.5 kB / 1.132 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/1.845, allocations: 0.6462 MB / 1.133 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/1.846, allocations: 0.7959 MB / 1.133 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/1.846, allocations: 0.5033 MB / 1.134 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/1.846, allocations: 15.92 kB / 1.134 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.846, allocations: 63.09 kB / 1.134 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 1.794e-06/1.846, allocations: 0 / 1.134 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.001048/1.847, allocations: 1.328 MB / 1.135 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.847, allocations: 0.6477 MB / 1.136 GB, free: 167 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/1.848, allocations: 0.7897 MB / 1.137 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/1.848, allocations: 33.69 kB / 1.137 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/1.848, allocations: 299.2 kB / 1.137 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/1.848, allocations: 307.3 kB / 1.137 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/1.848, allocations: 3.984 kB / 1.137 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/1.848, allocations: 345.9 kB / 1.138 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/1.849, allocations: 336.8 kB / 1.138 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/1.849, allocations: 0.5096 MB / 1.138 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/1.849, allocations: 415.7 kB / 1.139 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.849, allocations: 0 / 1.139 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006913/1.85, allocations: 0.9448 MB / 1.14 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.85, allocations: 10.34 kB / 1.14 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.85, allocations: 4 kB / 1.14 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.85, allocations: 8 kB / 1.14 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-06/1.85, allocations: 15.56 kB / 1.14 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.85, allocations: 12.64 kB / 1.14 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/1.85, allocations: 44.19 kB / 1.14 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/1.85, allocations: 35.98 kB / 1.14 GB, free: 162.8 MB / 0.5137 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002435/1.85, allocations: 317.5 kB / 1.14 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/1.851, allocations: 86.78 kB / 1.14 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/1.851, allocations: 89.67 kB / 1.14 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001752/1.851, allocations: 175.9 kB / 1.14 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.851, allocations: 8 kB / 1.14 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.851, allocations: 7.984 kB / 1.14 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/1.851, allocations: 0.532 MB / 1.141 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.851, allocations: 4 kB / 1.141 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-06/1.851, allocations: 19.92 kB / 1.141 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.852, allocations: 8 kB / 1.141 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.852, allocations: 15.98 kB / 1.141 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.852, allocations: 11.98 kB / 1.141 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.852, allocations: 11.88 kB / 1.141 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/1.852, allocations: 1.084 MB / 1.142 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/1.852, allocations: 175.6 kB / 1.142 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/1.852, allocations: 18.61 kB / 1.142 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.37e-05/1.853, allocations: 11.98 kB / 1.142 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/1.853, allocations: 43.78 kB / 1.142 GB, free: 160 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/1.853, allocations: 31.98 kB / 1.142 GB, free: 160 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004295/1.853, allocations: 0.5614 MB / 1.143 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.853, allocations: 4 kB / 1.143 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003824/1.853, allocations: 55.97 kB / 1.143 GB, free: 159.4 MB / 0.5137 GB 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 (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.0009703/1.854, allocations: 1.648 MB / 1.145 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006001/1.855, allocations: 0.8002 MB / 1.145 GB, free: 156.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.855, allocations: 0 / 1.145 GB, free: 156.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/1.855, allocations: 432 kB / 1.146 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/1.856, allocations: 39.27 kB / 1.146 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.858, allocations: 2.173 MB / 1.148 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/1.858, allocations: 1.023 MB / 1.149 GB, free: 153 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002377/1.858, allocations: 77.02 kB / 1.149 GB, free: 153 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.858, allocations: 259.3 kB / 1.149 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/1.858, allocations: 0 / 1.149 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/1.877, allocations: 9.78 MB / 1.159 GB, free: 143 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.877, allocations: 206.8 kB / 1.159 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/3.79, allocations: 0 / 1.159 GB, free: 142.8 MB / 0.5137 GB (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)