Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001229/0.001229, 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.001475/0.001475, 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.237/0.237, allocations: 44.92 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 64.19 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 65.48 MB / 0.5579 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003752/0.3732, allocations: 1.743 MB / 0.5596 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3753, allocations: 1.049 MB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.3754, allocations: 7.938 kB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.3758, allocations: 43.77 kB / 0.5606 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.3761, allocations: 91.61 kB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3763, allocations: 83.66 kB / 0.5608 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.3766, allocations: 103.7 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3767, allocations: 9.828 kB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3768, allocations: 51.7 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3769, allocations: 27.86 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.377, allocations: 4 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3771, allocations: 43.97 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.3771, allocations: 23.92 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.3772, allocations: 35.69 kB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3774, allocations: 115.5 kB / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3775, allocations: 11.94 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3775, allocations: 0 / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3775, allocations: 4 kB / 0.5612 GB, free: 4.305 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.0006543/0.3781, allocations: 337.6 kB / 0.5615 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.3782, allocations: 12.03 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.3782, allocations: 4.188 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.3782, allocations: 34.73 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.3783, allocations: 12.89 kB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3787, allocations: 162.9 kB / 0.5618 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3787, allocations: 8.125 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.3787, allocations: 0 / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3789, allocations: 57.67 kB / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3789, allocations: 0 / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3789, allocations: 0 / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3789, allocations: 0 / 0.5618 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.379, allocations: 19.98 kB / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.3795, allocations: 252 kB / 0.5621 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3797, allocations: 66.61 kB / 0.5621 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.3798, allocations: 20.84 kB / 0.5622 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3798, allocations: 0 / 0.5622 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.38, allocations: 63.39 kB / 0.5622 GB, free: 3.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.38, allocations: 3.938 kB / 0.5622 GB, free: 3.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006271/0.3806, allocations: 185.6 kB / 0.5624 GB, free: 2.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3806, allocations: 55.41 kB / 0.5625 GB, free: 2.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3809, allocations: 202.2 kB / 0.5626 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3809, allocations: 29.7 kB / 0.5627 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.381, allocations: 104.1 kB / 0.5628 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.381, allocations: 23.78 kB / 0.5628 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.3811, allocations: 25.72 kB / 0.5628 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3812, allocations: 326.8 kB / 0.5631 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.3813, allocations: 24.05 kB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.3814, allocations: 37.7 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3815, allocations: 57.77 kB / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3815, allocations: 0 / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.3817, allocations: 109.5 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3817, allocations: 8.031 kB / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3817, allocations: 0 / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3817, allocations: 0 / 0.5634 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3818, allocations: 23.92 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3819, allocations: 3.938 kB / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.3819, allocations: 0 / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3819, allocations: 8 kB / 0.5634 GB, free: 1.867 MB / 398.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.0001167/0.382, allocations: 128.8 kB / 0.5635 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3821, allocations: 15.91 kB / 0.5635 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3823, allocations: 115.1 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3823, allocations: 0 / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3823, allocations: 11.88 kB / 0.5637 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3823, allocations: 0 / 0.5637 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.3828, allocations: 354.5 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3828, allocations: 4 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.3829, allocations: 15.92 kB / 0.564 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3829, allocations: 3.969 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3829, allocations: 4 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3829, allocations: 0 / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3829, allocations: 4 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.3831, allocations: 204.2 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3832, allocations: 11.89 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3832, allocations: 3.984 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.3832, allocations: 12 kB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3833, allocations: 7.922 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3833, allocations: 4.188 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3834, allocations: 148.2 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3835, allocations: 3.938 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3837, allocations: 27.94 kB / 0.5644 GB, free: 0.7148 MB / 398.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 (8): * Single equations (assignments): 6 * 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.00235/0.3861, allocations: 1.092 MB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3863, allocations: 59.91 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3863, allocations: 4 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.3864, allocations: 27.92 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3868, allocations: 23.98 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3889, allocations: 1.662 MB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.3893, allocations: 0.7041 MB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.3894, allocations: 17.28 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.3894, allocations: 35.42 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3894, allocations: 0 / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4143, allocations: 3.658 MB / 0.5715 GB, free: 9.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.62, allocations: 7.094 kB / 0.5715 GB, free: 9.551 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.645650220976677] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.845237456960604 11.867538185 11.487001005 Calling exit ...