Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.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.00187/0.00187, allocations: 109 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.001649/0.001649, allocations: 213.6 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.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.293/0.293, allocations: 46.94 MB / 361.6 MB, free: 4.191 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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",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.002306/0.002306, allocations: 79.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4094, allocations: 66.07 MB / 0.5616 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00374/0.4132, allocations: 1.753 MB / 0.5633 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4151, allocations: 1.049 MB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.4152, allocations: 0 / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.4155, allocations: 47.7 kB / 0.5643 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.4158, allocations: 91.55 kB / 0.5644 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.4161, allocations: 79.66 kB / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.4163, allocations: 99.77 kB / 0.5646 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4164, allocations: 17.94 kB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.4165, allocations: 43.73 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.4166, allocations: 35.78 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.4166, allocations: 4 kB / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.4167, allocations: 47.97 kB / 0.5647 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.4168, allocations: 23.92 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.4168, allocations: 31.75 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.4171, allocations: 115.5 kB / 0.5649 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4171, allocations: 4 kB / 0.5649 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4171, allocations: 3.938 kB / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.4171, allocations: 0 / 0.5649 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.0006175/0.4177, allocations: 345.5 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4178, allocations: 12.03 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.4178, allocations: 38.75 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.4178, allocations: 8.891 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4182, allocations: 158.9 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4182, allocations: 8.375 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4182, allocations: 384 / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4184, allocations: 57.8 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4184, allocations: 0 / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.4184, allocations: 0 / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4184, allocations: 4 kB / 0.5655 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.357e-05/0.4185, allocations: 23.92 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.4189, allocations: 256 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.4191, allocations: 58.66 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.4191, allocations: 16.86 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.4192, allocations: 3.938 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.4193, allocations: 75.38 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4193, allocations: 0 / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.4199, allocations: 177.3 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.42, allocations: 59.34 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.4202, allocations: 202.2 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.4202, allocations: 25.7 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.4203, allocations: 112.1 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.4203, allocations: 27.78 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.4203, allocations: 21.72 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4205, allocations: 326.8 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.4206, allocations: 23.98 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.4206, allocations: 33.7 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4208, allocations: 65.64 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4208, allocations: 0 / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.4209, allocations: 105.5 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.421, allocations: 10.19 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.421, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.421, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4211, allocations: 15.98 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4211, allocations: 4 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.4211, allocations: 0 / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4211, allocations: 8.031 kB / 0.5671 GB, free: 14.27 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.000134/0.4213, allocations: 130.6 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.4213, allocations: 15.91 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.4216, allocations: 115.1 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4216, allocations: 0 / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4216, allocations: 0 / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4216, allocations: 0 / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.4221, allocations: 374.3 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4221, allocations: 0 / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.4221, allocations: 11.98 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4221, allocations: 0 / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4221, allocations: 4 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4221, allocations: 3.938 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4221, allocations: 0 / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.4224, allocations: 208.3 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.4224, allocations: 11.89 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4225, allocations: 4 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.4225, allocations: 7.922 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.4226, allocations: 8.375 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.4226, allocations: 8.172 kB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.4227, allocations: 144.2 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4227, allocations: 3.938 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.423, allocations: 27.92 kB / 0.5681 GB, free: 13.12 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.002186/0.4252, allocations: 1.088 MB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.4254, allocations: 67.77 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4254, allocations: 0 / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.4254, allocations: 27.98 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.4258, allocations: 23.36 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.428, allocations: 1.662 MB / 0.5709 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.4284, allocations: 0.7041 MB / 0.5716 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.725e-05/0.4284, allocations: 16.97 kB / 0.5716 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.4285, allocations: 35.42 kB / 0.5717 GB, free: 9.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4285, allocations: 0 / 0.5717 GB, free: 9.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.4568, allocations: 3.54 MB / 0.5751 GB, free: 5.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.294, allocations: 3.938 kB / 0.5751 GB, free: 5.988 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.38709489395842] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.436559214256704 8.457684701 8.037443138 Calling exit ...