Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.001392/0.001392, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001476/0.001476, allocations: 218.5 kB / 23 MB, free: 5.582 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.451/1.451, allocations: 230.2 MB / 256.3 MB, free: 8.539 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.2239/0.2239, allocations: 46.89 MB / 359.4 MB, free: 4.898 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-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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",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.002189/0.002189, allocations: 83.86 kB / 0.4942 GB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3823, allocations: 65.98 MB / 0.5587 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003694/0.386, allocations: 1.693 MB / 0.5603 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3878, allocations: 1.022 MB / 0.5613 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3879, allocations: 4 kB / 0.5613 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.3883, allocations: 51.73 kB / 0.5614 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.3887, allocations: 107.5 kB / 0.5615 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3889, allocations: 79.66 kB / 0.5615 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3891, allocations: 99.69 kB / 0.5616 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.3892, allocations: 4.234 kB / 0.5616 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3893, allocations: 51.77 kB / 0.5617 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3894, allocations: 43.72 kB / 0.5617 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3894, allocations: 4 kB / 0.5617 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.3895, allocations: 31.98 kB / 0.5618 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.3896, allocations: 23.91 kB / 0.5618 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.3896, allocations: 27.81 kB / 0.5618 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.3899, allocations: 109.4 kB / 0.5619 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3899, allocations: 0 / 0.5619 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3899, allocations: 0 / 0.5619 GB, free: 1.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3899, allocations: 0 / 0.5619 GB, free: 1.781 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006157/0.3905, allocations: 414.7 kB / 0.5623 GB, free: 1.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3905, allocations: 8.031 kB / 0.5623 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.3906, allocations: 30.75 kB / 0.5623 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.3906, allocations: 12.89 kB / 0.5624 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3909, allocations: 216.1 kB / 0.5626 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.391, allocations: 384 / 0.5626 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.391, allocations: 4.375 kB / 0.5626 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3911, allocations: 49.8 kB / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3911, allocations: 0 / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3912, allocations: 4 kB / 0.5626 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3912, allocations: 4 kB / 0.5626 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.3912, allocations: 15.92 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.3915, allocations: 189.6 kB / 0.5628 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3916, allocations: 58.61 kB / 0.5629 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3917, allocations: 12.86 kB / 0.5629 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3917, allocations: 4 kB / 0.5629 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.3919, allocations: 63.33 kB / 0.563 GB, free: 0.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3919, allocations: 0 / 0.563 GB, free: 0.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003007/0.3922, allocations: 101.5 kB / 0.563 GB, free: 448 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3922, allocations: 55.41 kB / 0.5631 GB, free: 380 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3924, allocations: 179.3 kB / 0.5633 GB, free: 188 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3924, allocations: 25.7 kB / 0.5633 GB, free: 156 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.3925, allocations: 100.1 kB / 0.5634 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3925, allocations: 11.95 kB / 0.5634 GB, free: 40 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.3926, allocations: 21.7 kB / 0.5634 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3927, allocations: 326.8 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.3928, allocations: 12 kB / 0.5637 GB, free: 15.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.3928, allocations: 29.7 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.393, allocations: 49.58 kB / 0.5638 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.393, allocations: 0 / 0.5638 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002/0.3932, allocations: 89.47 kB / 0.5639 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3932, allocations: 12.03 kB / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3932, allocations: 0 / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3932, allocations: 0 / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.3933, allocations: 8 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.3933, allocations: 7.984 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.3933, allocations: 0 / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3933, allocations: 4 kB / 0.5639 GB, free: 15.46 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 (7): * Single equations (assignments): 7 * 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.0001004/0.3934, allocations: 117.8 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.3934, allocations: 15.83 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.3937, allocations: 102.9 kB / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3937, allocations: 0 / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3937, allocations: 4.062 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3937, allocations: 0 / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3938, allocations: 181.6 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3938, allocations: 3.938 kB / 0.5643 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.3939, allocations: 7.984 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3939, allocations: 0 / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3939, allocations: 0 / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3939, allocations: 0 / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3939, allocations: 4 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.3941, allocations: 113 kB / 0.5645 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.3941, allocations: 92.92 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3942, allocations: 4 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.3942, allocations: 4 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3942, allocations: 7.984 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3942, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3944, allocations: 141.6 kB / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3944, allocations: 0 / 0.5647 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.3946, allocations: 15.98 kB / 0.5647 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001961/0.3966, allocations: 0.9594 MB / 0.5657 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3967, allocations: 39.92 kB / 0.5657 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3967, allocations: 0 / 0.5657 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.3968, allocations: 19.98 kB / 0.5657 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3971, allocations: 29.27 kB / 0.5657 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3988, allocations: 1.493 MB / 0.5672 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3991, allocations: 0.704 MB / 0.5679 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.3992, allocations: 16.53 kB / 0.5679 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.3993, allocations: 39.36 kB / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3993, allocations: 0 / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.4243, allocations: 3.105 MB / 0.571 GB, free: 8.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.518, allocations: 14.19 kB / 0.571 GB, free: 8.164 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.312159820983652] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.642180494003696 8.659162713 8.266216954 Calling exit ...