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.001528/0.001528, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.00172, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 75.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3605, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002242/0.3628, allocations: 0.9379 MB / 0.5316 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3651, allocations: 1.452 MB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.3651, allocations: 7.562 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.481e-05/0.3652, allocations: 21.17 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007785/0.366, allocations: 292.8 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.366, allocations: 0 / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3662, allocations: 120.1 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.3662, allocations: 7.625 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.3663, allocations: 65.89 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/0.3809, allocations: 10.63 MB / 0.5438 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-05/0.381, allocations: 4 kB / 0.5439 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.3813, allocations: 91.91 kB / 0.5439 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3816, allocations: 223.3 kB / 0.5442 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3817, allocations: 197.8 kB / 0.5443 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.3822, allocations: 457.3 kB / 0.5448 GB, free: 3.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3822, allocations: 0 / 0.5448 GB, free: 3.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.3822, allocations: 0 / 0.5448 GB, free: 3.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.3823, allocations: 7.938 kB / 0.5448 GB, free: 3.176 MB / 398.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.0009435/0.3832, allocations: 0.9474 MB / 0.5457 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3833, allocations: 12.03 kB / 0.5457 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.054e-05/0.3833, allocations: 66.7 kB / 0.5458 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.3834, allocations: 92.28 kB / 0.5459 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3838, allocations: 392.5 kB / 0.5462 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3838, allocations: 4.375 kB / 0.5463 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3838, allocations: 12.36 kB / 0.5463 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.3845, allocations: 0.5908 MB / 0.5468 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3845, allocations: 4 kB / 0.5468 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3845, allocations: 7.922 kB / 0.5469 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002237/0.3847, allocations: 171.9 kB / 0.547 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.3851, allocations: 383.5 kB / 0.5474 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.386, allocations: 0.6463 MB / 0.548 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.3868, allocations: 0.7999 MB / 0.5488 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.3872, allocations: 0.5003 MB / 0.5493 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3873, allocations: 11.98 kB / 0.5493 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.3873, allocations: 70.97 kB / 0.5494 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.044e-06/0.3873, allocations: 0 / 0.5494 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001569/0.3889, allocations: 1.339 MB / 0.5507 GB, free: 12.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003365/0.3892, allocations: 0.6471 MB / 0.5513 GB, free: 11.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/0.3901, allocations: 0.7821 MB / 0.5521 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3901, allocations: 33.62 kB / 0.5521 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.3904, allocations: 298.1 kB / 0.5524 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.3906, allocations: 333.1 kB / 0.5527 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3907, allocations: 85.62 kB / 0.5528 GB, free: 10.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3909, allocations: 337.9 kB / 0.5531 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.3912, allocations: 340.7 kB / 0.5534 GB, free: 9.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.3917, allocations: 0.5062 MB / 0.5539 GB, free: 8.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.3927, allocations: 0.9454 MB / 0.5548 GB, free: 7.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.3927, allocations: 4 kB / 0.5548 GB, free: 7.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001021/0.3937, allocations: 0.9648 MB / 0.5558 GB, free: 6.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3938, allocations: 8 kB / 0.5558 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3938, allocations: 4 kB / 0.5558 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3938, allocations: 8 kB / 0.5558 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-06/0.3938, allocations: 8 kB / 0.5558 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.3938, allocations: 11.92 kB / 0.5558 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.394, allocations: 47.55 kB / 0.5559 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.394, allocations: 28 kB / 0.5559 GB, free: 6.836 MB / 414.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.0003114/0.3943, allocations: 318.2 kB / 0.5562 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.3945, allocations: 99.33 kB / 0.5563 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.3946, allocations: 93.67 kB / 0.5564 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002169/0.3948, allocations: 171.9 kB / 0.5566 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3948, allocations: 11.98 kB / 0.5566 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3948, allocations: 8 kB / 0.5566 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.3956, allocations: 0.5282 MB / 0.5571 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3956, allocations: 7.938 kB / 0.5571 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.3956, allocations: 19.86 kB / 0.5571 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3956, allocations: 4 kB / 0.5571 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3957, allocations: 15.98 kB / 0.5571 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.3957, allocations: 19.92 kB / 0.5572 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.3957, allocations: 8 kB / 0.5572 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3969, allocations: 1.095 MB / 0.5582 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.397, allocations: 184.2 kB / 0.5584 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3971, allocations: 11.98 kB / 0.5584 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3972, allocations: 11.98 kB / 0.5584 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.3972, allocations: 39.84 kB / 0.5585 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.3973, allocations: 35.97 kB / 0.5585 GB, free: 3.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006102/0.3979, allocations: 0.5536 MB / 0.559 GB, free: 3.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3979, allocations: 0 / 0.559 GB, free: 3.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.3983, allocations: 55.97 kB / 0.5591 GB, free: 3.391 MB / 414.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.001576/0.3999, allocations: 1.663 MB / 0.5607 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009542/0.4009, allocations: 0.8147 MB / 0.5615 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4009, allocations: 0 / 0.5615 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.4013, allocations: 430.2 kB / 0.5619 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4017, allocations: 41.14 kB / 0.562 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.4043, allocations: 2.023 MB / 0.5639 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.4051, allocations: 1.022 MB / 0.5649 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.4053, allocations: 73.03 kB / 0.565 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.4056, allocations: 255.3 kB / 0.5653 GB, free: 12.84 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4056, allocations: 0 / 0.5653 GB, free: 12.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.4396, allocations: 10.28 MB / 0.5753 GB, free: 2.633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.286/9.725, allocations: 3.219 kB / 0.5753 GB, free: 2.633 MB / 430.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)