Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001826/0.001826, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002226/0.002226, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2347/0.2347, allocations: 46.93 MB / 361.7 MB, free: 4.266 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.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.88 kB / 0.497 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 66.02 MB / 0.5615 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003666/0.3422, allocations: 2.061 MB / 0.5635 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3442, allocations: 1.139 MB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3443, allocations: 3.938 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.3447, allocations: 47.64 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.345, allocations: 111.5 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3453, allocations: 115.6 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.3456, allocations: 207.4 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.3457, allocations: 23.77 kB / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3459, allocations: 91.56 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.346, allocations: 79.61 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.346, allocations: 12 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3462, allocations: 51.98 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.3462, allocations: 39.84 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.3463, allocations: 79.47 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.3466, allocations: 199.1 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3466, allocations: 0 / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3466, allocations: 4 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3466, allocations: 0 / 0.5656 GB, free: 184 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009526/0.3476, allocations: 0.4887 MB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3476, allocations: 16.02 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.23e-05/0.3477, allocations: 192 / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.3477, allocations: 42.69 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.3478, allocations: 20.84 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.3481, allocations: 186.2 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3481, allocations: 8.125 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3481, allocations: 8 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.3486, allocations: 162.7 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3486, allocations: 0 / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3486, allocations: 0 / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3486, allocations: 4 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.3491, allocations: 107.9 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.3499, allocations: 0.5233 MB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.3506, allocations: 162.5 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.3508, allocations: 64.8 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3508, allocations: 7.984 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.3513, allocations: 139.2 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.3513, allocations: 0 / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000929/0.3522, allocations: 257.3 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3522, allocations: 59.34 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.3525, allocations: 240.1 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3525, allocations: 29.7 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3526, allocations: 124.4 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.3527, allocations: 43.69 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.3528, allocations: 33.7 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3529, allocations: 330.8 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.3532, allocations: 71.94 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.3535, allocations: 96.23 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.354, allocations: 193.8 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.354, allocations: 0 / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006753/0.3547, allocations: 267 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.3547, allocations: 29.7 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3547, allocations: 4 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3547, allocations: 11.92 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.3549, allocations: 35.91 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3549, allocations: 4 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3551, allocations: 32.05 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3551, allocations: 8 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000135/0.3553, allocations: 133.7 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3553, allocations: 23.89 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/0.356, allocations: 210.8 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.356, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.356, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.356, allocations: 7.984 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3562, allocations: 208.6 kB / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3562, allocations: 0 / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3564, allocations: 23.97 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3564, allocations: 0 / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3564, allocations: 7.938 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3564, allocations: 0 / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3564, allocations: 7.938 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.3573, allocations: 300.8 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.3574, allocations: 27.88 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.3574, allocations: 7.938 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.3576, allocations: 19.97 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.3576, allocations: 19.97 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3577, allocations: 4 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3578, allocations: 169.8 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3578, allocations: 4 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.3583, allocations: 35.94 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002757/0.361, allocations: 1.151 MB / 0.5716 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007082/0.3617, allocations: 211.1 kB / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3617, allocations: 0 / 0.5718 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.362, allocations: 84.06 kB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.3624, allocations: 42.14 kB / 0.5719 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.3663, allocations: 2.185 MB / 0.574 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.3668, allocations: 0.7281 MB / 0.5747 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.367, allocations: 29.45 kB / 0.5748 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.3671, allocations: 55.42 kB / 0.5748 GB, free: 6.391 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3671, allocations: 0 / 0.5748 GB, free: 6.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.3939, allocations: 5.278 MB / 0.58 GB, free: 1.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.96, allocations: 7.625 kB / 0.58 GB, free: 1.191 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.006578065978829] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.177096233004704 12.195373049 11.845282135 Calling exit ...