Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001299/0.001299, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001391/0.001391, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.48/1.48, allocations: 230.2 MB / 254.5 MB, free: 15.29 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.2364/0.2364, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002385/0.002385, allocations: 79.88 kB / 0.4912 GB, free: 8.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1175, allocations: 65.98 MB / 0.5557 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003194/0.1207, allocations: 1.616 MB / 0.5572 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1218, allocations: 0.5644 MB / 0.5578 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.1219, allocations: 4 kB / 0.5578 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1221, allocations: 27.84 kB / 0.5578 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1224, allocations: 79.62 kB / 0.5579 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1227, allocations: 111 kB / 0.558 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1229, allocations: 67.83 kB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.123, allocations: 15.98 kB / 0.5581 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.1231, allocations: 27.86 kB / 0.5581 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.1232, allocations: 31.84 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1232, allocations: 8 kB / 0.5582 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.1234, allocations: 103.9 kB / 0.5583 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.1234, allocations: 15.92 kB / 0.5583 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.1235, allocations: 27.75 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1238, allocations: 147.5 kB / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1238, allocations: 0 / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1238, allocations: 0 / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1238, allocations: 0 / 0.5584 GB, free: 3.734 MB / 414.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.0005646/0.1243, allocations: 410.8 kB / 0.5588 GB, free: 3.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1244, allocations: 12.03 kB / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.1244, allocations: 34.69 kB / 0.5589 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.1244, allocations: 8.891 kB / 0.5589 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1247, allocations: 196.2 kB / 0.5591 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1247, allocations: 4.375 kB / 0.5591 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1247, allocations: 384 / 0.5591 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1249, allocations: 67.95 kB / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1249, allocations: 3.938 kB / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1249, allocations: 0 / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1249, allocations: 4 kB / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.569e-05/0.125, allocations: 27.92 kB / 0.5592 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.1255, allocations: 288.9 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1256, allocations: 50.5 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/0.1257, allocations: 28.94 kB / 0.5595 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1257, allocations: 3.938 kB / 0.5595 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1257, allocations: 34.55 kB / 0.5596 GB, free: 2.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1257, allocations: 3.938 kB / 0.5596 GB, free: 2.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000645/0.1264, allocations: 177.6 kB / 0.5597 GB, free: 2.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.1264, allocations: 89.09 kB / 0.5598 GB, free: 2.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1266, allocations: 151.6 kB / 0.56 GB, free: 1.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1266, allocations: 25.7 kB / 0.56 GB, free: 1.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.1267, allocations: 96.12 kB / 0.5601 GB, free: 1.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1267, allocations: 27.78 kB / 0.5601 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.1268, allocations: 17.72 kB / 0.5601 GB, free: 1.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1269, allocations: 326.8 kB / 0.5604 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.019e-05/0.127, allocations: 31.97 kB / 0.5605 GB, free: 1.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1271, allocations: 45.69 kB / 0.5605 GB, free: 1.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1273, allocations: 68.83 kB / 0.5606 GB, free: 1.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1273, allocations: 0 / 0.5606 GB, free: 1.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002534/0.1275, allocations: 117.8 kB / 0.5607 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1276, allocations: 4 kB / 0.5607 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1276, allocations: 4.031 kB / 0.5607 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1276, allocations: 0 / 0.5607 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1277, allocations: 19.98 kB / 0.5607 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1277, allocations: 4.062 kB / 0.5607 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.1277, allocations: 8 kB / 0.5607 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1278, allocations: 3.938 kB / 0.5607 GB, free: 1.133 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.0001034/0.1279, allocations: 125.8 kB / 0.5608 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1279, allocations: 7.953 kB / 0.5609 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1282, allocations: 122.3 kB / 0.561 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1282, allocations: 0 / 0.561 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1282, allocations: 0 / 0.561 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1282, allocations: 0 / 0.561 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.1287, allocations: 394.3 kB / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1287, allocations: 4 kB / 0.5614 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.1288, allocations: 12 kB / 0.5614 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1288, allocations: 7.984 kB / 0.5614 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1288, allocations: 0 / 0.5614 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1288, allocations: 3.938 kB / 0.5614 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1288, allocations: 0 / 0.5614 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1291, allocations: 203.4 kB / 0.5616 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1291, allocations: 81.06 kB / 0.5616 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1292, allocations: 11.94 kB / 0.5617 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.1292, allocations: 11.92 kB / 0.5617 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1293, allocations: 0 / 0.5617 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1293, allocations: 8 kB / 0.5617 GB, free: 52 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1294, allocations: 117.3 kB / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1294, allocations: 0 / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.1297, allocations: 39.86 kB / 0.5618 GB, free: 15.9 MB / 430.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 (7): * Single equations (assignments): 7 * 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.002234/0.1319, allocations: 1.131 MB / 0.5629 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1322, allocations: 63.95 kB / 0.563 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1322, allocations: 0 / 0.563 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.1323, allocations: 35.91 kB / 0.563 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1326, allocations: 27.92 kB / 0.5631 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1345, allocations: 1.522 MB / 0.5645 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1349, allocations: 0.6962 MB / 0.5652 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.173e-05/0.135, allocations: 37.09 kB / 0.5653 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.1351, allocations: 31.42 kB / 0.5653 GB, free: 12.4 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1351, allocations: 0 / 0.5653 GB, free: 12.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.16, allocations: 3.522 MB / 0.5687 GB, free: 8.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.421, allocations: 9.609 kB / 0.5687 GB, free: 8.91 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.338412262964994] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.548127277754247 8.564620422 8.437821399 Calling exit ...