Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002243/0.002243, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.94 MB / 361.6 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.86 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3697, allocations: 66.09 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003748/0.3734, allocations: 1.687 MB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3746, allocations: 0.6044 MB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.3747, allocations: 0 / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.3749, allocations: 59.72 kB / 0.5638 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.3752, allocations: 103.6 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.3757, allocations: 171.2 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3759, allocations: 99.69 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.376, allocations: 26.17 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.3761, allocations: 31.86 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3762, allocations: 63.73 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3763, allocations: 4 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3764, allocations: 43.98 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.3765, allocations: 27.91 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.3765, allocations: 35.75 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3768, allocations: 131.4 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3768, allocations: 4 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3768, allocations: 0 / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3768, allocations: 0 / 0.5645 GB, free: 1.188 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006854/0.3774, allocations: 349.6 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3775, allocations: 8.031 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.3775, allocations: 38.73 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3776, allocations: 12.89 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3778, allocations: 154.9 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3778, allocations: 8.375 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3779, allocations: 4.375 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3781, allocations: 66.22 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3781, allocations: 3.938 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.3781, allocations: 0 / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3781, allocations: 11.98 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3782, allocations: 47.84 kB / 0.5652 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.3787, allocations: 295.8 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.379, allocations: 62.52 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3791, allocations: 28.95 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3791, allocations: 4 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3791, allocations: 34.56 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3791, allocations: 4 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001456/0.3806, allocations: 421 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3806, allocations: 55.41 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.3809, allocations: 202.2 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3809, allocations: 29.7 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.3809, allocations: 112.1 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.381, allocations: 43.69 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.381, allocations: 21.72 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3812, allocations: 322.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3813, allocations: 55.95 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3815, allocations: 55.89 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.3817, allocations: 132.7 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3817, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003366/0.3821, allocations: 161.5 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3821, allocations: 7.984 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3821, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3821, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3822, allocations: 31.92 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3822, allocations: 3.938 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.3823, allocations: 8.547 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3823, allocations: 4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001178/0.3824, allocations: 138.6 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3825, allocations: 11.91 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.3829, allocations: 199.4 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3829, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3829, allocations: 7.875 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.383, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007564/0.3837, allocations: 471.2 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3837, allocations: 3.938 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3838, allocations: 35.91 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3838, allocations: 96 / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3838, allocations: 7.938 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3838, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3838, allocations: 4 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.3842, allocations: 281.1 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.3843, allocations: 15.84 kB / 0.5683 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3843, allocations: 7.984 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3844, allocations: 12 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3845, allocations: 11.98 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3845, allocations: 7.984 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.3846, allocations: 156.2 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3846, allocations: 0 / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3849, allocations: 24 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002272/0.3872, allocations: 1.147 MB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.3875, allocations: 131.8 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3875, allocations: 0 / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3877, allocations: 68.02 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3881, allocations: 25.89 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.3908, allocations: 1.939 MB / 0.5718 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3912, allocations: 0.7119 MB / 0.5725 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3913, allocations: 36.45 kB / 0.5725 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.3914, allocations: 43.42 kB / 0.5726 GB, free: 8.695 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3914, allocations: 0 / 0.5726 GB, free: 8.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.4196, allocations: 3.648 MB / 0.5761 GB, free: 5.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.293, allocations: 4 kB / 0.5761 GB, free: 5.051 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.37501556891948] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.432849420700222 8.448998442 8.068372137 Calling exit ...