Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 112.2 kB / 21.22 MB, free: 0.75 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.002356/0.002356, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2611/0.2611, allocations: 46.94 MB / 361.7 MB, free: 4.273 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 63.89 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 66.04 MB / 0.5615 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003157/0.3703, allocations: 1.753 MB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.372, allocations: 1.061 MB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.3721, allocations: 7.938 kB / 0.5642 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.3723, allocations: 39.77 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.3726, allocations: 91.59 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3728, allocations: 83.67 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.373, allocations: 115.6 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.3731, allocations: 9.812 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3732, allocations: 51.77 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.3733, allocations: 47.78 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3733, allocations: 4 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.3735, allocations: 115.9 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.3736, allocations: 23.92 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.3737, allocations: 35.8 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.374, allocations: 171.3 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.374, allocations: 0 / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.374, allocations: 0 / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.374, allocations: 0 / 0.565 GB, free: 0.8516 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.0005955/0.3746, allocations: 365.4 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3746, allocations: 12.03 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.3746, allocations: 4.188 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.3747, allocations: 34.75 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.3747, allocations: 8.891 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.375, allocations: 162.3 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.375, allocations: 4.125 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3751, allocations: 4 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3752, allocations: 71.39 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3753, allocations: 7.938 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3753, allocations: 0 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3753, allocations: 0 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.3753, allocations: 19.98 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.3757, allocations: 247.9 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3759, allocations: 70.61 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.376, allocations: 24.97 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.376, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.3762, allocations: 71.33 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3762, allocations: 3.938 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006199/0.3768, allocations: 209.2 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3769, allocations: 85.11 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3771, allocations: 169.8 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3771, allocations: 29.7 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.3772, allocations: 96.12 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3772, allocations: 35.73 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.3774, allocations: 25.72 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3775, allocations: 322.8 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.3776, allocations: 31.98 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.3777, allocations: 54.55 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3778, allocations: 85.58 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3778, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002379/0.3781, allocations: 125.5 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3781, allocations: 4 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3781, allocations: 4.062 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3781, allocations: 8 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3782, allocations: 19.98 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3782, allocations: 3.938 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.3783, allocations: 4 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3783, allocations: 4 kB / 0.5673 GB, free: 14.25 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 (13): * Single equations (assignments): 13 * 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.0001208/0.3784, allocations: 129.7 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.3785, allocations: 19.89 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.3787, allocations: 126.5 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3787, allocations: 4.031 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3787, allocations: 7.875 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3787, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.3793, allocations: 398.3 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3793, allocations: 0 / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.3793, allocations: 19.92 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3793, allocations: 0 / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.3793, allocations: 4.031 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3793, allocations: 4 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3793, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3796, allocations: 220.2 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.3796, allocations: 15.91 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.3796, allocations: 0 / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.3797, allocations: 4 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.3798, allocations: 11.98 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3798, allocations: 4 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3799, allocations: 131.2 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3799, allocations: 0 / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.3802, allocations: 51.81 kB / 0.5684 GB, free: 13.03 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 (10): * Single equations (assignments): 8 * 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.00252/0.3827, allocations: 1.204 MB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3829, allocations: 71.84 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.3829, allocations: 8.062 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.383, allocations: 31.92 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3834, allocations: 31.97 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3853, allocations: 1.664 MB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3856, allocations: 0.7084 MB / 0.572 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.3857, allocations: 32.77 kB / 0.5721 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.3858, allocations: 35.36 kB / 0.5721 GB, free: 9.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3858, allocations: 4 kB / 0.5721 GB, free: 9.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.41, allocations: 4.461 MB / 0.5765 GB, free: 4.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 15.56 kB / 0.5765 GB, free: 4.891 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.793001759971958] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.908012591011357 11.92471237 11.547481919 Calling exit ...