Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001639/0.001639, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001487/0.001487, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2318/0.2318, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 63.89 kB / 0.4969 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3894, allocations: 66.03 MB / 0.5614 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003361/0.3928, allocations: 1.682 MB / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3946, allocations: 0.9481 MB / 0.564 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.3947, allocations: 0 / 0.564 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.395, allocations: 59.75 kB / 0.564 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.3954, allocations: 95.59 kB / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3955, allocations: 75.67 kB / 0.5642 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3957, allocations: 95.69 kB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.3958, allocations: 12.23 kB / 0.5643 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.3959, allocations: 47.78 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.396, allocations: 39.72 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.396, allocations: 4 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.3961, allocations: 27.98 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.3961, allocations: 27.92 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.3962, allocations: 31.73 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3964, allocations: 125.2 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3964, allocations: 0 / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3964, allocations: 0 / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3964, allocations: 0 / 0.5646 GB, free: 0.9688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006238/0.3971, allocations: 377.3 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3971, allocations: 8.031 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.263e-05/0.3971, allocations: 192 / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.3971, allocations: 30.75 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.3972, allocations: 12.89 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.3975, allocations: 159.2 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3975, allocations: 8.125 kB / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3975, allocations: 0 / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3977, allocations: 53.67 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3977, allocations: 4 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3977, allocations: 7.922 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3977, allocations: 0 / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.3978, allocations: 15.94 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.398, allocations: 160.8 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3982, allocations: 58.55 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.3983, allocations: 24.78 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3983, allocations: 0 / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.3985, allocations: 67.33 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.3985, allocations: 4 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003436/0.3988, allocations: 105.6 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3988, allocations: 55.39 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3991, allocations: 274.8 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3992, allocations: 25.7 kB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.3993, allocations: 116.1 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.3993, allocations: 15.84 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3994, allocations: 21.7 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3996, allocations: 326.8 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.3996, allocations: 19.98 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-05/0.3997, allocations: 33.66 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3999, allocations: 49.64 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3999, allocations: 0 / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00019/0.4, allocations: 89.52 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4001, allocations: 4 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4001, allocations: 0 / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.4001, allocations: 4 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4002, allocations: 8 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4002, allocations: 4.031 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.4003, allocations: 11.94 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.4003, allocations: 0 / 0.5666 GB, free: 14.64 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 (7): * Single equations (assignments): 7 * 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.0001955/0.4005, allocations: 137.8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4005, allocations: 15.91 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.4008, allocations: 106.7 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4008, allocations: 4 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4008, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4008, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.401, allocations: 169 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.401, allocations: 4 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.401, allocations: 8 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.401, allocations: 3.938 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4011, allocations: 0 / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4011, allocations: 4 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4011, allocations: 0 / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.4013, allocations: 128.9 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.4014, allocations: 15.89 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4014, allocations: 0 / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.4014, allocations: 4 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.4015, allocations: 11.98 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.4015, allocations: 7.938 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.4018, allocations: 200.6 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4018, allocations: 0 / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.402, allocations: 23.92 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002402/0.4044, allocations: 0.986 MB / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4046, allocations: 35.98 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4046, allocations: 0 / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.4047, allocations: 27.98 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.405, allocations: 37.02 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.4071, allocations: 1.698 MB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.4072, allocations: 105.8 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.4072, allocations: 12.47 kB / 0.5703 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.4073, allocations: 47.42 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4073, allocations: 0 / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.4325, allocations: 3.831 MB / 0.5741 GB, free: 7.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.84, allocations: 14.06 kB / 0.5741 GB, free: 7.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.914963391027413] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.05680848902557 12.084282309 11.682718101 Calling exit ...