Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001322/0.001322, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00232/0.00232, allocations: 209.3 kB / 24.54 MB, free: 4.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.451/1.451, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2295/0.2295, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",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.003618/0.003618, allocations: 83.86 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3647, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003143/0.3678, allocations: 1.642 MB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3688, allocations: 0.5499 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.3689, allocations: 0 / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3691, allocations: 103.7 kB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.3694, allocations: 119.6 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.3697, allocations: 99.69 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3698, allocations: 91.73 kB / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.3699, allocations: 11.98 kB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3701, allocations: 47.83 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3702, allocations: 67.81 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3702, allocations: 7.984 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.3703, allocations: 43.98 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.3704, allocations: 23.92 kB / 0.5643 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.3704, allocations: 39.61 kB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3706, allocations: 123.5 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3706, allocations: 3.984 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3706, allocations: 0 / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3706, allocations: 0 / 0.5644 GB, free: 1.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005227/0.3711, allocations: 353.5 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3712, allocations: 8.031 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.3712, allocations: 38.73 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3712, allocations: 8.891 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3714, allocations: 151 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.3714, allocations: 4.375 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3715, allocations: 8.375 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3716, allocations: 54.22 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3716, allocations: 15.89 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.3716, allocations: 0 / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.3716, allocations: 3.938 kB / 0.565 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.3717, allocations: 31.95 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.3721, allocations: 267.8 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3722, allocations: 42.56 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.3722, allocations: 20.94 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.3722, allocations: 0 / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3723, allocations: 34.56 kB / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.3723, allocations: 0 / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008271/0.3731, allocations: 237.5 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3731, allocations: 55.34 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.3734, allocations: 255 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3734, allocations: 29.7 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3736, allocations: 112.1 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.3736, allocations: 31.81 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.3736, allocations: 25.64 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.3739, allocations: 330.8 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.374, allocations: 23.98 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.374, allocations: 19.98 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3742, allocations: 68.83 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3742, allocations: 0 / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000206/0.3744, allocations: 101.6 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3744, allocations: 7.938 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3744, allocations: 4 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3744, allocations: 0 / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.3745, allocations: 15.98 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.3745, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.3746, allocations: 8 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3746, allocations: 11.94 kB / 0.5667 GB, free: 14.82 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.0001049/0.3747, allocations: 130.7 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3747, allocations: 15.91 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.375, allocations: 123.3 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.375, allocations: 7.938 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.375, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.375, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.3756, allocations: 386.3 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3756, allocations: 4 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.3757, allocations: 12 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3757, allocations: 3.984 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3757, allocations: 11.94 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3757, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3757, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.376, allocations: 216.2 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.376, allocations: 11.95 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.376, allocations: 7.938 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.3761, allocations: 0 / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.3761, allocations: 11.98 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3761, allocations: 8 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3763, allocations: 187.2 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3763, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.3765, allocations: 23.92 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: 2 * 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.00204/0.3786, allocations: 1.092 MB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3788, allocations: 59.97 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3788, allocations: 0 / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.3789, allocations: 35.91 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3792, allocations: 18.42 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.3814, allocations: 1.764 MB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3818, allocations: 0.7119 MB / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.3818, allocations: 12.66 kB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.3819, allocations: 35.42 kB / 0.5714 GB, free: 9.879 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3819, allocations: 0 / 0.5714 GB, free: 9.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4089, allocations: 3.362 MB / 0.5747 GB, free: 6.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.431, allocations: 9.953 kB / 0.5747 GB, free: 6.516 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.331199836917222] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.589499570894986 8.612600405 8.238658104 Calling exit ...