Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.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.001312/0.001312, allocations: 106.5 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.001429/0.001429, allocations: 213.2 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.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.255/0.255, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",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.002356/0.002356, allocations: 79.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4033, allocations: 66.08 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004148/0.4075, allocations: 2.057 MB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.4096, allocations: 1.138 MB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.4098, allocations: 3.938 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.4101, allocations: 47.66 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.4105, allocations: 123.4 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.4108, allocations: 107.6 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.4111, allocations: 207.4 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4112, allocations: 19.78 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.4114, allocations: 95.55 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.4115, allocations: 75.62 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.4115, allocations: 12 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4117, allocations: 51.98 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.4117, allocations: 43.77 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4118, allocations: 71.55 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.4122, allocations: 207.1 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4122, allocations: 0 / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4122, allocations: 0 / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4122, allocations: 0 / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001028/0.4132, allocations: 0.4927 MB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4133, allocations: 12.02 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.4133, allocations: 38.75 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.4134, allocations: 20.84 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.4137, allocations: 190.1 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4138, allocations: 8.312 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.4138, allocations: 12.38 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.4143, allocations: 158.6 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4143, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4143, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4143, allocations: 4 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.4148, allocations: 115.8 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.4155, allocations: 0.5194 MB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.4162, allocations: 158.6 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.4164, allocations: 64.8 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.4164, allocations: 7.938 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.4168, allocations: 143.2 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.4168, allocations: 0 / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008972/0.4177, allocations: 249.4 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.4178, allocations: 55.41 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.4181, allocations: 246.1 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.4181, allocations: 29.7 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4182, allocations: 128.4 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.4183, allocations: 43.67 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.4183, allocations: 33.7 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4185, allocations: 330.8 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.4187, allocations: 71.94 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.419, allocations: 104.2 kB / 0.5688 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.4195, allocations: 189.8 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4195, allocations: 0 / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000652/0.4202, allocations: 263 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.4202, allocations: 33.7 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4202, allocations: 4 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4202, allocations: 0 / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4204, allocations: 35.95 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.4204, allocations: 7.938 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4206, allocations: 36.05 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.4206, allocations: 8 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001434/0.4208, allocations: 138.6 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4208, allocations: 15.91 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.4214, allocations: 214.9 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4215, allocations: 4 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4215, allocations: 3.938 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4215, allocations: 0 / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.4217, allocations: 204.6 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4217, allocations: 3.938 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.4219, allocations: 23.97 kB / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4219, allocations: 0 / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4219, allocations: 4 kB / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4219, allocations: 4 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4219, allocations: 11.92 kB / 0.57 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008618/0.4228, allocations: 300.7 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.4228, allocations: 19.95 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4228, allocations: 11.98 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.423, allocations: 19.97 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.4231, allocations: 19.91 kB / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.4231, allocations: 7.938 kB / 0.5703 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.4233, allocations: 172.5 kB / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4233, allocations: 0 / 0.5705 GB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.4235, allocations: 39.94 kB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002673/0.4262, allocations: 1.136 MB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.4269, allocations: 214.3 kB / 0.5718 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4269, allocations: 0 / 0.5718 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.4271, allocations: 80.12 kB / 0.5719 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4275, allocations: 44.56 kB / 0.572 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.4312, allocations: 2.189 MB / 0.5741 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.4316, allocations: 0.7242 MB / 0.5748 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.4317, allocations: 21.48 kB / 0.5748 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.4319, allocations: 55.34 kB / 0.5749 GB, free: 6.227 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4319, allocations: 0 / 0.5749 GB, free: 6.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.4668, allocations: 5.158 MB / 0.5799 GB, free: 1.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.603, allocations: 7.297 kB / 0.5799 GB, free: 1.078 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.521304696332663] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.744627494364977 8.760326236 8.344968731 Calling exit ...