Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.001716/0.001716, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002076/0.002076, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.507/1.507, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2452/0.2452, allocations: 46.93 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 179] 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.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",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.003974/0.003974, allocations: 79.86 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4397, allocations: 66.08 MB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004266/0.444, allocations: 2.298 MB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.4465, allocations: 1.345 MB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.4467, allocations: 11.88 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.4472, allocations: 131.3 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.4478, allocations: 238.9 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.4483, allocations: 195.6 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.4489, allocations: 470.5 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.4491, allocations: 47.2 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.4496, allocations: 315 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.4498, allocations: 167.1 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.4498, allocations: 20 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.45, allocations: 71.97 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.4502, allocations: 131.5 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.4504, allocations: 186.5 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.4509, allocations: 441.7 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.4509, allocations: 8 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.451, allocations: 0 / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.451, allocations: 0 / 0.5675 GB, free: 14.22 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001185/0.4521, allocations: 0.7682 MB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4522, allocations: 8.031 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.4522, allocations: 46.73 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.4523, allocations: 64.52 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.453, allocations: 357.8 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.453, allocations: 8.375 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.453, allocations: 24.33 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.4534, allocations: 201.1 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4534, allocations: 3.938 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.4535, allocations: 4 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4535, allocations: 4 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.4537, allocations: 95.91 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.4548, allocations: 0.7734 MB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.4555, allocations: 234.5 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.4557, allocations: 79.53 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.4557, allocations: 15.92 kB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.4561, allocations: 192.3 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/0.4561, allocations: 4 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002579/0.4587, allocations: 1.14 MB / 0.5714 GB, free: 10.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.4588, allocations: 136.5 kB / 0.5715 GB, free: 9.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/0.4598, allocations: 0.8008 MB / 0.5723 GB, free: 9.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.4598, allocations: 37.7 kB / 0.5723 GB, free: 8.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.46, allocations: 241 kB / 0.5725 GB, free: 8.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.4602, allocations: 154.8 kB / 0.5727 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4603, allocations: 78.09 kB / 0.5728 GB, free: 8.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.4605, allocations: 378.7 kB / 0.5731 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.4608, allocations: 116.8 kB / 0.5732 GB, free: 8.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.4611, allocations: 187.2 kB / 0.5734 GB, free: 7.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.4616, allocations: 315 kB / 0.5737 GB, free: 7.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4616, allocations: 0 / 0.5737 GB, free: 7.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007848/0.4624, allocations: 437.2 kB / 0.5741 GB, free: 7.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4624, allocations: 8 kB / 0.5741 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4624, allocations: 4.125 kB / 0.5741 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4624, allocations: 4 kB / 0.5741 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4627, allocations: 91.89 kB / 0.5742 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4627, allocations: 4 kB / 0.5742 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4629, allocations: 23.92 kB / 0.5743 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.4629, allocations: 15.94 kB / 0.5743 GB, free: 6.902 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002941/0.4632, allocations: 233 kB / 0.5745 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.4633, allocations: 71.53 kB / 0.5746 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000963/0.4643, allocations: 0.4946 MB / 0.575 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.4643, allocations: 4 kB / 0.5751 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4643, allocations: 4 kB / 0.5751 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4643, allocations: 4 kB / 0.5751 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.4661, allocations: 1.282 MB / 0.5763 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.4661, allocations: 3.938 kB / 0.5763 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.4662, allocations: 63.91 kB / 0.5764 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.4662, allocations: 8.25 kB / 0.5764 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.4663, allocations: 15.98 kB / 0.5764 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.4663, allocations: 15.92 kB / 0.5764 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4663, allocations: 0 / 0.5764 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.4673, allocations: 0.7939 MB / 0.5772 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.4674, allocations: 107.5 kB / 0.5773 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.4675, allocations: 12 kB / 0.5773 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.4678, allocations: 19.98 kB / 0.5773 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.4679, allocations: 43.81 kB / 0.5774 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.4679, allocations: 20 kB / 0.5774 GB, free: 3.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006958/0.4686, allocations: 0.5849 MB / 0.578 GB, free: 2.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4686, allocations: 0 / 0.578 GB, free: 2.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005048/0.4691, allocations: 87.94 kB / 0.578 GB, free: 2.906 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003192/0.4723, allocations: 1.759 MB / 0.5798 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.473, allocations: 292 kB / 0.58 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.473, allocations: 3.938 kB / 0.58 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.4733, allocations: 144.5 kB / 0.5802 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.4742, allocations: 134.6 kB / 0.5803 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/0.4805, allocations: 4.743 MB / 0.5849 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.4811, allocations: 0.886 MB / 0.5858 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.4813, allocations: 75.3 kB / 0.5859 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.4816, allocations: 195.4 kB / 0.5861 GB, free: 10.61 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4816, allocations: 0 / 0.5861 GB, free: 10.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.52, allocations: 11.14 MB / 0.5969 GB, free: 15.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/9.255, allocations: 2.5 kB / 0.5969 GB, free: 15.5 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.329624568112195] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.40563106071204 9.432947693000001 8.976916025 Calling exit ...