Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001982/0.001982, 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.002548/0.002548, 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.246/0.246, allocations: 46.95 MB / 361.7 MB, free: 4.266 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 59.91 kB / 0.497 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 66.04 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003336/0.3782, allocations: 1.737 MB / 0.5632 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3801, allocations: 1.053 MB / 0.5642 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.3802, allocations: 0 / 0.5642 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3805, allocations: 43.75 kB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.3808, allocations: 99.55 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.381, allocations: 75.73 kB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3811, allocations: 111.7 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.3812, allocations: 9.766 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3813, allocations: 47.78 kB / 0.5646 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.3814, allocations: 31.84 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3814, allocations: 4 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/0.3815, allocations: 39.98 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.3816, allocations: 23.86 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.3816, allocations: 39.73 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.3819, allocations: 127.4 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3819, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3819, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3819, allocations: 0 / 0.5648 GB, free: 1.008 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.0005758/0.3824, allocations: 345.6 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3825, allocations: 12.03 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.294e-05/0.3825, allocations: 192 / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.3825, allocations: 30.75 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.3826, allocations: 16.83 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3829, allocations: 155 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3829, allocations: 8.125 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.3829, allocations: 8 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3831, allocations: 49.67 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3831, allocations: 0 / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3831, allocations: 8 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3831, allocations: 3.984 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.3832, allocations: 12 kB / 0.5655 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3836, allocations: 271.9 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3837, allocations: 50.62 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.3838, allocations: 16.84 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3838, allocations: 8 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.384, allocations: 71.27 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.536e-06/0.384, allocations: 3.984 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005457/0.3845, allocations: 177.3 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3846, allocations: 59.41 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.3848, allocations: 194.2 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3848, allocations: 33.64 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3849, allocations: 104.1 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3849, allocations: 27.8 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3849, allocations: 21.7 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3851, allocations: 326.8 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.3851, allocations: 16 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.3852, allocations: 33.7 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3853, allocations: 69.62 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3853, allocations: 4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.3855, allocations: 93.59 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3855, allocations: 11.98 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3855, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3856, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.3857, allocations: 19.94 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3857, allocations: 7.938 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.3857, allocations: 0 / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3857, allocations: 7.984 kB / 0.567 GB, free: 14.57 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.000108/0.3858, allocations: 129 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3859, allocations: 15.91 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3861, allocations: 115.5 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3861, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3861, allocations: 3.938 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3861, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.3866, allocations: 370.4 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3866, allocations: 4.031 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.3866, allocations: 8 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3866, allocations: 7.938 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3867, allocations: 4 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3867, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3867, allocations: 0 / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3869, allocations: 212.2 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.3869, allocations: 19.88 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.387, allocations: 4 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.387, allocations: 0 / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.3871, allocations: 7.984 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.3871, allocations: 8 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3872, allocations: 144.4 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3872, allocations: 0 / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3875, allocations: 27.88 kB / 0.568 GB, free: 13.42 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.002203/0.3897, allocations: 1.096 MB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.3899, allocations: 47.98 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3899, allocations: 0 / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.39, allocations: 28.08 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3903, allocations: 35.75 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.3923, allocations: 1.658 MB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3927, allocations: 0.7119 MB / 0.5715 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.038e-05/0.3928, allocations: 8.984 kB / 0.5715 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.3928, allocations: 43.41 kB / 0.5716 GB, free: 9.832 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3928, allocations: 0 / 0.5716 GB, free: 9.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.4158, allocations: 3.663 MB / 0.5752 GB, free: 6.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 8.797 kB / 0.5752 GB, free: 6.242 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.822172733023763] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.890610900009051 11.909237123 11.524023283 Calling exit ...