Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001691/0.001691, allocations: 112.5 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.001964/0.001964, 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2328/0.2328, allocations: 46.93 MB / 361.6 MB, free: 4.309 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.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 59.91 kB / 0.497 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 66.04 MB / 0.5615 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00309/0.3441, allocations: 1.698 MB / 0.5631 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3458, allocations: 1.018 MB / 0.5641 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.3458, allocations: 3.938 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.3461, allocations: 67.72 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.3464, allocations: 111.5 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3466, allocations: 67.73 kB / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3468, allocations: 111.6 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.3468, allocations: 12.22 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3469, allocations: 51.77 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.347, allocations: 51.72 kB / 0.5646 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.3471, allocations: 4 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.3471, allocations: 31.97 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.3472, allocations: 19.92 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.3472, allocations: 27.81 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3474, allocations: 109.4 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3474, allocations: 3.938 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3475, allocations: 0 / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3475, allocations: 4 kB / 0.5648 GB, free: 1.074 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.0005499/0.348, allocations: 337.6 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.348, allocations: 12.03 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.33e-05/0.3481, allocations: 192 / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.3481, allocations: 34.73 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3481, allocations: 16.84 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.3484, allocations: 147 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3484, allocations: 4.125 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3485, allocations: 8 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3486, allocations: 49.67 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3486, allocations: 4 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3486, allocations: 0 / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3486, allocations: 0 / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.3487, allocations: 19.92 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.3489, allocations: 156.7 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3491, allocations: 54.56 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.3491, allocations: 24.83 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3491, allocations: 0 / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.3493, allocations: 63.39 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3493, allocations: 3.938 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003031/0.3496, allocations: 93.56 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3496, allocations: 63.39 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3498, allocations: 190.3 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3498, allocations: 29.7 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.3499, allocations: 100.1 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.3499, allocations: 15.83 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.35, allocations: 21.72 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3501, allocations: 318.8 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.3502, allocations: 16 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.3503, allocations: 37.64 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3504, allocations: 49.58 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3504, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.3505, allocations: 85.53 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3505, allocations: 4 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3505, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3506, allocations: 8.031 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.3506, allocations: 11.98 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3507, allocations: 0 / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.3507, allocations: 4 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3507, allocations: 0 / 0.5667 GB, free: 14.93 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.0001038/0.3508, allocations: 132.7 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3508, allocations: 12.27 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.351, allocations: 94.7 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.351, allocations: 4 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.351, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.351, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3512, allocations: 168.6 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3512, allocations: 0 / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.3512, allocations: 4 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3512, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3512, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3512, allocations: 4 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3512, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3514, allocations: 121 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.3514, allocations: 7.953 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3515, allocations: 3.984 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.3515, allocations: 3.938 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.3515, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3515, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.3517, allocations: 148.2 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3517, allocations: 0 / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000229/0.3519, allocations: 27.92 kB / 0.5674 GB, free: 14.12 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 (5): * Single equations (assignments): 3 * 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.001855/0.3538, allocations: 0.9432 MB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.3539, allocations: 39.92 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3539, allocations: 4.062 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.354, allocations: 12 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3543, allocations: 31.97 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.356, allocations: 1.51 MB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3563, allocations: 0.6963 MB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.3564, allocations: 24.7 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.3565, allocations: 31.42 kB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3565, allocations: 0 / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.3806, allocations: 3.339 MB / 0.5739 GB, free: 7.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 7.938 kB / 0.5739 GB, free: 7.582 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.639461760001723] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.777136840042658 11.795535579 11.444835663 Calling exit ...