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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2887/0.2887, allocations: 46.88 MB / 357.4 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002262/0.002262, allocations: 82.36 kB / 0.4912 GB, free: 26.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1305, allocations: 65.98 MB / 0.5557 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002388/0.1329, allocations: 0.9433 MB / 0.5566 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1351, allocations: 1.457 MB / 0.558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.1351, allocations: 4 kB / 0.558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.288e-05/0.1352, allocations: 19.86 kB / 0.558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.136, allocations: 295.3 kB / 0.5583 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.34e-06/0.136, allocations: 0 / 0.5583 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1361, allocations: 123.5 kB / 0.5584 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.1362, allocations: 9.547 kB / 0.5584 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.1363, allocations: 63.67 kB / 0.5585 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01334/0.1496, allocations: 10.66 MB / 0.5689 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.548e-05/0.1497, allocations: 0 / 0.5689 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.15, allocations: 103.8 kB / 0.569 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.1502, allocations: 223.2 kB / 0.5692 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1504, allocations: 201.8 kB / 0.5694 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.1509, allocations: 453.3 kB / 0.5699 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1509, allocations: 3.938 kB / 0.5699 GB, free: 10.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1509, allocations: 0 / 0.5699 GB, free: 10.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1509, allocations: 0 / 0.5699 GB, free: 10.54 MB / 430.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.0009891/0.1519, allocations: 0.959 MB / 0.5708 GB, free: 9.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1519, allocations: 8.031 kB / 0.5708 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.437e-05/0.152, allocations: 66.7 kB / 0.5709 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.1521, allocations: 100.3 kB / 0.571 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1525, allocations: 384.6 kB / 0.5713 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1525, allocations: 12.3 kB / 0.5713 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1525, allocations: 4.375 kB / 0.5713 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.1532, allocations: 0.5947 MB / 0.5719 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1532, allocations: 3.938 kB / 0.5719 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1532, allocations: 7.984 kB / 0.5719 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000271/0.1535, allocations: 167.9 kB / 0.5721 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.1538, allocations: 371.5 kB / 0.5724 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.1548, allocations: 0.6541 MB / 0.5731 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.1556, allocations: 0.7646 MB / 0.5738 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.1561, allocations: 480.5 kB / 0.5743 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1561, allocations: 7.938 kB / 0.5743 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.1562, allocations: 75.02 kB / 0.5744 GB, free: 5.316 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.565e-06/0.1562, allocations: 0 / 0.5744 GB, free: 5.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.001554/0.1577, allocations: 1.331 MB / 0.5757 GB, free: 3.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004056/0.1581, allocations: 0.6555 MB / 0.5763 GB, free: 3.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/0.159, allocations: 0.7743 MB / 0.5771 GB, free: 2.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.159, allocations: 33.69 kB / 0.5771 GB, free: 2.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.1593, allocations: 306 kB / 0.5774 GB, free: 2.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.1596, allocations: 325 kB / 0.5777 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1597, allocations: 85.61 kB / 0.5778 GB, free: 1.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1599, allocations: 338 kB / 0.5781 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.1602, allocations: 348.7 kB / 0.5784 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.1608, allocations: 0.5062 MB / 0.5789 GB, free: 384 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.1618, allocations: 0.9412 MB / 0.5799 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1618, allocations: 4 kB / 0.5799 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001058/0.1628, allocations: 0.957 MB / 0.5808 GB, free: 14.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1628, allocations: 7.938 kB / 0.5808 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.1628, allocations: 8 kB / 0.5808 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.1629, allocations: 12.73 kB / 0.5808 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-06/0.1629, allocations: 7.938 kB / 0.5808 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1629, allocations: 12 kB / 0.5808 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.163, allocations: 43.61 kB / 0.5809 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.1631, allocations: 31.98 kB / 0.5809 GB, free: 14.27 MB / 446.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.0003354/0.1634, allocations: 313.5 kB / 0.5812 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.1635, allocations: 99.25 kB / 0.5813 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1636, allocations: 93.67 kB / 0.5814 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002132/0.1639, allocations: 171.9 kB / 0.5816 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.1639, allocations: 8 kB / 0.5816 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1639, allocations: 8 kB / 0.5816 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/0.1647, allocations: 0.5399 MB / 0.5821 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.1647, allocations: 8 kB / 0.5821 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-06/0.1647, allocations: 7.938 kB / 0.5821 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.1647, allocations: 8 kB / 0.5821 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.1647, allocations: 19.97 kB / 0.5821 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.1648, allocations: 11.94 kB / 0.5822 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.1648, allocations: 7.938 kB / 0.5822 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.1661, allocations: 1.099 MB / 0.5832 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.1663, allocations: 180.2 kB / 0.5834 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.1664, allocations: 15.97 kB / 0.5834 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1665, allocations: 7.984 kB / 0.5834 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.1666, allocations: 39.84 kB / 0.5835 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.1666, allocations: 31.98 kB / 0.5835 GB, free: 11.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006715/0.1673, allocations: 0.5614 MB / 0.584 GB, free: 10.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1673, allocations: 0 / 0.584 GB, free: 10.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.1677, allocations: 51.97 kB / 0.5841 GB, free: 10.83 MB / 446.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.001605/0.1693, allocations: 1.66 MB / 0.5857 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009204/0.1702, allocations: 0.7807 MB / 0.5865 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.1702, allocations: 7.938 kB / 0.5865 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.1707, allocations: 397.1 kB / 0.5869 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1711, allocations: 35.28 kB / 0.5869 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.1736, allocations: 2.027 MB / 0.5889 GB, free: 5.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/0.1744, allocations: 1.03 MB / 0.5899 GB, free: 4.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00024/0.1747, allocations: 77.03 kB / 0.59 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.175, allocations: 247.3 kB / 0.5902 GB, free: 4.336 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/0.175, allocations: 0 / 0.5902 GB, free: 4.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.2099, allocations: 10.32 MB / 0.6003 GB, free: 10.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.134/9.344, allocations: 15.92 kB / 0.6003 GB, free: 10.12 MB / 462.1 MB " [Timeout remaining time 651] (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 --stepSize=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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.631388699635863] Failed to read output from testmodel.py, exit status != 0: 9.416502948850393 9.67725883 9.523200135 Calling exit ...