Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.001905/0.001905, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002289/0.002289, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.5/1.5, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2524/0.2524, allocations: 46.93 MB / 361.6 MB, free: 4.227 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.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",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.002312/0.002312, allocations: 79.86 kB / 0.497 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4088, allocations: 66.09 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004031/0.4128, allocations: 1.764 MB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.4158, allocations: 1.053 MB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.4159, allocations: 4 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.4165, allocations: 87.69 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.4172, allocations: 127.5 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.4175, allocations: 79.67 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.4179, allocations: 127.7 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.418, allocations: 13.95 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.4182, allocations: 59.75 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.4184, allocations: 79.67 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.4184, allocations: 7.938 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.4186, allocations: 51.98 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.4186, allocations: 27.92 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.4187, allocations: 51.66 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.419, allocations: 139.4 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.419, allocations: 0 / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.419, allocations: 0 / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.419, allocations: 0 / 0.5652 GB, free: 0.6367 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007239/0.4198, allocations: 373.3 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4198, allocations: 12.03 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.4199, allocations: 38.73 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.4199, allocations: 12.84 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.4204, allocations: 175.3 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4204, allocations: 384 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.4204, allocations: 4.375 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.4206, allocations: 69.53 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4207, allocations: 3.938 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4207, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4207, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.4208, allocations: 23.98 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.4213, allocations: 279.9 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.4216, allocations: 58.48 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.4217, allocations: 20.98 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.4217, allocations: 0 / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.4219, allocations: 75.38 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4219, allocations: 4 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007687/0.4226, allocations: 241.3 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4227, allocations: 51.41 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.4229, allocations: 242.9 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4229, allocations: 29.7 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.423, allocations: 116.1 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.4231, allocations: 31.75 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.4231, allocations: 33.7 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4233, allocations: 326.8 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.4233, allocations: 31.92 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.4234, allocations: 41.7 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.4236, allocations: 81.64 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4236, allocations: 0 / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002378/0.4238, allocations: 133.5 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4238, allocations: 8 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4238, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4238, allocations: 3.938 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.4239, allocations: 19.98 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4239, allocations: 7.938 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.424, allocations: 3.938 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.424, allocations: 4 kB / 0.5676 GB, free: 13.91 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 (13): * Single equations (assignments): 13 * 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.0001318/0.4241, allocations: 134.7 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.4241, allocations: 19.91 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.4245, allocations: 146.9 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4245, allocations: 4 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4245, allocations: 3.938 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.4245, allocations: 0 / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.425, allocations: 415.2 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.425, allocations: 3.938 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.4251, allocations: 23.92 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4251, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4251, allocations: 4 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4251, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4251, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.4254, allocations: 237.1 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.4254, allocations: 15.84 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.4255, allocations: 15.94 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.4255, allocations: 0 / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.4256, allocations: 7.984 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.4256, allocations: 11.98 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.4258, allocations: 171.2 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4258, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.4261, allocations: 35.92 kB / 0.5688 GB, free: 12.59 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: 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 (11): * Single equations (assignments): 9 * 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.002399/0.4285, allocations: 1.171 MB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.4287, allocations: 83.84 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4287, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.4288, allocations: 35.92 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4291, allocations: 31.72 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.4313, allocations: 1.845 MB / 0.5719 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4317, allocations: 0.7158 MB / 0.5726 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.4318, allocations: 24.62 kB / 0.5726 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.4319, allocations: 47.34 kB / 0.5726 GB, free: 8.676 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4319, allocations: 192 / 0.5726 GB, free: 8.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4589, allocations: 4.052 MB / 0.5766 GB, free: 4.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.321, allocations: 7.438 kB / 0.5766 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.414603854063898] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.46603774279356 8.492721614 8.068551213 Calling exit ...