Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 46.96 MB / 361.7 MB, free: 4.027 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 67.89 kB / 0.4969 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3935, allocations: 66.02 MB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003041/0.3965, allocations: 1.677 MB / 0.563 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3982, allocations: 0.9481 MB / 0.564 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.3982, allocations: 4 kB / 0.564 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.3985, allocations: 51.75 kB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.3988, allocations: 103.5 kB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.399, allocations: 67.73 kB / 0.5642 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.3992, allocations: 111.6 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.3992, allocations: 8.234 kB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.3993, allocations: 43.78 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.3994, allocations: 27.8 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3994, allocations: 4 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.3995, allocations: 35.97 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.3995, allocations: 23.92 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.3996, allocations: 27.75 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3998, allocations: 133.2 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3998, allocations: 0 / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3998, allocations: 4 kB / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3998, allocations: 0 / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005507/0.4004, allocations: 365.4 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4004, allocations: 12.03 kB / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.168e-05/0.4004, allocations: 192 / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.4005, allocations: 34.75 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.4005, allocations: 12.89 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4008, allocations: 155.2 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4008, allocations: 4.125 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.4008, allocations: 11.98 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4009, allocations: 61.61 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4009, allocations: 0 / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.401, allocations: 0 / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.401, allocations: 0 / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.401, allocations: 15.98 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.4012, allocations: 156.7 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.4014, allocations: 62.48 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.4015, allocations: 20.84 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.4015, allocations: 3.938 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.4016, allocations: 71.39 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.4016, allocations: 0 / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003051/0.4019, allocations: 105.6 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.402, allocations: 51.41 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.4023, allocations: 274.8 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4023, allocations: 29.64 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.4024, allocations: 116.1 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.4024, allocations: 19.83 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.4024, allocations: 25.7 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4026, allocations: 326.8 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.4026, allocations: 15.98 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.4027, allocations: 29.72 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.4028, allocations: 45.64 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4028, allocations: 4 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001656/0.403, allocations: 89.52 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.403, allocations: 4 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.403, allocations: 0 / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.403, allocations: 0 / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.4031, allocations: 16.03 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4031, allocations: 0 / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.4031, allocations: 11.94 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.4031, allocations: 4.312 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001133/0.4032, allocations: 137.7 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.4033, allocations: 15.91 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.4035, allocations: 102.8 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4035, allocations: 3.984 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4035, allocations: 0 / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4035, allocations: 8 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.4037, allocations: 164.7 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4037, allocations: 4 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.4037, allocations: 4 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4037, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.4037, allocations: 3.938 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4037, allocations: 3.938 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4037, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.4039, allocations: 125 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.4039, allocations: 15.89 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.404, allocations: 8 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.404, allocations: 4 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.404, allocations: 11.92 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4041, allocations: 0 / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.4042, allocations: 200.6 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4042, allocations: 0 / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.4045, allocations: 27.92 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001965/0.4064, allocations: 0.9825 MB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.4066, allocations: 43.98 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4066, allocations: 4.062 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.4067, allocations: 27.86 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.4069, allocations: 37.19 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4089, allocations: 1.694 MB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.409, allocations: 97.77 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.4091, allocations: 20.72 kB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.4091, allocations: 43.42 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4091, allocations: 0 / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.4323, allocations: 3.837 MB / 0.5741 GB, free: 7.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.81, allocations: 11.92 kB / 0.5741 GB, free: 7.055 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.08217136200983] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.022042282973416 12.036434613 11.633327382 Calling exit ...