Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.001307/0.001307, 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.001527/0.001527, allocations: 213.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.489/1.489, allocations: 230.5 MB / 258.2 MB, free: 8 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.2501/0.2501, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",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.002734/0.002734, allocations: 72.16 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3906, allocations: 66.09 MB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003401/0.394, allocations: 1.737 MB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3959, allocations: 1.049 MB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.396, allocations: 0 / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.3964, allocations: 91.62 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.3968, allocations: 111.6 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.397, allocations: 79.67 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3972, allocations: 115.7 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3973, allocations: 13.97 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3975, allocations: 63.69 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3976, allocations: 51.83 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.3976, allocations: 7.984 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3978, allocations: 47.98 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.3978, allocations: 27.84 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.3979, allocations: 35.69 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.3982, allocations: 123.4 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3982, allocations: 4 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3982, allocations: 0 / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3982, allocations: 4 kB / 0.565 GB, free: 0.7148 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.0006754/0.3989, allocations: 357.4 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3989, allocations: 8.031 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.3989, allocations: 38.73 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.399, allocations: 12.84 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3993, allocations: 162.2 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3994, allocations: 4.375 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3994, allocations: 4.359 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3995, allocations: 61.8 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3996, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3996, allocations: 4 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3996, allocations: 0 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3997, allocations: 20.03 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.4001, allocations: 275.8 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.4003, allocations: 58.69 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.4003, allocations: 20.84 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.4004, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.4005, allocations: 63.39 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4005, allocations: 3.938 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005779/0.4011, allocations: 173.4 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4012, allocations: 55.41 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.4015, allocations: 231.4 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4015, allocations: 25.7 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.4016, allocations: 108.1 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.4016, allocations: 23.8 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.4016, allocations: 29.7 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4018, allocations: 326.8 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.4019, allocations: 20 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.4019, allocations: 37.7 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.4021, allocations: 61.69 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4021, allocations: 3.938 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.4023, allocations: 101.6 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4023, allocations: 8 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4023, allocations: 192 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4023, allocations: 4.031 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.4024, allocations: 19.88 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4024, allocations: 4 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.4024, allocations: 3.984 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4025, allocations: 8 kB / 0.5673 GB, free: 14.21 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.0001256/0.4026, allocations: 130.6 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.4026, allocations: 11.91 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.4029, allocations: 123.1 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4029, allocations: 4 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4029, allocations: 3.984 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4029, allocations: 0 / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.4035, allocations: 370.3 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4035, allocations: 0 / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.4035, allocations: 8.375 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4035, allocations: 0 / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4035, allocations: 7.984 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.4035, allocations: 11.97 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4035, allocations: 4 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.4038, allocations: 196.3 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.4038, allocations: 11.95 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.4039, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.4039, allocations: 15.86 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.404, allocations: 11.94 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.404, allocations: 0 / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.4042, allocations: 173.1 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4042, allocations: 0 / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000261/0.4044, allocations: 31.89 kB / 0.5683 GB, free: 13.02 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.002148/0.4066, allocations: 1.088 MB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.4067, allocations: 59.84 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4067, allocations: 64 / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.4068, allocations: 31.92 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.4072, allocations: 27.73 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.4091, allocations: 1.717 MB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.4095, allocations: 0.7119 MB / 0.5719 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.4095, allocations: 16.97 kB / 0.5719 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.4096, allocations: 35.42 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4096, allocations: 0 / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.4373, allocations: 3.65 MB / 0.5755 GB, free: 5.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.229, allocations: 8 kB / 0.5755 GB, free: 5.715 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.328438136726618] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.39015746396035 8.412417624 8.010730646 Calling exit ...