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.0009062/0.0009063, allocations: 97.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009482/0.0009482, allocations: 200.3 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2425/0.2425, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 63.46 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.001344/0.1493, allocations: 0.6274 MB / 482.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1516, allocations: 1.405 MB / 483.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.1517, allocations: 8 kB / 483.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.898e-05/0.1518, allocations: 15.86 kB / 483.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008309/0.1526, allocations: 263.5 kB / 483.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.462e-06/0.1526, allocations: 0 / 483.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1528, allocations: 127.7 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.1529, allocations: 9.562 kB / 484 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.153, allocations: 71.73 kB / 484 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.652/1.805, allocations: 0.5352 GB / 1.008 GB, free: 95.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/1.805, allocations: 4 kB / 1.008 GB, free: 95.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/1.805, allocations: 87.92 kB / 1.008 GB, free: 95.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/1.806, allocations: 231.3 kB / 1.008 GB, free: 95.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/1.806, allocations: 93.27 kB / 1.008 GB, free: 95.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/1.806, allocations: 300.5 kB / 1.009 GB, free: 95.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.806, allocations: 0 / 1.009 GB, free: 95.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.275e-06/1.806, allocations: 0 / 1.009 GB, free: 95.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.806, allocations: 0 / 1.009 GB, free: 95.09 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.0007399/1.807, allocations: 0.8464 MB / 1.009 GB, free: 94.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.807, allocations: 8.031 kB / 1.009 GB, free: 94.19 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/1.807, allocations: 78.44 kB / 1.009 GB, free: 94.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/1.807, allocations: 86.73 kB / 1.01 GB, free: 94.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/1.807, allocations: 351.2 kB / 1.01 GB, free: 93.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/1.807, allocations: 7.984 kB / 1.01 GB, free: 93.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/1.807, allocations: 11.98 kB / 1.01 GB, free: 93.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/1.808, allocations: 0.5947 MB / 1.01 GB, free: 92.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.808, allocations: 0 / 1.01 GB, free: 92.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.808, allocations: 7.984 kB / 1.011 GB, free: 92.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/1.808, allocations: 167.9 kB / 1.011 GB, free: 92.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/1.808, allocations: 375.5 kB / 1.011 GB, free: 92.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/1.809, allocations: 0.6521 MB / 1.012 GB, free: 91.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/1.809, allocations: 0.7895 MB / 1.012 GB, free: 90.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/1.809, allocations: 11.97 kB / 1.012 GB, free: 90.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.809, allocations: 67.17 kB / 1.013 GB, free: 90.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 2.966e-06/1.809, allocations: 1.078 kB / 1.013 GB, free: 90.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.001647/1.811, allocations: 3.2 MB / 1.016 GB, free: 86.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/1.811, allocations: 0.6431 MB / 1.016 GB, free: 86.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/1.812, allocations: 0.7827 MB / 1.017 GB, free: 85.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.812, allocations: 36.42 kB / 1.017 GB, free: 85.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/1.812, allocations: 302.1 kB / 1.017 GB, free: 84.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/1.812, allocations: 315.2 kB / 1.018 GB, free: 84.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/1.812, allocations: 3.984 kB / 1.018 GB, free: 84.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/1.813, allocations: 341.9 kB / 1.018 GB, free: 84.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/1.813, allocations: 336.8 kB / 1.018 GB, free: 83.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/1.813, allocations: 0.4984 MB / 1.019 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/1.813, allocations: 415.7 kB / 1.019 GB, free: 83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.813, allocations: 0 / 1.019 GB, free: 83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007272/1.814, allocations: 0.9486 MB / 1.02 GB, free: 82.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.814, allocations: 8 kB / 1.02 GB, free: 82.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.814, allocations: 4.75 kB / 1.02 GB, free: 82.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.814, allocations: 8 kB / 1.02 GB, free: 82.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-06/1.814, allocations: 12 kB / 1.02 GB, free: 82.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/1.814, allocations: 17.19 kB / 1.02 GB, free: 82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/1.814, allocations: 43.45 kB / 1.02 GB, free: 81.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/1.815, allocations: 28 kB / 1.02 GB, free: 81.93 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.0003382/1.815, allocations: 317.5 kB / 1.021 GB, free: 81.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/1.815, allocations: 90.78 kB / 1.021 GB, free: 81.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.885e-05/1.815, allocations: 93.67 kB / 1.021 GB, free: 81.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002009/1.815, allocations: 175.8 kB / 1.021 GB, free: 81.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.815, allocations: 8 kB / 1.021 GB, free: 81.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.815, allocations: 11.98 kB / 1.021 GB, free: 81.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/1.816, allocations: 0.5281 MB / 1.021 GB, free: 80.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.816, allocations: 4 kB / 1.021 GB, free: 80.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-06/1.816, allocations: 17.56 kB / 1.021 GB, free: 80.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.816, allocations: 8 kB / 1.021 GB, free: 80.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.816, allocations: 16.86 kB / 1.021 GB, free: 80.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/1.816, allocations: 11.98 kB / 1.021 GB, free: 80.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.816, allocations: 7.938 kB / 1.021 GB, free: 80.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/1.817, allocations: 1.367 MB / 1.023 GB, free: 78.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.817, allocations: 171.7 kB / 1.023 GB, free: 78.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/1.818, allocations: 15.97 kB / 1.023 GB, free: 78.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.818, allocations: 15.48 kB / 1.023 GB, free: 78.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/1.818, allocations: 39.86 kB / 1.023 GB, free: 78.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.818, allocations: 31.98 kB / 1.023 GB, free: 78.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004944/1.818, allocations: 0.5575 MB / 1.024 GB, free: 78.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.806e-06/1.818, allocations: 0 / 1.024 GB, free: 78.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004554/1.819, allocations: 55.8 kB / 1.024 GB, free: 78.1 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.001658/1.82, allocations: 3.503 MB / 1.027 GB, free: 74.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006965/1.821, allocations: 0.7913 MB / 1.028 GB, free: 73.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.821, allocations: 0 / 1.028 GB, free: 73.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/1.821, allocations: 426.5 kB / 1.028 GB, free: 73.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/1.822, allocations: 47.41 kB / 1.028 GB, free: 73.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/1.824, allocations: 2.167 MB / 1.03 GB, free: 70.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/1.824, allocations: 1.042 MB / 1.031 GB, free: 69.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002428/1.824, allocations: 81.02 kB / 1.032 GB, free: 69.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/1.825, allocations: 247.3 kB / 1.032 GB, free: 69.49 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/1.825, allocations: 8 kB / 1.032 GB, free: 69.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/1.844, allocations: 9.768 MB / 1.041 GB, free: 59.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/1.845, allocations: 181.7 kB / 1.041 GB, free: 59.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/3.711, allocations: 0 / 1.041 GB, free: 59.59 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)