Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001245/0.001245, 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.001603/0.001603, 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2303/0.2303, allocations: 46.94 MB / 361.7 MB, free: 4.281 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.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 0.497 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3676, allocations: 66.02 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003269/0.3709, allocations: 1.846 MB / 0.5633 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3728, allocations: 1.116 MB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.3729, allocations: 3.938 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.3735, allocations: 311.3 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.374, allocations: 251.2 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3742, allocations: 119.6 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.3746, allocations: 267.2 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.3746, allocations: 5.812 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.3749, allocations: 143.5 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.3751, allocations: 215.5 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3752, allocations: 8 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3753, allocations: 47.98 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3754, allocations: 139.5 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.3756, allocations: 150.8 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.376, allocations: 384 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.376, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.376, allocations: 4 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.376, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001002/0.377, allocations: 0.6863 MB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3771, allocations: 8.031 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/0.3771, allocations: 192 / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.3771, allocations: 42.73 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.3772, allocations: 48.61 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.378, allocations: 398.5 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.378, allocations: 12.11 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.378, allocations: 4 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3782, allocations: 91.3 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3782, allocations: 0 / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3783, allocations: 7.984 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3783, allocations: 0 / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3784, allocations: 27.98 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3788, allocations: 357.4 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.3791, allocations: 105 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3792, allocations: 41.7 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3792, allocations: 0 / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3794, allocations: 109 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3794, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004868/0.3799, allocations: 201.2 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.38, allocations: 81.11 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3811, allocations: 1.054 MB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3812, allocations: 29.7 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3814, allocations: 236.1 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.3814, allocations: 27.8 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.3815, allocations: 33.7 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3817, allocations: 362.8 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.3818, allocations: 35.98 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3819, allocations: 55.42 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.382, allocations: 99.78 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3821, allocations: 0 / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003316/0.3824, allocations: 177.1 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3824, allocations: 8 kB / 0.5705 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3824, allocations: 0 / 0.5705 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3824, allocations: 3.984 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3825, allocations: 24 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3825, allocations: 0 / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.3826, allocations: 15.91 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3826, allocations: 4 kB / 0.5705 GB, free: 10.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002329/0.3829, allocations: 233.7 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.383, allocations: 55.62 kB / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.3834, allocations: 193.8 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3834, allocations: 4 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3834, allocations: 0 / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3834, allocations: 0 / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.3837, allocations: 324.5 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3837, allocations: 0 / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.3838, allocations: 20.23 kB / 0.5713 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3838, allocations: 0 / 0.5713 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3838, allocations: 4 kB / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3838, allocations: 7.938 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3838, allocations: 0 / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3842, allocations: 225.4 kB / 0.5716 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3843, allocations: 67.59 kB / 0.5716 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3843, allocations: 4 kB / 0.5716 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.3844, allocations: 4 kB / 0.5716 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3845, allocations: 11.98 kB / 0.5716 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3845, allocations: 7.984 kB / 0.5717 GB, free: 9.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009215/0.3854, allocations: 0.7878 MB / 0.5724 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3854, allocations: 0 / 0.5724 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3857, allocations: 40 kB / 0.5725 GB, free: 8.824 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002115/0.3878, allocations: 1.074 MB / 0.5735 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.3881, allocations: 71.91 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3881, allocations: 0 / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3882, allocations: 48.03 kB / 0.5736 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.3886, allocations: 72.23 kB / 0.5737 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/0.3948, allocations: 4.574 MB / 0.5782 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.3954, allocations: 0.8468 MB / 0.579 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.3955, allocations: 58.94 kB / 0.579 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3958, allocations: 155.4 kB / 0.5792 GB, free: 1.934 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3958, allocations: 3.938 kB / 0.5792 GB, free: 1.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.4297, allocations: 9.41 MB / 0.5884 GB, free: 8.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.47, allocations: 7.297 kB / 0.5884 GB, free: 8.613 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.435459323984105] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.694984776026104 12.7119929 12.332476212 Calling exit ...