Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0014/0.0014, allocations: 105.1 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.001437/0.001437, allocations: 213.9 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.509/1.509, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2451/0.2451, allocations: 46.93 MB / 361.6 MB, free: 4.223 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002252/0.002252, allocations: 87.84 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3906, allocations: 66.08 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003493/0.3941, allocations: 1.644 MB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3953, allocations: 0.58 MB / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.3954, allocations: 0 / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007292/0.3961, allocations: 463.1 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.3967, allocations: 287.3 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.3972, allocations: 179 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.3975, allocations: 175.6 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3977, allocations: 11.98 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3978, allocations: 107.8 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.3981, allocations: 255.5 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3981, allocations: 7.938 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.3982, allocations: 27.98 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.3983, allocations: 84.67 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.3984, allocations: 103 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.3988, allocations: 260.5 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3988, allocations: 0 / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3988, allocations: 0 / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3988, allocations: 0 / 0.5656 GB, free: 200 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008638/0.3997, allocations: 0.5971 MB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3997, allocations: 8.031 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.3998, allocations: 38.73 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.3999, allocations: 44.66 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4002, allocations: 242.8 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.4002, allocations: 384 / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.4002, allocations: 4.375 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4004, allocations: 58.17 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4004, allocations: 11.94 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4004, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4004, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4005, allocations: 31.97 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.4011, allocations: 371.8 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.4013, allocations: 46.55 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.4014, allocations: 28.88 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4014, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4014, allocations: 34.56 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4014, allocations: 3.938 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003899/0.4018, allocations: 133.3 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4019, allocations: 55.41 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009542/0.4028, allocations: 0.8737 MB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.4028, allocations: 25.7 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.403, allocations: 220.1 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4031, allocations: 7.906 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.4031, allocations: 17.72 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4033, allocations: 358.8 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.4034, allocations: 27.92 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.4034, allocations: 15.98 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4036, allocations: 48.7 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4036, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002114/0.4038, allocations: 113.4 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4038, allocations: 4 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4038, allocations: 0 / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.4038, allocations: 8 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.4039, allocations: 7.984 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4039, allocations: 3.938 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.404, allocations: 4 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.404, allocations: 11.98 kB / 0.5689 GB, free: 12.57 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 (3): * Single equations (assignments): 3 * 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.0002239/0.4042, allocations: 210.6 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.4043, allocations: 39.72 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.4046, allocations: 137.2 kB / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4046, allocations: 0 / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4046, allocations: 0 / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4046, allocations: 0 / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.4049, allocations: 268.6 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4049, allocations: 0 / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.405, allocations: 11.98 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.405, allocations: 0 / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.405, allocations: 0 / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.405, allocations: 3.938 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.405, allocations: 4 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.4053, allocations: 211.1 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.4054, allocations: 39.72 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.4054, allocations: 3.984 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.4055, allocations: 4 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.4055, allocations: 0 / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.4055, allocations: 8 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007116/0.4062, allocations: 0.655 MB / 0.5704 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 0.5704 GB, free: 10.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.4065, allocations: 27.88 kB / 0.5705 GB, free: 10.89 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 (3): * Single equations (assignments): 3 * 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.001743/0.4082, allocations: 0.9871 MB / 0.5714 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.4084, allocations: 43.95 kB / 0.5715 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.4084, allocations: 4 kB / 0.5715 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.4085, allocations: 23.98 kB / 0.5715 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4089, allocations: 24.58 kB / 0.5715 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.4128, allocations: 3.229 MB / 0.5747 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.4134, allocations: 0.8182 MB / 0.5755 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.4134, allocations: 27.72 kB / 0.5755 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.4136, allocations: 103.4 kB / 0.5756 GB, free: 5.602 MB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4136, allocations: 0 / 0.5756 GB, free: 5.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.4446, allocations: 5.884 MB / 0.5813 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.117, allocations: 5.547 kB / 0.5813 GB, free: 15.71 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.161722237244248] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'clock1.y', 'clock2.y'] 9.257106037810445 9.272520834 8.870455746 Calling exit ...