Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001394/0.001394, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 204.7 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.415/1.415, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2214/0.2214, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003783/0.003784, allocations: 75.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3968, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002052/0.3989, allocations: 0.929 MB / 0.5315 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.4011, allocations: 1.442 MB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.4012, allocations: 5.5 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.569e-05/0.4012, allocations: 18.61 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008562/0.4021, allocations: 308.9 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.006e-05/0.4021, allocations: 4 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.4023, allocations: 111.2 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.4024, allocations: 11.86 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.4025, allocations: 62.66 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01522/0.4177, allocations: 10.63 MB / 0.5438 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4178, allocations: 4 kB / 0.5438 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.4181, allocations: 95.89 kB / 0.5439 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.4183, allocations: 219.3 kB / 0.5441 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.4185, allocations: 201.8 kB / 0.5443 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.419, allocations: 453.3 kB / 0.5448 GB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.419, allocations: 0 / 0.5448 GB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.419, allocations: 0 / 0.5448 GB, free: 3.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.419, allocations: 0 / 0.5448 GB, free: 3.242 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.0009292/0.4199, allocations: 0.9591 MB / 0.5457 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.42, allocations: 8.031 kB / 0.5457 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/0.42, allocations: 66.7 kB / 0.5458 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.4201, allocations: 100.3 kB / 0.5459 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.4205, allocations: 388.5 kB / 0.5462 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4205, allocations: 8.359 kB / 0.5462 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.4205, allocations: 8.359 kB / 0.5462 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.4211, allocations: 0.5947 MB / 0.5468 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4211, allocations: 11.86 kB / 0.5468 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.4212, allocations: 7.984 kB / 0.5468 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/0.4214, allocations: 167.9 kB / 0.547 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.4218, allocations: 371.5 kB / 0.5474 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.4227, allocations: 0.6541 MB / 0.548 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.4234, allocations: 0.792 MB / 0.5488 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.4238, allocations: 0.5004 MB / 0.5493 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.4239, allocations: 7.938 kB / 0.5493 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.4239, allocations: 79.02 kB / 0.5493 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.264e-06/0.4239, allocations: 0 / 0.5493 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001415/0.4254, allocations: 1.335 MB / 0.5506 GB, free: 12.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003541/0.4257, allocations: 0.6477 MB / 0.5513 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.4265, allocations: 0.7782 MB / 0.552 GB, free: 11.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.4266, allocations: 33.69 kB / 0.5521 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.4268, allocations: 306 kB / 0.5524 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.4271, allocations: 329.1 kB / 0.5527 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.4272, allocations: 81.62 kB / 0.5528 GB, free: 10.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4273, allocations: 334 kB / 0.5531 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.4277, allocations: 352.7 kB / 0.5534 GB, free: 9.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.4281, allocations: 0.5024 MB / 0.5539 GB, free: 9.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.429, allocations: 0.9451 MB / 0.5548 GB, free: 7.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4291, allocations: 7.938 kB / 0.5548 GB, free: 7.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001057/0.4301, allocations: 0.957 MB / 0.5558 GB, free: 7.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4302, allocations: 8 kB / 0.5558 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4302, allocations: 8 kB / 0.5558 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4302, allocations: 4.75 kB / 0.5558 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-06/0.4302, allocations: 11.98 kB / 0.5558 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4302, allocations: 15.94 kB / 0.5558 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.4304, allocations: 43.55 kB / 0.5559 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.4304, allocations: 35.97 kB / 0.5559 GB, free: 6.887 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.0003082/0.4307, allocations: 313.5 kB / 0.5562 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4309, allocations: 99.31 kB / 0.5563 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.416e-05/0.431, allocations: 89.67 kB / 0.5564 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002277/0.4312, allocations: 175.9 kB / 0.5565 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4312, allocations: 4 kB / 0.5565 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4312, allocations: 12 kB / 0.5566 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.432, allocations: 0.5321 MB / 0.5571 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.432, allocations: 4 kB / 0.5571 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-06/0.432, allocations: 15.88 kB / 0.5571 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.4321, allocations: 8 kB / 0.5571 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.4321, allocations: 19.97 kB / 0.5571 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.4321, allocations: 7.984 kB / 0.5571 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.4321, allocations: 11.94 kB / 0.5571 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.4332, allocations: 1.103 MB / 0.5582 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4334, allocations: 184.2 kB / 0.5584 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.4335, allocations: 15.97 kB / 0.5584 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.4336, allocations: 7.984 kB / 0.5584 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.4336, allocations: 43.83 kB / 0.5585 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.4337, allocations: 28 kB / 0.5585 GB, free: 4.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000582/0.4343, allocations: 0.5536 MB / 0.559 GB, free: 3.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4343, allocations: 4 kB / 0.559 GB, free: 3.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.4347, allocations: 51.97 kB / 0.5591 GB, free: 3.449 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.001493/0.4362, allocations: 1.66 MB / 0.5607 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008999/0.4371, allocations: 0.812 MB / 0.5615 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4371, allocations: 4 kB / 0.5615 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.4375, allocations: 429.2 kB / 0.5619 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4379, allocations: 39.27 kB / 0.5619 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.4404, allocations: 2.027 MB / 0.5639 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/0.4411, allocations: 1.026 MB / 0.5649 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.4413, allocations: 77.03 kB / 0.565 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.4416, allocations: 247.3 kB / 0.5652 GB, free: 12.9 MB / 430.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4417, allocations: 0 / 0.5652 GB, free: 12.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.4757, allocations: 10.29 MB / 0.5753 GB, free: 2.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.174/9.649, allocations: 11.33 kB / 0.5753 GB, free: 2.727 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)