Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.001279/0.001279, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001517/0.001517, allocations: 217.9 kB / 22.99 MB, free: 5.582 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.438/1.438, allocations: 230.2 MB / 256.3 MB, free: 8.527 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.2222/0.2222, allocations: 46.9 MB / 359.4 MB, free: 4.898 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.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",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.0023/0.0023, allocations: 83.86 kB / 0.4942 GB, free: 8.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3239, allocations: 65.99 MB / 0.5586 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003591/0.3275, allocations: 1.837 MB / 0.5604 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3303, allocations: 1.773 MB / 0.5622 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3304, allocations: 7.938 kB / 0.5622 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.3308, allocations: 59.67 kB / 0.5622 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.3313, allocations: 131.4 kB / 0.5624 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.3315, allocations: 111.6 kB / 0.5625 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.3318, allocations: 199.4 kB / 0.5627 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.3319, allocations: 5.688 kB / 0.5627 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.332, allocations: 95.55 kB / 0.5627 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.3323, allocations: 79.67 kB / 0.5628 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.3323, allocations: 11.94 kB / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.3325, allocations: 115.9 kB / 0.5629 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.3326, allocations: 39.84 kB / 0.563 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.3327, allocations: 63.55 kB / 0.563 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.3331, allocations: 224.9 kB / 0.5633 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3331, allocations: 3.984 kB / 0.5633 GB, free: 360 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3331, allocations: 4 kB / 0.5633 GB, free: 356 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3331, allocations: 0 / 0.5633 GB, free: 356 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000757/0.3338, allocations: 0.498 MB / 0.5638 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3339, allocations: 12.02 kB / 0.5638 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.3339, allocations: 30.75 kB / 0.5638 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.334, allocations: 24.84 kB / 0.5638 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.3343, allocations: 252 kB / 0.5641 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3344, allocations: 384 / 0.5641 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3344, allocations: 8.312 kB / 0.5641 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3346, allocations: 105.1 kB / 0.5642 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3346, allocations: 0 / 0.5642 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3346, allocations: 8 kB / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3346, allocations: 0 / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3347, allocations: 31.91 kB / 0.5642 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.335, allocations: 226.5 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3353, allocations: 105.2 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.3354, allocations: 33.7 kB / 0.5646 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.3354, allocations: 4 kB / 0.5646 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.3357, allocations: 117 kB / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.3357, allocations: 0 / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005005/0.3362, allocations: 165.4 kB / 0.5648 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3363, allocations: 136.5 kB / 0.565 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.3366, allocations: 237 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3366, allocations: 29.7 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.3367, allocations: 112.1 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.3367, allocations: 27.81 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.3368, allocations: 33.7 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3369, allocations: 326.8 kB / 0.5657 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.337, allocations: 31.97 kB / 0.5657 GB, free: 13.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3371, allocations: 73.08 kB / 0.5658 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.3373, allocations: 95.38 kB / 0.5659 GB, free: 13.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3373, allocations: 0 / 0.5659 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002896/0.3376, allocations: 134 kB / 0.566 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3376, allocations: 10.34 kB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3376, allocations: 0 / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3377, allocations: 0 / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3378, allocations: 36.11 kB / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3378, allocations: 3.938 kB / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.3379, allocations: 11.89 kB / 0.5661 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3379, allocations: 4 kB / 0.5661 GB, free: 13.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * 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.0001472/0.338, allocations: 133.8 kB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.3381, allocations: 23.84 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.3384, allocations: 150.5 kB / 0.5664 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3384, allocations: 4 kB / 0.5664 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3384, allocations: 7.938 kB / 0.5664 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3384, allocations: 0 / 0.5664 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.3386, allocations: 225.5 kB / 0.5666 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3387, allocations: 7.938 kB / 0.5666 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.3387, allocations: 4 kB / 0.5666 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3387, allocations: 7.938 kB / 0.5666 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3387, allocations: 3.984 kB / 0.5666 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3387, allocations: 0 / 0.5666 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3387, allocations: 3.938 kB / 0.5666 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.339, allocations: 169.9 kB / 0.5668 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.3391, allocations: 100.9 kB / 0.5669 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3391, allocations: 8 kB / 0.5669 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.3392, allocations: 3.938 kB / 0.5669 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3392, allocations: 11.98 kB / 0.5669 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3392, allocations: 4 kB / 0.5669 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3394, allocations: 185.6 kB / 0.5671 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3394, allocations: 0 / 0.5671 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3397, allocations: 55.88 kB / 0.5671 GB, free: 11.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002262/0.342, allocations: 1.1 MB / 0.5682 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.3423, allocations: 83.91 kB / 0.5683 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3423, allocations: 0 / 0.5683 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3424, allocations: 35.92 kB / 0.5683 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3428, allocations: 61.75 kB / 0.5684 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.3452, allocations: 1.902 MB / 0.5702 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3456, allocations: 0.7203 MB / 0.5709 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.3457, allocations: 41.95 kB / 0.571 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3458, allocations: 59.41 kB / 0.571 GB, free: 7.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3458, allocations: 0 / 0.571 GB, free: 7.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3745, allocations: 5.322 MB / 0.5762 GB, free: 2.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.482, allocations: 7.438 kB / 0.5762 GB, free: 2.66 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.294345920992782] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.61555108599714 8.630638979 8.29434756 Calling exit ...