Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001964/0.001964, 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.002298/0.002298, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2283/0.2283, allocations: 46.93 MB / 361.6 MB, free: 4.27 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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.363, allocations: 66.03 MB / 0.5615 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00392/0.367, allocations: 1.838 MB / 0.5633 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.3704, allocations: 1.812 MB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3706, allocations: 3.938 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.371, allocations: 51.7 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.3715, allocations: 139.4 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.3718, allocations: 107.6 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.3721, allocations: 203.3 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.3721, allocations: 5.812 kB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.3723, allocations: 103.5 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.3725, allocations: 83.67 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.3726, allocations: 8 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.3728, allocations: 119.9 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.3728, allocations: 35.84 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.3729, allocations: 63.59 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.3733, allocations: 229 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3733, allocations: 3.938 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3733, allocations: 0 / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3733, allocations: 0 / 0.5661 GB, free: 15.64 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.0008156/0.3741, allocations: 435.2 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3742, allocations: 8.031 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.721e-05/0.3742, allocations: 4.188 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.3742, allocations: 34.75 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.3743, allocations: 20.78 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.3748, allocations: 194.1 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.3748, allocations: 12.12 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3748, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.375, allocations: 105.1 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3751, allocations: 3.938 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3751, allocations: 3.984 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3751, allocations: 4 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3752, allocations: 27.98 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.3755, allocations: 189.6 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.3758, allocations: 109.1 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.3759, allocations: 41.69 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3759, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.3761, allocations: 113 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.3761, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004689/0.3766, allocations: 165.4 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/0.3767, allocations: 132.5 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.377, allocations: 240.1 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.377, allocations: 33.7 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.3771, allocations: 120.1 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.3771, allocations: 31.73 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3772, allocations: 29.7 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3773, allocations: 326.8 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.3774, allocations: 28.48 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3775, allocations: 81.12 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3777, allocations: 91.3 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3777, allocations: 0 / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002793/0.378, allocations: 141.5 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.378, allocations: 10.5 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.378, allocations: 0 / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.378, allocations: 4 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3782, allocations: 19.98 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3782, allocations: 3.938 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.3783, allocations: 15.95 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3783, allocations: 4 kB / 0.5688 GB, free: 12.64 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001635/0.3784, allocations: 142.3 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3785, allocations: 19.91 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.3788, allocations: 142.7 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3788, allocations: 4 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3788, allocations: 256 / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3788, allocations: 3.984 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.379, allocations: 208.5 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.379, allocations: 0 / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.3791, allocations: 8 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3791, allocations: 4 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3791, allocations: 0 / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3791, allocations: 7.984 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3791, allocations: 0 / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.3794, allocations: 169.7 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.3794, allocations: 19.91 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3795, allocations: 3.984 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.3796, allocations: 12 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3796, allocations: 7.984 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3796, allocations: 4 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.3798, allocations: 177.8 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3798, allocations: 0 / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.3801, allocations: 55.86 kB / 0.5697 GB, free: 11.59 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002303/0.3824, allocations: 1.118 MB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3827, allocations: 75.91 kB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3827, allocations: 0 / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3828, allocations: 35.92 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3832, allocations: 61.33 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.3856, allocations: 1.896 MB / 0.5729 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3859, allocations: 0.7125 MB / 0.5736 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.938e-05/0.386, allocations: 37.55 kB / 0.5736 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3861, allocations: 59.41 kB / 0.5736 GB, free: 7.629 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3861, allocations: 0 / 0.5736 GB, free: 7.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.4127, allocations: 5.539 MB / 0.5791 GB, free: 2.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 8.062 kB / 0.5791 GB, free: 2.145 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.860094904026482] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 11.985193755012006 12.000826146 11.624323569 Calling exit ...