Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001839/0.001839, 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.001548/0.001548, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2295/0.2295, allocations: 46.96 MB / 361.7 MB, free: 4.074 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.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.88 kB / 0.4969 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 66.05 MB / 0.5614 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003384/0.3385, allocations: 1.71 MB / 0.5631 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3403, allocations: 0.9676 MB / 0.564 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.3404, allocations: 0 / 0.564 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.3407, allocations: 79.7 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.3411, allocations: 119.5 kB / 0.5642 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3413, allocations: 83.72 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3415, allocations: 115.6 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3416, allocations: 5.828 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.3417, allocations: 59.75 kB / 0.5645 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3418, allocations: 67.75 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3418, allocations: 4 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3419, allocations: 43.98 kB / 0.5646 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.342, allocations: 27.84 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.3421, allocations: 35.73 kB / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3423, allocations: 115.5 kB / 0.5648 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3423, allocations: 8 kB / 0.5648 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3423, allocations: 0 / 0.5648 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3423, allocations: 0 / 0.5648 GB, free: 0.8164 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.0005723/0.3429, allocations: 357.4 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3429, allocations: 8.031 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.3429, allocations: 4.188 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.343, allocations: 34.75 kB / 0.5652 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.343, allocations: 12.84 kB / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.3433, allocations: 162.8 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3433, allocations: 8.125 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3433, allocations: 4 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3435, allocations: 61.67 kB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3435, allocations: 0 / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3435, allocations: 0 / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3435, allocations: 3.984 kB / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.3436, allocations: 19.98 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.344, allocations: 263.9 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3442, allocations: 58.61 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.3443, allocations: 28.8 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3443, allocations: 0 / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.3444, allocations: 71.38 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.3444, allocations: 0 / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005728/0.345, allocations: 181.3 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3451, allocations: 51.41 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.3453, allocations: 227.5 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3453, allocations: 33.7 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.3454, allocations: 108.1 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.3455, allocations: 27.78 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.3455, allocations: 29.7 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3457, allocations: 326.8 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.3457, allocations: 23.98 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.3458, allocations: 33.7 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3459, allocations: 57.7 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3459, allocations: 0 / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002069/0.3461, allocations: 105.5 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3461, allocations: 8 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3461, allocations: 4.031 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3461, allocations: 0 / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.3462, allocations: 23.86 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3462, allocations: 7.938 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.3463, allocations: 0 / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3463, allocations: 8 kB / 0.567 GB, free: 14.29 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.0001223/0.3464, allocations: 129.8 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.3465, allocations: 11.91 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3467, allocations: 127 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3467, allocations: 3.984 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3467, allocations: 8.312 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3468, allocations: 3.984 kB / 0.5673 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.3473, allocations: 370.7 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3473, allocations: 4 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.3473, allocations: 12 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3473, allocations: 7.875 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3473, allocations: 4 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3473, allocations: 3.984 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3473, allocations: 0 / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3476, allocations: 216.5 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.3476, allocations: 15.84 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.3477, allocations: 8 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.3477, allocations: 3.984 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3478, allocations: 4 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.3478, allocations: 11.92 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.3479, allocations: 173.1 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3479, allocations: 0 / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3482, allocations: 27.94 kB / 0.5681 GB, free: 13.08 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.002583/0.3508, allocations: 1.143 MB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.351, allocations: 67.84 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.351, allocations: 0 / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.3511, allocations: 36.03 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3515, allocations: 28.73 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3539, allocations: 1.723 MB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.354, allocations: 100.6 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.354, allocations: 17.34 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.3541, allocations: 43.41 kB / 0.5712 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3541, allocations: 0 / 0.5712 GB, free: 10.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3787, allocations: 3.912 MB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 11.56 kB / 0.575 GB, free: 6.164 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.895670917932875] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.082370421034284 12.097404533 11.751982694 Calling exit ...