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.001074/0.001074, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 77.59 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002929/0.1085, allocations: 0.9393 MB / 481.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1108, allocations: 1.447 MB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.111, allocations: 4 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.022e-05/0.1111, allocations: 19.86 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009865/0.1121, allocations: 295.2 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.058e-05/0.1121, allocations: 0 / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1123, allocations: 123.5 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.1124, allocations: 5.562 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.1125, allocations: 63.73 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01434/0.1268, allocations: 10.64 MB / 493.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.127, allocations: 7.938 kB / 493.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.1273, allocations: 99.78 kB / 493.8 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.1276, allocations: 215.3 kB / 494 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1277, allocations: 197.8 kB / 494.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.1283, allocations: 442 kB / 494.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1283, allocations: 0 / 494.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1283, allocations: 0 / 494.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1283, allocations: 0 / 494.6 MB, free: 6.691 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.0009217/0.1292, allocations: 0.9283 MB / 495.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1293, allocations: 12.03 kB / 495.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.1293, allocations: 66.7 kB / 495.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1295, allocations: 83.72 kB / 495.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1297, allocations: 383.9 kB / 496.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1297, allocations: 8.359 kB / 496.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1298, allocations: 12.36 kB / 496.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.1303, allocations: 0.5945 MB / 496.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.1304, allocations: 7.938 kB / 496.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1304, allocations: 7.984 kB / 496.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/0.1306, allocations: 167.9 kB / 496.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.131, allocations: 375.5 kB / 497.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008809/0.1319, allocations: 0.6462 MB / 497.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.1325, allocations: 0.7958 MB / 498.7 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.1329, allocations: 0.5082 MB / 499.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.133, allocations: 15.92 kB / 499.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.133, allocations: 63.03 kB / 499.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.013e-06/0.133, allocations: 0 / 499.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.001338/0.1344, allocations: 1.335 MB / 0.4888 GB, free: 104 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.1346, allocations: 0.6477 MB / 0.4895 GB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.1354, allocations: 0.7821 MB / 0.4902 GB, free: 14.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1354, allocations: 29.69 kB / 0.4903 GB, free: 14.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1356, allocations: 298.1 kB / 0.4906 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.1359, allocations: 319.2 kB / 0.4909 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.136, allocations: 85.62 kB / 0.4909 GB, free: 13.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1361, allocations: 341.9 kB / 0.4913 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.1364, allocations: 336.8 kB / 0.4916 GB, free: 13.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.1369, allocations: 0.5062 MB / 0.4921 GB, free: 12.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.1377, allocations: 0.9373 MB / 0.493 GB, free: 11.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1377, allocations: 0 / 0.493 GB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009238/0.1386, allocations: 0.9532 MB / 0.4939 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1386, allocations: 8.188 kB / 0.4939 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1387, allocations: 8 kB / 0.4939 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1387, allocations: 8 kB / 0.494 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-06/0.1387, allocations: 15.94 kB / 0.494 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1387, allocations: 11.92 kB / 0.494 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1388, allocations: 47.36 kB / 0.494 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.1389, 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.0002817/0.1392, allocations: 317.4 kB / 0.4944 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1393, allocations: 94.81 kB / 0.4944 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.064e-05/0.1394, allocations: 93.67 kB / 0.4945 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002061/0.1396, allocations: 175.9 kB / 0.4947 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1396, allocations: 4 kB / 0.4947 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.1396, allocations: 11.98 kB / 0.4947 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.1403, allocations: 0.5242 MB / 0.4952 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1403, allocations: 4 kB / 0.4952 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.1404, allocations: 15.92 kB / 0.4953 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1404, allocations: 4 kB / 0.4953 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.1404, allocations: 15.98 kB / 0.4953 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/0.1404, allocations: 15.92 kB / 0.4953 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.1404, allocations: 15.88 kB / 0.4953 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1414, allocations: 1.091 MB / 0.4964 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1416, allocations: 175.7 kB / 0.4965 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.1416, allocations: 11.98 kB / 0.4965 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1417, allocations: 11.98 kB / 0.4966 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.1418, allocations: 43.83 kB / 0.4966 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.1418, allocations: 31.98 kB / 0.4966 GB, free: 7.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005654/0.1424, allocations: 0.5536 MB / 0.4972 GB, free: 7.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 0 / 0.4972 GB, free: 7.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.1428, allocations: 51.97 kB / 0.4972 GB, free: 7 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.0014/0.1442, allocations: 1.663 MB / 0.4988 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008894/0.1451, allocations: 0.8148 MB / 0.4996 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1452, allocations: 0 / 0.4996 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.1456, allocations: 434 kB / 0.5001 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.146, allocations: 35.66 kB / 0.5001 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.1486, allocations: 2.024 MB / 0.5021 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.1492, allocations: 1.026 MB / 0.5031 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.1495, allocations: 77.03 kB / 0.5031 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.1498, allocations: 255.3 kB / 0.5034 GB, free: 464 kB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1498, allocations: 0 / 0.5034 GB, free: 464 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2143/0.3641, allocations: 10.08 MB / 0.5132 GB, free: 42.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.485, allocations: 6.75 kB / 0.5132 GB, free: 42.26 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)