Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001304/0.001304, 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.001448/0.001448, allocations: 205.2 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.486/1.486, 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.2686/0.2686, allocations: 46.93 MB / 361.6 MB, free: 4.285 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.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3612, allocations: 66.05 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003089/0.3643, allocations: 1.745 MB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3661, allocations: 1.045 MB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.3661, allocations: 7.938 kB / 0.5642 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3664, allocations: 51.75 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3667, allocations: 91.61 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.3669, allocations: 83.66 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3671, allocations: 99.7 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.948e-05/0.3671, allocations: 13.81 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.3672, allocations: 51.72 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.3673, allocations: 31.84 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3673, allocations: 4 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.3674, allocations: 43.97 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.3675, allocations: 23.92 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.3675, allocations: 39.62 kB / 0.5647 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.3677, allocations: 135.4 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3677, allocations: 0 / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3677, allocations: 0 / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3677, allocations: 0 / 0.5649 GB, free: 0.9805 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.0006394/0.3684, allocations: 369.4 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3684, allocations: 8.031 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.532e-05/0.3684, allocations: 192 / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.3685, allocations: 38.75 kB / 0.5653 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3685, allocations: 8.891 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3688, allocations: 155.1 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3688, allocations: 16.06 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3689, allocations: 0 / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.369, allocations: 57.67 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.369, allocations: 0 / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.369, allocations: 4 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.369, allocations: 0 / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.3691, allocations: 19.92 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.3695, allocations: 271.9 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3697, allocations: 58.61 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.3698, allocations: 16.86 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3698, allocations: 0 / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.37, allocations: 71.38 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.37, allocations: 0 / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005713/0.3705, allocations: 173.3 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3706, allocations: 63.41 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3709, allocations: 242.9 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3709, allocations: 29.7 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.371, allocations: 112.1 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.371, allocations: 23.8 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3711, allocations: 25.64 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3712, allocations: 330.8 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.3713, allocations: 16 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3713, allocations: 37.7 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3715, allocations: 57.7 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3715, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002894/0.3718, allocations: 117.9 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3718, allocations: 4 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3718, allocations: 0 / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3718, allocations: 8.031 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.3719, allocations: 16 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3719, allocations: 7.875 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.3719, allocations: 7.984 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3719, allocations: 0 / 0.5671 GB, free: 14.45 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.0001156/0.3721, allocations: 132.7 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3721, allocations: 19.88 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.3723, allocations: 115.1 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3723, allocations: 7.938 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3724, allocations: 3.938 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3724, allocations: 0 / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.3728, allocations: 366.4 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3728, allocations: 0 / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.3729, allocations: 15.92 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3729, allocations: 4.125 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3729, allocations: 8 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3729, allocations: 7.969 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3729, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3731, allocations: 196.3 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.3732, allocations: 15.84 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.3732, allocations: 8 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.3733, allocations: 3.984 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.3733, allocations: 8 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3733, allocations: 11.92 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3735, allocations: 171.2 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3735, allocations: 0 / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3738, allocations: 27.92 kB / 0.5682 GB, free: 13.26 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.002248/0.376, allocations: 1.094 MB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.3762, allocations: 59.91 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3762, allocations: 4.062 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.3763, allocations: 23.94 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3767, allocations: 37.72 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.3788, allocations: 1.747 MB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3792, allocations: 0.7119 MB / 0.5718 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.3792, allocations: 25.22 kB / 0.5718 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.3793, allocations: 39.42 kB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3793, allocations: 0 / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.4044, allocations: 3.825 MB / 0.5756 GB, free: 5.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 4.062 kB / 0.5756 GB, free: 5.816 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.808907437953167] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.962059901037719 11.988752598 11.616600087 Calling exit ...