Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.001776/0.001776, allocations: 110.5 kB / 20.42 MB, free: 1.684 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.001443/0.001443, allocations: 215.5 kB / 23.72 MB, free: 5.055 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.457/1.457, allocations: 230.2 MB / 257.1 MB, free: 8.496 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.2495/0.2495, allocations: 46.9 MB / 360.3 MB, free: 4.641 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",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.002413/0.002413, allocations: 87.84 kB / 0.4956 GB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4363, allocations: 65.99 MB / 0.5601 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003741/0.4401, allocations: 1.737 MB / 0.5618 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.4421, allocations: 1.053 MB / 0.5628 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.4422, allocations: 4 kB / 0.5628 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4425, allocations: 47.75 kB / 0.5628 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.4429, allocations: 91.59 kB / 0.5629 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.4431, allocations: 79.69 kB / 0.563 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.4433, allocations: 103.7 kB / 0.5631 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4434, allocations: 17.75 kB / 0.5631 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.4435, allocations: 43.73 kB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.4436, allocations: 35.83 kB / 0.5632 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.4436, allocations: 4 kB / 0.5632 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4437, allocations: 39.98 kB / 0.5632 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.4438, allocations: 23.92 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.4439, allocations: 35.73 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.4441, allocations: 123.4 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4441, allocations: 4 kB / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4441, allocations: 0 / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4441, allocations: 0 / 0.5634 GB, free: 1.453 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.0006214/0.4447, allocations: 422.7 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4448, allocations: 8.031 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.4448, allocations: 38.75 kB / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.4448, allocations: 12.88 kB / 0.5639 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.4452, allocations: 204.9 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4453, allocations: 4.359 kB / 0.5641 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4453, allocations: 12.38 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4454, allocations: 57.73 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4455, allocations: 0 / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4455, allocations: 4 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4455, allocations: 0 / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.4455, allocations: 19.98 kB / 0.5642 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.4459, allocations: 292.8 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4461, allocations: 58.61 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.4462, allocations: 16.86 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.4462, allocations: 0 / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.4464, allocations: 71.33 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4464, allocations: 0 / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.4469, allocations: 181.5 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.447, allocations: 51.41 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.4472, allocations: 194.4 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4472, allocations: 29.7 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.4473, allocations: 100.1 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.4473, allocations: 27.78 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.4474, allocations: 21.72 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4475, allocations: 334.6 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.4476, allocations: 19.98 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.4476, allocations: 41.58 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.4478, allocations: 57.72 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4478, allocations: 0 / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.448, allocations: 109.5 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.448, allocations: 10.53 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.448, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.448, allocations: 4.375 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.4481, allocations: 15.98 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.4481, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.4481, allocations: 12 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4482, allocations: 7.938 kB / 0.5657 GB, free: 14.82 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.0001192/0.4483, allocations: 129.8 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.4483, allocations: 7.953 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.4485, allocations: 115 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4485, allocations: 4 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4486, allocations: 0 / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4486, allocations: 0 / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.4491, allocations: 395.3 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4491, allocations: 0 / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.4491, allocations: 11.98 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4491, allocations: 0 / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.4491, allocations: 15.97 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4491, allocations: 0 / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4491, allocations: 3.938 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4494, allocations: 204.5 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.4494, allocations: 89.05 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.4495, allocations: 7.938 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.4495, allocations: 11.98 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.4496, allocations: 4 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.4496, allocations: 4 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.4497, allocations: 148.2 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4497, allocations: 0 / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.45, allocations: 27.92 kB / 0.5669 GB, free: 13.55 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.002116/0.4521, allocations: 1.092 MB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.4523, allocations: 59.91 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4523, allocations: 0 / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/0.4523, allocations: 20 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.4527, allocations: 34.72 kB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.4549, allocations: 1.672 MB / 0.5697 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4553, allocations: 0.708 MB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.4553, allocations: 25.11 kB / 0.5704 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.4554, allocations: 39.42 kB / 0.5704 GB, free: 9.93 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4554, allocations: 0 / 0.5704 GB, free: 9.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.484, allocations: 3.48 MB / 0.5738 GB, free: 6.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.512, allocations: 8.797 kB / 0.5738 GB, free: 6.441 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.483819286804646] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.639652481302619 8.654504569 8.20746874 Calling exit ...