Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001657/0.001657, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001999/0.001999, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.511/1.511, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2496/0.2496, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",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.002378/0.002378, allocations: 80.05 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4048, allocations: 66.09 MB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003762/0.4086, allocations: 1.94 MB / 0.5635 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.4108, allocations: 1.154 MB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.4109, allocations: 7.938 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.4114, allocations: 167.4 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.4119, allocations: 179.2 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.4122, allocations: 119.6 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.4126, allocations: 247.3 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.4128, allocations: 23.92 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.413, allocations: 123.5 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.4132, allocations: 135.5 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.4132, allocations: 8 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.4134, allocations: 67.97 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.4135, allocations: 59.7 kB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.4136, allocations: 83.39 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.4139, allocations: 215 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4139, allocations: 4 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4139, allocations: 0 / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4139, allocations: 7.938 kB / 0.566 GB, free: 15.75 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007902/0.4147, allocations: 484.5 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4148, allocations: 12.03 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.4148, allocations: 34.75 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.4149, allocations: 28.75 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.4153, allocations: 222.5 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.4153, allocations: 12.38 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4153, allocations: 4.375 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.4156, allocations: 115.4 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4156, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4156, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4156, allocations: 4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4157, allocations: 51.89 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.4163, allocations: 435.8 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.4167, allocations: 121.2 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4169, allocations: 41.83 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.4169, allocations: 0 / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.4171, allocations: 129 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4171, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00133/0.4185, allocations: 0.4899 MB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.4185, allocations: 81.11 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.4189, allocations: 368.5 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.419, allocations: 37.69 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4191, allocations: 144.5 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.4192, allocations: 79.38 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.4192, allocations: 45.64 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4194, allocations: 342.8 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4195, allocations: 55.97 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4197, allocations: 100.1 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.42, allocations: 155.4 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.42, allocations: 8 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004115/0.4204, allocations: 233.5 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4204, allocations: 6.344 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4204, allocations: 7.922 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4204, allocations: 4 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.4206, allocations: 39.92 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4206, allocations: 4.234 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.4207, allocations: 12.06 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.4207, allocations: 15.98 kB / 0.5697 GB, free: 11.64 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001585/0.4208, allocations: 153.8 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4209, allocations: 31.81 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.4214, allocations: 263.2 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4214, allocations: 4 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4214, allocations: 0 / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4214, allocations: 3.984 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.4223, allocations: 0.6989 MB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.4223, allocations: 3.984 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.4224, allocations: 24 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4224, allocations: 4 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.4225, allocations: 16.11 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4225, allocations: 0 / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4225, allocations: 7.938 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.4229, allocations: 425.4 kB / 0.5713 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.423, allocations: 23.8 kB / 0.5713 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.423, allocations: 8 kB / 0.5714 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.4232, allocations: 11.98 kB / 0.5714 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.4232, allocations: 27.84 kB / 0.5714 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.4233, allocations: 8 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002835/0.4235, allocations: 279 kB / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4235, allocations: 4 kB / 0.5717 GB, free: 9.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.4239, allocations: 51.92 kB / 0.5717 GB, free: 9.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.002602/0.4265, allocations: 1.349 MB / 0.573 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.4269, allocations: 147.8 kB / 0.5732 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4269, allocations: 4 kB / 0.5732 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.427, allocations: 76.09 kB / 0.5733 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.4276, allocations: 70.5 kB / 0.5733 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.4311, allocations: 2.703 MB / 0.576 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.4315, allocations: 0.7636 MB / 0.5767 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.4317, allocations: 45.86 kB / 0.5767 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.4318, allocations: 87.34 kB / 0.5768 GB, free: 4.273 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4318, allocations: 0 / 0.5768 GB, free: 4.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.4642, allocations: 6.256 MB / 0.5829 GB, free: 14.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.552, allocations: 7.266 kB / 0.5829 GB, free: 14.03 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.643177167978138] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.69436067622155 8.710135466 8.293072244 Calling exit ...