Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001579/0.001579, 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.002248/0.002248, allocations: 211.9 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.645/1.645, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2388/0.2388, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",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.002339/0.002339, allocations: 79.86 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3902, allocations: 66.08 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003514/0.3938, allocations: 1.753 MB / 0.5633 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.3964, allocations: 1.738 MB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.3965, allocations: 3.938 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3968, allocations: 35.77 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3971, allocations: 95.59 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3973, allocations: 87.66 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3975, allocations: 115.6 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.308e-05/0.3976, allocations: 17.95 kB / 0.5653 GB, free: 456 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.3977, allocations: 47.78 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.3978, allocations: 47.83 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3979, allocations: 4 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3981, allocations: 111.9 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.3981, allocations: 23.92 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.3982, allocations: 35.73 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3985, allocations: 179.3 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3985, allocations: 0 / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3985, allocations: 4 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3985, allocations: 4.047 kB / 0.5658 GB, free: 15.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006102/0.3991, allocations: 365.3 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3991, allocations: 12.03 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.3992, allocations: 30.75 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3992, allocations: 8.891 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3995, allocations: 158.3 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3995, allocations: 4.375 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3995, allocations: 8.375 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3997, allocations: 79.44 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3997, allocations: 3.953 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3997, allocations: 4 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3997, allocations: 0 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.649e-05/0.3998, allocations: 23.98 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4002, allocations: 275.8 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4004, allocations: 70.62 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.4005, allocations: 20.84 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4005, allocations: 7.984 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.4007, allocations: 71.38 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4007, allocations: 4 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005942/0.4013, allocations: 201.7 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.4014, allocations: 85.05 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4016, allocations: 171.1 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4016, allocations: 29.7 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.4016, allocations: 100.1 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.4017, allocations: 31.73 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.4017, allocations: 21.72 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4019, allocations: 330.8 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.4019, allocations: 23.98 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/0.402, allocations: 50.56 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4022, allocations: 69.64 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4022, allocations: 0 / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002224/0.4024, allocations: 125.5 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4024, allocations: 6.188 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4024, allocations: 80 / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4024, allocations: 4 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.4025, allocations: 12 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4025, allocations: 7.969 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.4026, allocations: 8 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.4026, allocations: 4 kB / 0.5681 GB, free: 13.39 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 (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.0001137/0.4027, allocations: 133 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.4027, allocations: 7.953 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.403, allocations: 134.4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.403, allocations: 4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.403, allocations: 3.938 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.403, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.4035, allocations: 390.3 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4035, allocations: 3.938 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.4036, allocations: 12.03 kB / 0.5687 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4036, allocations: 0 / 0.5687 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4036, allocations: 7.984 kB / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4036, allocations: 3.938 kB / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4036, allocations: 0 / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.4039, allocations: 216.3 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.4039, allocations: 11.91 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.4039, allocations: 11.98 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.404, allocations: 7.938 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4041, allocations: 7.984 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4041, allocations: 4 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.4042, allocations: 127.2 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4042, allocations: 0 / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000301/0.4045, allocations: 51.86 kB / 0.5692 GB, free: 12.19 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 (9): * Single equations (assignments): 7 * 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.002461/0.407, allocations: 1.182 MB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4072, allocations: 75.83 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4072, allocations: 0 / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.4073, allocations: 35.92 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4076, allocations: 31.91 kB / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.4096, allocations: 1.656 MB / 0.5721 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.41, allocations: 0.7006 MB / 0.5728 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.41, allocations: 24.56 kB / 0.5728 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.4101, allocations: 39.41 kB / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4101, allocations: 0 / 0.5728 GB, free: 8.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.4418, allocations: 4.285 MB / 0.577 GB, free: 4.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.312, allocations: 0 / 0.577 GB, free: 4.188 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.524111243896186] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y'] 8.45482673868537 8.477176944 8.07417031 Calling exit ...