Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001253/0.001253, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001423/0.001423, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2313/0.2313, allocations: 46.94 MB / 361.6 MB, free: 4.199 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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002326/0.002326, allocations: 75.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3941, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003281/0.3974, allocations: 1.64 MB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3984, allocations: 0.5488 MB / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.3985, allocations: 0 / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.3991, allocations: 455.1 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.3997, allocations: 295.3 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.4, allocations: 135.6 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.4003, allocations: 159.6 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4004, allocations: 15.97 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.4006, allocations: 103.8 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.4009, allocations: 255.5 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.4009, allocations: 4 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.401, allocations: 27.92 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.4011, allocations: 84.61 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.4012, allocations: 103 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.4016, allocations: 264.6 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4016, allocations: 4 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4016, allocations: 0 / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4016, allocations: 0 / 0.5655 GB, free: 252 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.0008493/0.4024, allocations: 0.5854 MB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4025, allocations: 8.031 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.4025, allocations: 34.75 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.4026, allocations: 48.64 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4029, allocations: 250.8 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4029, allocations: 384 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4029, allocations: 4.375 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4031, allocations: 46.25 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4031, allocations: 3.938 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.4031, allocations: 0 / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4031, allocations: 3.938 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.4033, allocations: 43.91 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.4038, allocations: 351.9 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.4039, allocations: 38.55 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/0.404, allocations: 24.94 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.404, allocations: 0 / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.404, allocations: 34.56 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.4041, allocations: 0 / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003489/0.4044, allocations: 121.3 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4044, allocations: 51.41 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009463/0.4054, allocations: 0.8699 MB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4054, allocations: 25.7 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.4056, allocations: 228 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.4056, allocations: 7.953 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.4057, allocations: 13.72 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4059, allocations: 362.8 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.4059, allocations: 11.98 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.406, allocations: 19.98 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.4061, allocations: 44.7 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4061, allocations: 0 / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002104/0.4063, allocations: 109.4 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4063, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4063, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4064, allocations: 336 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.4065, allocations: 11.98 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4065, allocations: 3.938 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.4065, allocations: 11.95 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4065, allocations: 4 kB / 0.5687 GB, free: 12.7 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.0002128/0.4067, allocations: 214.6 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.4068, allocations: 51.7 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.4071, allocations: 121.1 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.4071, allocations: 4 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4071, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4071, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.4074, allocations: 268.6 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4074, allocations: 0 / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.4075, allocations: 15.92 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4075, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.4075, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4075, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4075, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.4078, allocations: 215.1 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.4078, allocations: 31.72 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.4078, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.4079, allocations: 7.984 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.4079, allocations: 0 / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.4079, allocations: 8 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006772/0.4086, allocations: 0.6511 MB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4086, allocations: 0 / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.4089, allocations: 23.94 kB / 0.5703 GB, free: 11.03 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.001748/0.4106, allocations: 0.9917 MB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.4108, allocations: 35.97 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4108, allocations: 0 / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.4109, allocations: 19.98 kB / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.4113, allocations: 24.83 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.4154, allocations: 3.194 MB / 0.5745 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.416, allocations: 0.8221 MB / 0.5753 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.416, allocations: 11.81 kB / 0.5753 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.4162, allocations: 111.4 kB / 0.5754 GB, free: 5.801 MB / 414.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4162, allocations: 0 / 0.5754 GB, free: 5.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.4474, allocations: 5.82 MB / 0.5811 GB, free: 15.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.524/8.972, allocations: 9.422 kB / 0.5811 GB, free: 15.97 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.88329398399219] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'clock1.y', 'clock2.y'] 9.115199425723404 9.140884394 8.734567152 Calling exit ...