Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001687/0.001687, 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.002237/0.002237, 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.497/1.497, 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.2522/0.2522, 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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",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.002981/0.002981, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.395, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003324/0.3983, allocations: 1.617 MB / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.4004, allocations: 1.27 MB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.4004, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.4007, allocations: 15.86 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.401, allocations: 87.61 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.4013, allocations: 91.7 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.4015, allocations: 71.77 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.4016, allocations: 11.98 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.4016, allocations: 15.94 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.4018, allocations: 39.83 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.4019, allocations: 8 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.4021, allocations: 99.88 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.4021, allocations: 15.92 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.4022, allocations: 27.86 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.4025, allocations: 139.5 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4025, allocations: 0 / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4025, allocations: 0 / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.4025, allocations: 0 / 0.5649 GB, free: 0.8203 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006162/0.4031, allocations: 321.7 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4032, allocations: 16.03 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.4032, allocations: 38.69 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.4033, allocations: 8.891 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.4035, allocations: 138.3 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.4035, allocations: 384 / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4035, allocations: 8.375 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4037, allocations: 59.95 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4037, allocations: 3.938 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4037, allocations: 11.92 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4037, allocations: 0 / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.4038, allocations: 23.98 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.4042, allocations: 244 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.4044, allocations: 42.55 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.4044, allocations: 20.8 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4045, allocations: 4 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4045, allocations: 30.56 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4045, allocations: 3.938 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005552/0.4051, allocations: 141.5 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.4051, allocations: 81.11 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4053, allocations: 148 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4053, allocations: 25.7 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.4054, allocations: 100.1 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.4054, allocations: 15.86 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.4055, allocations: 17.72 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4056, allocations: 322.8 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.4057, allocations: 19.98 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.4058, allocations: 33.7 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.4059, allocations: 49.02 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4059, allocations: 4 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.4061, allocations: 77.56 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4061, allocations: 8 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4061, allocations: 3.984 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4061, allocations: 4.031 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.4062, allocations: 8 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4062, allocations: 4 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.4062, allocations: 11.92 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.4062, allocations: 4 kB / 0.5669 GB, free: 14.59 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 (5): * Single equations (assignments): 5 * 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.4064, allocations: 118.7 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.4064, allocations: 7.953 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.4066, allocations: 90 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4066, allocations: 4 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4066, allocations: 0 / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4066, allocations: 3.984 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.4071, allocations: 321.6 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4071, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.4072, allocations: 15.92 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4072, allocations: 4 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.4072, allocations: 4 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4072, allocations: 0 / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4072, allocations: 3.938 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.4074, allocations: 175.7 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.4075, allocations: 15.94 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.4075, allocations: 0 / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.4075, allocations: 8 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.4076, allocations: 7.922 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.4076, allocations: 4 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4077, allocations: 109.3 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4077, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.408, allocations: 43.8 kB / 0.5678 GB, free: 13.59 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 (5): * Single equations (assignments): 5 * 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.002168/0.4102, allocations: 1.095 MB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4104, allocations: 47.95 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4104, allocations: 0 / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.732e-05/0.4105, allocations: 27.92 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.4109, allocations: 22.42 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.4127, allocations: 1.429 MB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.413, allocations: 0.6885 MB / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.571e-05/0.4131, allocations: 23.97 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.4132, allocations: 31.36 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4132, allocations: 0 / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.4417, allocations: 3.287 MB / 0.5743 GB, free: 6.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.412, allocations: 8.203 kB / 0.5743 GB, free: 6.945 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.509973822161555] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.573494497220963 8.594640967 8.188062265 Calling exit ...