Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001488/0.001488, allocations: 109 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.001851/0.001851, 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.59/1.59, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2414/0.2414, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",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.002987/0.002987, allocations: 83.86 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4428, allocations: 66.09 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003677/0.4465, allocations: 1.631 MB / 0.5631 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.4477, allocations: 0.5576 MB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.4477, allocations: 4 kB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.4481, allocations: 107.7 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.4484, allocations: 123.5 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.4488, allocations: 115.7 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.449, allocations: 91.73 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4491, allocations: 12 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.4492, allocations: 43.83 kB / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.4493, allocations: 83.72 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4493, allocations: 4 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4494, allocations: 39.98 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.4495, allocations: 27.92 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.4496, allocations: 39.62 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.4498, allocations: 119.4 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4498, allocations: 0 / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4498, allocations: 0 / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4498, allocations: 0 / 0.5644 GB, free: 1.285 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.000568/0.4504, allocations: 365.5 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4504, allocations: 8.031 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.4505, allocations: 34.75 kB / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.4505, allocations: 12.89 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4507, allocations: 151.1 kB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.4507, allocations: 4.375 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.4508, allocations: 384 / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.4509, allocations: 62.16 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.451, allocations: 15.89 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.451, allocations: 0 / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.451, allocations: 0 / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.957e-05/0.4511, allocations: 27.98 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.4515, allocations: 271.9 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.4516, allocations: 50.59 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.4517, allocations: 20.84 kB / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4517, allocations: 4 kB / 0.5654 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.4517, allocations: 30.56 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4517, allocations: 0 / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009483/0.4527, allocations: 253.2 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4527, allocations: 59.39 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.453, allocations: 251 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.453, allocations: 29.7 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.4531, allocations: 108.1 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.4532, allocations: 31.64 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.4532, allocations: 21.72 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4534, allocations: 338.7 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.4534, allocations: 27.97 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.4535, allocations: 27.98 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.4537, allocations: 76.81 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4537, allocations: 0 / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002295/0.4539, allocations: 117.6 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4539, allocations: 6.344 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.454, allocations: 0 / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.454, allocations: 0 / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4541, allocations: 27.92 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4541, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.4541, allocations: 7.984 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.4541, allocations: 7.875 kB / 0.5668 GB, free: 14.68 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.0001158/0.4543, allocations: 134.7 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4543, allocations: 15.91 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.4546, allocations: 135.3 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4546, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4546, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4546, allocations: 4.359 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.4552, allocations: 410.3 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4552, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.4553, allocations: 15.98 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4553, allocations: 4 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4553, allocations: 7.938 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4553, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.4553, allocations: 7.984 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.4556, allocations: 220.2 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4557, allocations: 11.94 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4557, allocations: 3.938 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.4557, allocations: 4 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.4558, allocations: 7.984 kB / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4558, allocations: 4 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.456, allocations: 187.2 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.456, allocations: 0 / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.4562, allocations: 27.94 kB / 0.5679 GB, free: 13.41 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.002198/0.4584, allocations: 1.095 MB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.4587, allocations: 67.95 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4587, allocations: 0 / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4588, allocations: 51.95 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.4592, allocations: 20.36 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4614, allocations: 1.795 MB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.4617, allocations: 0.7197 MB / 0.5716 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.736e-05/0.4618, allocations: 24.95 kB / 0.5716 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.4619, allocations: 35.42 kB / 0.5717 GB, free: 9.625 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4619, allocations: 4 kB / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.4919, allocations: 3.412 MB / 0.575 GB, free: 6.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.369, allocations: 12.67 kB / 0.575 GB, free: 6.207 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.471489436924458] 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.512010293081403 8.535264341 8.080934475 Calling exit ...