Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.00137/0.00137, 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.001501/0.001501, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.51/1.51, 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.2496/0.2496, allocations: 46.94 MB / 361.7 MB, free: 4.262 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.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 59.91 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 66.04 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003495/0.3807, allocations: 1.733 MB / 0.5632 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3825, allocations: 1.057 MB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.3826, allocations: 0 / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3829, allocations: 51.75 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.3833, allocations: 111.5 kB / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.3835, allocations: 79.72 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3837, allocations: 103.7 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3838, allocations: 5.969 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3839, allocations: 51.72 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.384, allocations: 31.84 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.384, allocations: 4 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.3841, allocations: 39.98 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.3842, allocations: 39.78 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.3842, allocations: 43.67 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.3845, allocations: 139.4 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3845, allocations: 0 / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3845, allocations: 0 / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3845, allocations: 0 / 0.5649 GB, free: 0.957 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.0005952/0.3851, allocations: 383.5 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3851, allocations: 8.031 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.3851, allocations: 8.188 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.3851, allocations: 30.75 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3852, allocations: 16.84 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3855, allocations: 171.1 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3855, allocations: 4.125 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3855, allocations: 4 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3857, allocations: 53.67 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3857, allocations: 3.984 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3857, allocations: 0 / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3857, allocations: 0 / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.3858, allocations: 23.98 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.3862, allocations: 275.8 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3863, allocations: 50.69 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.3864, allocations: 20.84 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3864, allocations: 4 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.3866, allocations: 79.31 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3866, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000572/0.3872, allocations: 177.4 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3872, allocations: 59.34 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.3875, allocations: 274.7 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3875, allocations: 25.7 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.3876, allocations: 120.1 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.3877, allocations: 27.78 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3877, allocations: 21.72 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3879, allocations: 330.8 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.3879, allocations: 16 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.388, allocations: 33.7 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.3881, allocations: 69.64 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3881, allocations: 0 / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002151/0.3883, allocations: 105.5 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3884, allocations: 8.125 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3884, allocations: 0 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3884, allocations: 11.92 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3885, allocations: 15.94 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3885, allocations: 3.938 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.3886, allocations: 12.03 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3886, allocations: 0 / 0.5672 GB, free: 14.35 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.0001313/0.3887, allocations: 133.8 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.3887, allocations: 19.89 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.389, allocations: 123.1 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.389, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.389, allocations: 3.938 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.389, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.3895, allocations: 382.4 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3895, allocations: 0 / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.3895, allocations: 8 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3896, allocations: 3.938 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3896, allocations: 4 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3896, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3896, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.3898, allocations: 208.3 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.3898, allocations: 23.83 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3899, allocations: 384 / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.3899, allocations: 0 / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.39, allocations: 15.98 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.39, allocations: 4 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.3902, allocations: 200.6 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3902, allocations: 0 / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3905, allocations: 31.92 kB / 0.5683 GB, free: 13.11 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.002333/0.3928, allocations: 1.108 MB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.393, allocations: 55.97 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.393, allocations: 0 / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.3931, allocations: 27.92 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3935, allocations: 36.27 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.3956, allocations: 1.824 MB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3961, allocations: 0.7197 MB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.213e-05/0.3961, allocations: 12.98 kB / 0.572 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.3962, allocations: 43.41 kB / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3962, allocations: 0 / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.4224, allocations: 4.012 MB / 0.576 GB, free: 5.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.75, allocations: 8 kB / 0.576 GB, free: 5.406 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.871046170010231] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.976560027047526 11.993371738 11.605670093 Calling exit ...