Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001866/0.001866, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00212/0.00212, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2364/0.2364, allocations: 46.97 MB / 361.7 MB, free: 4.027 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+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.Test43,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 67.89 kB / 0.4969 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3604, allocations: 66.02 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003746/0.3641, allocations: 1.724 MB / 0.5631 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3661, allocations: 0.9676 MB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-05/0.3662, allocations: 0 / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.3665, allocations: 47.77 kB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.3669, allocations: 99.59 kB / 0.5642 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.3671, allocations: 75.67 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3673, allocations: 107.7 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.3674, allocations: 9.828 kB / 0.5644 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.3675, allocations: 39.8 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.3676, allocations: 43.7 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3676, allocations: 4 kB / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.3677, allocations: 43.98 kB / 0.5645 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.3677, allocations: 23.92 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.3678, allocations: 23.81 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.368, allocations: 127.5 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.368, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.368, allocations: 4 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.368, allocations: 3.938 kB / 0.5647 GB, free: 0.875 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005509/0.3686, allocations: 353.5 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3686, allocations: 8.031 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.3686, allocations: 4.188 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.3687, allocations: 38.75 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.3687, allocations: 8.891 kB / 0.5651 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.369, allocations: 150.3 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.369, allocations: 8.125 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.369, allocations: 4 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3692, allocations: 57.61 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3692, allocations: 0 / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3692, allocations: 3.984 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3692, allocations: 4 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.3693, allocations: 19.98 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.3697, allocations: 263.9 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3699, allocations: 62.61 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.37, allocations: 16.86 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.37, allocations: 3.938 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3702, allocations: 75.38 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3702, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006512/0.3708, allocations: 185.3 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3709, allocations: 55.41 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.3711, allocations: 222.6 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3712, allocations: 33.7 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.3713, allocations: 104.1 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.3713, allocations: 23.84 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.3713, allocations: 21.72 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3715, allocations: 322.8 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.3716, allocations: 23.98 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.3716, allocations: 41.58 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3718, allocations: 65.69 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3718, allocations: 4 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.372, allocations: 105.5 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.372, allocations: 8 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.372, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.372, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.3721, allocations: 16 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.3721, allocations: 11.92 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.3721, allocations: 3.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.3722, allocations: 4 kB / 0.5669 GB, free: 14.38 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 (10): * Single equations (assignments): 10 * 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.0001173/0.3723, allocations: 137.8 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.3723, allocations: 15.91 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.3726, allocations: 115.1 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3726, allocations: 4 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3726, allocations: 7.875 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3726, allocations: 0 / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.3731, allocations: 366.5 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3731, allocations: 4.219 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.3731, allocations: 11.98 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3731, allocations: 7.969 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3731, allocations: 7.938 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3731, allocations: 240 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3731, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3734, allocations: 220.2 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.3734, allocations: 11.89 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3734, allocations: 8.359 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.3735, allocations: 0 / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3736, allocations: 11.98 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.3736, allocations: 8 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.3737, allocations: 160.3 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3737, allocations: 0 / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.374, allocations: 20 kB / 0.568 GB, free: 13.19 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: 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 (9): * Single equations (assignments): 7 * 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.002328/0.3763, allocations: 1.143 MB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.3765, allocations: 63.84 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3765, allocations: 0 / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.3766, allocations: 31.92 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.377, allocations: 26.02 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.379, allocations: 1.694 MB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.3791, allocations: 104.7 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.3792, allocations: 20.88 kB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.3792, allocations: 35.42 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3792, allocations: 0 / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.4028, allocations: 3.876 MB / 0.5748 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.8, allocations: 10.97 kB / 0.5748 GB, free: 6.352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.87908139207866] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.024223966058344 12.038977551 11.66780561 Calling exit ...