Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001919/0.001919, 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.002382/0.002382, allocations: 205.2 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.478/1.478, 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.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.2235/0.2235, allocations: 44.91 MB / 359.6 MB, free: 6.27 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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.003107/0.003107, allocations: 67.91 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3697, allocations: 65.47 MB / 0.5579 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003559/0.3733, allocations: 1.745 MB / 0.5596 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3752, allocations: 1.044 MB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.3752, allocations: 7.875 kB / 0.5606 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.3756, allocations: 59.75 kB / 0.5607 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.3759, allocations: 95.59 kB / 0.5607 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.3761, allocations: 79.61 kB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3763, allocations: 111.7 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.3764, allocations: 5.828 kB / 0.5609 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3765, allocations: 47.78 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.3766, allocations: 35.78 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3766, allocations: 4 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3767, allocations: 43.98 kB / 0.5611 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.3768, allocations: 31.86 kB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.3769, allocations: 47.59 kB / 0.5611 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.3771, allocations: 139.4 kB / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3771, allocations: 0 / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3771, allocations: 0 / 0.5613 GB, free: 4.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3771, allocations: 0 / 0.5613 GB, free: 4.23 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.0005823/0.3777, allocations: 377.2 kB / 0.5616 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3777, allocations: 12.03 kB / 0.5616 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.707e-05/0.3778, allocations: 4.188 kB / 0.5616 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3778, allocations: 30.75 kB / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.3779, allocations: 24.83 kB / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.3782, allocations: 159.2 kB / 0.5618 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3782, allocations: 12.06 kB / 0.5619 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3782, allocations: 0 / 0.5619 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3783, allocations: 57.67 kB / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3784, allocations: 0 / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3784, allocations: 0 / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3784, allocations: 4 kB / 0.5619 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.3784, allocations: 19.98 kB / 0.5619 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3788, allocations: 267.9 kB / 0.5622 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.379, allocations: 58.62 kB / 0.5622 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.3791, allocations: 24.84 kB / 0.5623 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3791, allocations: 0 / 0.5623 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.3793, allocations: 63.39 kB / 0.5623 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3793, allocations: 4 kB / 0.5623 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005417/0.3798, allocations: 185.3 kB / 0.5625 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3799, allocations: 59.41 kB / 0.5626 GB, free: 2.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3802, allocations: 275.7 kB / 0.5628 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3802, allocations: 33.7 kB / 0.5629 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.3803, allocations: 116.1 kB / 0.563 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3803, allocations: 23.8 kB / 0.563 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.3803, allocations: 21.72 kB / 0.563 GB, free: 2.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3805, allocations: 334.8 kB / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.3805, allocations: 23.92 kB / 0.5634 GB, free: 1.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.3806, allocations: 33.72 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3807, allocations: 57.7 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3807, allocations: 4 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.3809, allocations: 109.5 kB / 0.5636 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3809, allocations: 8 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3809, allocations: 3.938 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3809, allocations: 0 / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.381, allocations: 16 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.381, allocations: 3.938 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.3811, allocations: 8.391 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3811, allocations: 7.938 kB / 0.5636 GB, free: 1.625 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.0001151/0.3812, allocations: 137.8 kB / 0.5637 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3812, allocations: 15.91 kB / 0.5637 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.3815, allocations: 119 kB / 0.5639 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3815, allocations: 4 kB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3815, allocations: 3.938 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3815, allocations: 3.984 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.382, allocations: 378.4 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.382, allocations: 4 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.382, allocations: 7.938 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.382, allocations: 7.938 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.382, allocations: 0 / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.382, allocations: 3.984 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3821, allocations: 4 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.3823, allocations: 204.6 kB / 0.5645 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.3824, allocations: 15.84 kB / 0.5645 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3824, allocations: 4 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.3825, allocations: 4 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3825, allocations: 7.984 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3825, allocations: 4 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.3827, allocations: 208.5 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3827, allocations: 0 / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.383, allocations: 27.94 kB / 0.5647 GB, free: 396 kB / 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.002239/0.3853, allocations: 1.106 MB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.3855, allocations: 55.91 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3855, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.3856, allocations: 27.92 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3859, allocations: 28.11 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.3881, allocations: 1.824 MB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3885, allocations: 0.7197 MB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.3886, allocations: 25.27 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.3886, allocations: 43.42 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3886, allocations: 0 / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.413, allocations: 4 MB / 0.5724 GB, free: 8.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 7.172 kB / 0.5724 GB, free: 8.684 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.834751249989495] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.014325693016872 12.040276948 11.657959959 Calling exit ...