Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001988/0.001988, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.002415/0.002415, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.563/1.563, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2372/0.2372, allocations: 46.88 MB / 357.4 MB, free: 10.53 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.002262/0.002262, allocations: 79.86 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 65.99 MB / 0.5557 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002981/0.118, allocations: 1.622 MB / 0.5573 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1191, allocations: 0.5527 MB / 0.5578 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.1191, allocations: 0 / 0.5578 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1193, allocations: 31.78 kB / 0.5578 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1196, allocations: 75.69 kB / 0.5579 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1198, allocations: 91.69 kB / 0.558 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.12, allocations: 79.77 kB / 0.5581 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.1201, allocations: 7.984 kB / 0.5581 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.1201, allocations: 27.92 kB / 0.5581 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.1202, allocations: 35.83 kB / 0.5581 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1202, allocations: 4 kB / 0.5581 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1204, allocations: 99.89 kB / 0.5582 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.1205, allocations: 23.91 kB / 0.5583 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1205, allocations: 27.8 kB / 0.5583 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.1208, allocations: 151.4 kB / 0.5584 GB, free: 3.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1208, allocations: 0 / 0.5584 GB, free: 3.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1208, allocations: 4 kB / 0.5584 GB, free: 3.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1208, allocations: 0 / 0.5584 GB, free: 3.594 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005237/0.1213, allocations: 414.7 kB / 0.5588 GB, free: 3.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1213, allocations: 12.03 kB / 0.5588 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.1214, allocations: 34.69 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.1214, allocations: 8.891 kB / 0.5589 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1216, allocations: 188.3 kB / 0.5591 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1216, allocations: 4.375 kB / 0.5591 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1217, allocations: 4.312 kB / 0.5591 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1218, allocations: 71.95 kB / 0.5591 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1218, allocations: 3.938 kB / 0.5591 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1218, allocations: 0 / 0.5591 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1219, allocations: 3.938 kB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.122, allocations: 31.97 kB / 0.5592 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1224, allocations: 304.8 kB / 0.5595 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1225, allocations: 62.5 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.1226, allocations: 20.97 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1226, allocations: 4 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1226, allocations: 34.56 kB / 0.5596 GB, free: 2.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1226, allocations: 0 / 0.5596 GB, free: 2.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006332/0.1233, allocations: 185.4 kB / 0.5598 GB, free: 2.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.1233, allocations: 81.11 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1235, allocations: 152 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1235, allocations: 25.7 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.1236, allocations: 100.1 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1236, allocations: 31.77 kB / 0.5601 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.1237, allocations: 25.66 kB / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1238, allocations: 326.8 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.1239, allocations: 27.98 kB / 0.5605 GB, free: 1.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.124, allocations: 49.69 kB / 0.5605 GB, free: 1.184 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1242, allocations: 68.81 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1242, allocations: 32 / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002447/0.1244, allocations: 121.7 kB / 0.5607 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1244, allocations: 5.719 kB / 0.5607 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1244, allocations: 96 / 0.5607 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1244, allocations: 4.312 kB / 0.5607 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1245, allocations: 19.98 kB / 0.5607 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1245, allocations: 0 / 0.5607 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.1246, allocations: 15.94 kB / 0.5608 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1246, allocations: 11.92 kB / 0.5608 GB, free: 0.9336 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 (9): * Single equations (assignments): 9 * 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 9.247e-05/0.1247, allocations: 121.8 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.1247, allocations: 7.953 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.125, allocations: 110.4 kB / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.125, allocations: 0 / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.125, allocations: 3.984 kB / 0.561 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.125, allocations: 0 / 0.561 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.1256, allocations: 414.3 kB / 0.5614 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1256, allocations: 0 / 0.5614 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.1256, allocations: 23.92 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1257, allocations: 0 / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1257, allocations: 4 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1257, allocations: 3.938 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1257, allocations: 0 / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.126, allocations: 195.5 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.126, allocations: 89.05 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.126, allocations: 4 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1261, allocations: 7.938 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.1262, allocations: 3.984 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.1262, allocations: 4 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1263, allocations: 115.2 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1263, allocations: 4 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1266, allocations: 43.88 kB / 0.5619 GB, free: 15.69 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 (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.002209/0.1288, allocations: 1.126 MB / 0.563 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.129, allocations: 83.86 kB / 0.5631 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.129, allocations: 0 / 0.5631 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.1291, allocations: 27.98 kB / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1295, allocations: 26.88 kB / 0.5631 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1314, allocations: 1.546 MB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1317, allocations: 0.7039 MB / 0.5653 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.348e-05/0.1318, allocations: 24.41 kB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.1319, allocations: 31.42 kB / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1319, allocations: 0 / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.1557, allocations: 3.595 MB / 0.5689 GB, free: 8.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.443, allocations: 6.047 kB / 0.5689 GB, free: 8.613 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.464912853669375] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y'] 8.567500421777368 8.5950829 8.468988699 Calling exit ...