Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Frames.QuaternionFromT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT") translateModel(ModelicaTest.MultiBody.Frames.QuaternionFromT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007866/0.0007866, allocations: 92.69 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 44.83 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002327/0.0002327, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09686, allocations: 62.95 MB / 0.5153 GB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.0009266/0.09783, allocations: 0.6202 MB / 0.5159 GB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.09936, allocations: 1.393 MB / 0.5173 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.09941, allocations: 8 kB / 0.5173 GB, free: 0.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.09945, allocations: 11.92 kB / 0.5173 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.1, allocations: 275.4 kB / 0.5176 GB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.1001, allocations: 0 / 0.5176 GB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.1002, allocations: 115.6 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.1002, allocations: 9.5 kB / 0.5177 GB, free: 356 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.1003, allocations: 67.73 kB / 0.5177 GB, free: 288 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.28/1.38, allocations: 0.656 GB / 1.174 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/1.38, allocations: 4 kB / 1.174 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/1.381, allocations: 83.92 kB / 1.174 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/1.381, allocations: 231.4 kB / 1.174 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/1.381, allocations: 97.2 kB / 1.174 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/1.381, allocations: 295 kB / 1.174 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.381, allocations: 0 / 1.174 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.893e-06/1.381, allocations: 4 kB / 1.174 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.381, allocations: 0 / 1.174 GB, free: 139.1 MB / 0.5105 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.0005164/1.382, allocations: 0.8431 MB / 1.175 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/1.382, allocations: 8.031 kB / 1.175 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/1.382, allocations: 94.72 kB / 1.175 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/1.382, allocations: 351.3 kB / 1.176 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.382, allocations: 7.984 kB / 1.176 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/1.382, allocations: 7.984 kB / 1.176 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/1.382, allocations: 0.5905 MB / 1.176 GB, free: 137 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.382, allocations: 7.938 kB / 1.176 GB, free: 137 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.382, allocations: 11.97 kB / 1.176 GB, free: 137 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/1.383, allocations: 167.9 kB / 1.177 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/1.383, allocations: 375.5 kB / 1.177 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/1.383, allocations: 0.6423 MB / 1.177 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/1.384, allocations: 0.8018 MB / 1.178 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/1.384, allocations: 0.5029 MB / 1.179 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/1.384, allocations: 15.94 kB / 1.179 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.384, allocations: 63.08 kB / 1.179 GB, free: 134 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 1.673e-06/1.384, allocations: 2.734 kB / 1.179 GB, free: 134 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.0008824/1.385, allocations: 1.324 MB / 1.18 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/1.385, allocations: 0.6511 MB / 1.181 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/1.386, allocations: 0.782 MB / 1.182 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/1.386, allocations: 33.69 kB / 1.182 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.386, allocations: 298.1 kB / 1.182 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.386, allocations: 319.2 kB / 1.182 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/1.386, allocations: 3.984 kB / 1.182 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/1.386, allocations: 341.9 kB / 1.182 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/1.386, allocations: 332.8 kB / 1.183 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/1.386, allocations: 0.5096 MB / 1.183 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/1.387, allocations: 419.7 kB / 1.184 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.387, allocations: 0 / 1.184 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006041/1.387, allocations: 0.9448 MB / 1.185 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.387, allocations: 4 kB / 1.185 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.387, allocations: 8 kB / 1.185 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.387, allocations: 8 kB / 1.185 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-06/1.387, allocations: 12.67 kB / 1.185 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.387, allocations: 9.188 kB / 1.185 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/1.387, allocations: 43.52 kB / 1.185 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/1.387, allocations: 31.98 kB / 1.185 GB, free: 127.7 MB / 0.5105 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.0001901/1.388, allocations: 317.4 kB / 1.185 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/1.388, allocations: 90.78 kB / 1.185 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/1.388, allocations: 93.66 kB / 1.185 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001541/1.388, allocations: 175.8 kB / 1.185 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.388, allocations: 9.531 kB / 1.185 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.388, allocations: 4 kB / 1.185 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/1.389, allocations: 0.5359 MB / 1.186 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/1.389, allocations: 12 kB / 1.186 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-06/1.389, allocations: 4 kB / 1.186 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.389, allocations: 8 kB / 1.186 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/1.389, allocations: 19.97 kB / 1.186 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.389, allocations: 11.94 kB / 1.186 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.389, allocations: 11.94 kB / 1.186 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/1.389, allocations: 1.084 MB / 1.187 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/1.389, allocations: 183.6 kB / 1.187 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/1.389, allocations: 11.98 kB / 1.187 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/1.389, allocations: 11.25 kB / 1.187 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/1.389, allocations: 35.86 kB / 1.187 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.39, allocations: 35.97 kB / 1.187 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003812/1.39, allocations: 0.5614 MB / 1.188 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.39, allocations: 0 / 1.188 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003385/1.39, allocations: 51.97 kB / 1.188 GB, free: 124.3 MB / 0.5105 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.0001477/1.39, allocations: 123 kB / 1.188 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005138/1.391, allocations: 0.7952 MB / 1.189 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.391, allocations: 4 kB / 1.189 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/1.391, allocations: 430.5 kB / 1.189 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/1.391, allocations: 31.3 kB / 1.189 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/1.393, allocations: 2.048 MB / 1.191 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/1.393, allocations: 1.03 MB / 1.192 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.393, allocations: 51.41 kB / 1.192 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/1.393, allocations: 0 / 1.192 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.005675/1.399, allocations: 4.682 MB / 1.197 GB, free: 115 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT --alarm=480 > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)