Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001746/0.001746, 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.002254/0.002254, 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.485/1.485, allocations: 230.5 MB / 258.2 MB, free: 8.059 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.2437/0.2437, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",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.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4009, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003281/0.4042, allocations: 1.637 MB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.4064, allocations: 1.274 MB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.4064, allocations: 4 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.4067, allocations: 31.8 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.407, allocations: 83.61 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.4074, allocations: 111.7 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.4075, allocations: 79.77 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4077, allocations: 19.92 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.4077, allocations: 31.86 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.4079, allocations: 39.83 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.4079, allocations: 8 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.4081, allocations: 99.88 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.4081, allocations: 23.92 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.4082, allocations: 27.8 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.4085, allocations: 155.5 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4085, allocations: 0 / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4085, allocations: 0 / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4085, allocations: 0 / 0.565 GB, free: 0.6914 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005509/0.4091, allocations: 341.5 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4091, allocations: 12.03 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.4091, allocations: 34.75 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.4092, allocations: 8.891 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.4094, allocations: 144.7 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.4094, allocations: 4.375 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4094, allocations: 4.375 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.4096, allocations: 79.88 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.4097, allocations: 3.938 kB / 0.5656 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4097, allocations: 15.92 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4097, allocations: 4 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.4098, allocations: 35.91 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.4103, allocations: 283.8 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4104, allocations: 54.55 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.4105, allocations: 20.97 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4105, allocations: 4 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4105, allocations: 34.56 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4105, allocations: 0 / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007532/0.4113, allocations: 197.4 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4113, allocations: 81.05 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.4115, allocations: 157.5 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4115, allocations: 29.7 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.4116, allocations: 96.12 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.4117, allocations: 35.72 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.4117, allocations: 21.72 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4119, allocations: 318.8 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.4119, allocations: 23.98 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.412, allocations: 50.06 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.4122, allocations: 72.81 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4122, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.4124, allocations: 113.5 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4125, allocations: 6.031 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4125, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4125, allocations: 4.031 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4126, allocations: 19.98 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4126, allocations: 320 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.4126, allocations: 7.938 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4126, allocations: 4 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001077/0.4128, allocations: 122.7 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.4128, allocations: 11.91 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.4131, allocations: 134.3 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4131, allocations: 4 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4131, allocations: 3.984 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4131, allocations: 3.938 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.4137, allocations: 373.5 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4137, allocations: 4 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.4137, allocations: 15.94 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4137, allocations: 3.938 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4138, allocations: 7.984 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4138, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4138, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.4141, allocations: 199.5 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.4141, allocations: 11.88 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.4141, allocations: 7.938 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.4142, allocations: 8 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.4142, allocations: 7.984 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4142, allocations: 4 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.4143, allocations: 115.2 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4143, allocations: 0 / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.4146, allocations: 43.81 kB / 0.5683 GB, free: 13.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002232/0.4169, allocations: 1.127 MB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.4171, allocations: 71.89 kB / 0.5695 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4171, allocations: 0 / 0.5695 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.4172, allocations: 35.98 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.4176, allocations: 22.17 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4196, allocations: 1.562 MB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.4199, allocations: 0.6963 MB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.764e-05/0.42, allocations: 24.72 kB / 0.5718 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.4201, allocations: 39.41 kB / 0.5718 GB, free: 9.512 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4201, allocations: 0 / 0.5718 GB, free: 9.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.4498, allocations: 3.54 MB / 0.5753 GB, free: 5.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.625, allocations: 9.641 kB / 0.5753 GB, free: 5.938 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.693061816040426] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y'] 8.777833390980959 8.802207894 8.390341516 Calling exit ...