Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001615/0.001615, 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.001874/0.001874, 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.487/1.487, 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.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.2308/0.2308, allocations: 46.94 MB / 361.7 MB, free: 4.246 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.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 72.03 kB / 0.497 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 66.03 MB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003296/0.3727, allocations: 1.745 MB / 0.5632 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3745, allocations: 1.045 MB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.3746, allocations: 3.938 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.3748, allocations: 43.77 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.3751, allocations: 99.53 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.3753, allocations: 83.66 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3755, allocations: 99.7 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.3756, allocations: 9.953 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3757, allocations: 51.72 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3758, allocations: 31.84 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3758, allocations: 4 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3759, allocations: 39.98 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.376, allocations: 19.92 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.3761, allocations: 39.73 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3763, allocations: 123.4 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3763, allocations: 0 / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3763, allocations: 0 / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3763, allocations: 0 / 0.5648 GB, free: 0.9961 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.0005693/0.3769, allocations: 341.6 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3769, allocations: 8.031 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.3769, allocations: 4.125 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.377, allocations: 38.75 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.377, allocations: 16.84 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3773, allocations: 154.3 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3773, allocations: 8.062 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.3773, allocations: 4 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3775, allocations: 53.67 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3775, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3775, allocations: 3.984 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3775, allocations: 0 / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.3776, allocations: 23.98 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.378, allocations: 256 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3782, allocations: 54.62 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.3782, allocations: 20.84 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3783, allocations: 0 / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3784, allocations: 67.39 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3784, allocations: 0 / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005543/0.379, allocations: 177.3 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.379, allocations: 59.41 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3792, allocations: 179.2 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3792, allocations: 33.69 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.3793, allocations: 104.1 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3793, allocations: 35.62 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3794, allocations: 17.72 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3795, allocations: 322.8 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.3796, allocations: 27.92 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3797, allocations: 33.7 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3798, allocations: 61.7 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3798, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.38, allocations: 101.5 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.38, allocations: 8 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.38, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.38, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.3801, allocations: 15.98 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3801, allocations: 11.88 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.3802, allocations: 384 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3802, allocations: 12.03 kB / 0.567 GB, free: 14.58 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.0001045/0.3803, allocations: 128.6 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3803, allocations: 7.953 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3806, allocations: 131.1 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3806, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3806, allocations: 3.938 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3806, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.3811, allocations: 362.4 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3811, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.3811, allocations: 11.94 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3811, allocations: 3.938 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3811, allocations: 3.984 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.3811, allocations: 4 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3811, allocations: 0 / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3814, allocations: 204.4 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.3814, allocations: 15.84 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3814, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.3815, allocations: 4 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.3815, allocations: 7.984 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3816, allocations: 4 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3817, allocations: 141.8 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3817, allocations: 3.938 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.382, allocations: 24.12 kB / 0.568 GB, free: 13.44 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 (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.002176/0.3841, allocations: 1.09 MB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.3843, allocations: 55.91 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3843, allocations: 0 / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.3844, allocations: 32.08 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3848, allocations: 33.67 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3869, allocations: 1.646 MB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3872, allocations: 0.7041 MB / 0.5715 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.794e-05/0.3873, allocations: 12.98 kB / 0.5715 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.3874, allocations: 35.42 kB / 0.5715 GB, free: 9.879 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3874, allocations: 0 / 0.5715 GB, free: 9.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.4114, allocations: 3.605 MB / 0.575 GB, free: 6.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.51, allocations: 7.938 kB / 0.5751 GB, free: 6.348 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.58519673004048] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.72466601600172 11.746619048 11.364966695 Calling exit ...