Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.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.00196/0.00196, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002585/0.002585, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.602/1.602, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2434/0.2434, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",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.002439/0.002439, allocations: 76.2 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1364, allocations: 65.98 MB / 0.5556 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00472/0.1411, allocations: 2.873 MB / 0.5585 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1429, allocations: 0.8062 MB / 0.5592 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.1432, allocations: 8 kB / 0.5592 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.1434, allocations: 63.31 kB / 0.5593 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1438, allocations: 122.9 kB / 0.5594 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.1442, allocations: 119.8 kB / 0.5595 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.1448, allocations: 454.3 kB / 0.56 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.1451, allocations: 138.1 kB / 0.5601 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.1454, allocations: 183.3 kB / 0.5603 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.1457, allocations: 191.1 kB / 0.5605 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.1458, allocations: 36 kB / 0.5605 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1459, allocations: 44 kB / 0.5605 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.146, allocations: 83.73 kB / 0.5606 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1462, allocations: 210.8 kB / 0.5608 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.1468, allocations: 458 kB / 0.5613 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1468, allocations: 0 / 0.5613 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1468, allocations: 0 / 0.5613 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1468, allocations: 0 / 0.5613 GB, free: 0.6445 MB / 414.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.001139/0.148, allocations: 0.6859 MB / 0.5619 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.148, allocations: 12.03 kB / 0.5619 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.1482, allocations: 78.66 kB / 0.562 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.1485, allocations: 68.62 kB / 0.5621 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.149, allocations: 311.4 kB / 0.5624 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.149, allocations: 29.38 kB / 0.5624 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.1491, allocations: 40.38 kB / 0.5624 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.1498, allocations: 385.1 kB / 0.5628 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.1498, allocations: 3.953 kB / 0.5628 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.1499, allocations: 20 kB / 0.5628 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.1499, allocations: 12 kB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.1504, allocations: 243.8 kB / 0.5631 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.1523, allocations: 1.105 MB / 0.5642 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.1529, allocations: 323.6 kB / 0.5645 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.1532, allocations: 162.4 kB / 0.5646 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.1532, allocations: 8 kB / 0.5646 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.1533, allocations: 38.5 kB / 0.5647 GB, free: 12.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=39): time 2.655e-06/0.1533, allocations: 0 / 0.5647 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004425/0.1577, allocations: 2.466 MB / 0.5671 GB, free: 10.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/0.1578, allocations: 118.7 kB / 0.5672 GB, free: 10.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1581, allocations: 242.7 kB / 0.5674 GB, free: 9.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.1581, allocations: 33.7 kB / 0.5674 GB, free: 9.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.1583, allocations: 188.9 kB / 0.5676 GB, free: 9.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.1585, allocations: 210.2 kB / 0.5678 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1586, allocations: 82.25 kB / 0.5679 GB, free: 9.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1588, allocations: 354.7 kB / 0.5682 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1591, allocations: 129.1 kB / 0.5684 GB, free: 8.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.1595, allocations: 231.8 kB / 0.5686 GB, free: 8.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.1602, allocations: 401.9 kB / 0.569 GB, free: 8.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.1602, allocations: 4 kB / 0.569 GB, free: 8.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001277/0.1615, allocations: 0.5462 MB / 0.5695 GB, free: 7.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.1615, allocations: 5.719 kB / 0.5695 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.1615, allocations: 4 kB / 0.5695 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.162, allocations: 122.5 kB / 0.5696 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.1624, allocations: 99.81 kB / 0.5697 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/0.1683, allocations: 5.219 MB / 0.5748 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.1687, allocations: 16 kB / 0.5748 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.1687, allocations: 19.98 kB / 0.5749 GB, free: 1.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.169, allocations: 165.7 kB / 0.575 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1691, allocations: 39.77 kB / 0.5751 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1692, allocations: 58.17 kB / 0.5751 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1692, allocations: 4 kB / 0.5751 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.1692, allocations: 7.938 kB / 0.5751 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.1692, allocations: 3.984 kB / 0.5751 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.1716, allocations: 1.316 MB / 0.5764 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.1716, allocations: 4 kB / 0.5764 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.172, allocations: 95.88 kB / 0.5765 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003216/0.1723, allocations: 102.5 kB / 0.5766 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.1724, allocations: 8.188 kB / 0.5766 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.1764, allocations: 4.438 MB / 0.5809 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1764, allocations: 4.031 kB / 0.581 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1779, allocations: 0.9272 MB / 0.5819 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1781, allocations: 112.9 kB / 0.582 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.1781, allocations: 20.12 kB / 0.582 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.1784, allocations: 15.98 kB / 0.582 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.1785, allocations: 51.81 kB / 0.582 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.1786, allocations: 16 kB / 0.5821 GB, free: 9.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1787, allocations: 178 kB / 0.5822 GB, free: 9.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1787, allocations: 0 / 0.5822 GB, free: 9.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007257/0.1795, allocations: 116 kB / 0.5823 GB, free: 9.426 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.1813, allocations: 1.478 MB / 0.5838 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.1827, allocations: 0.7619 MB / 0.5845 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1827, allocations: 0 / 0.5845 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.1835, allocations: 0.5643 MB / 0.5851 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.1842, allocations: 56.48 kB / 0.5851 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.1907, allocations: 4.176 MB / 0.5892 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.1913, allocations: 0.8241 MB / 0.59 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.1914, allocations: 31.28 kB / 0.5901 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.1916, allocations: 127.4 kB / 0.5902 GB, free: 1.078 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1916, allocations: 0 / 0.5902 GB, free: 1.078 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/1.199, allocations: 8.461 MB / 0.5984 GB, free: 34.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.5, allocations: 0.8125 kB / 0.5984 GB, free: 34.99 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.697294745128602] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 12.586414034944028 12.598500597 12.449130663 Calling exit ...