Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001325/0.001325, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001385/0.001385, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.477/1.477, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.2379/0.2379, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",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.00302/0.00302, allocations: 79.88 kB / 0.4913 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1329, allocations: 65.98 MB / 0.5557 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003157/0.136, allocations: 1.649 MB / 0.5573 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1372, allocations: 0.5683 MB / 0.5579 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.1372, allocations: 0 / 0.5579 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.1379, allocations: 455.1 kB / 0.5583 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.1384, allocations: 291.3 kB / 0.5586 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.1388, allocations: 131.3 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.139, allocations: 171.6 kB / 0.5589 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1391, allocations: 11.98 kB / 0.5589 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1393, allocations: 119.7 kB / 0.559 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.1396, allocations: 251.5 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1396, allocations: 7.938 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1397, allocations: 39.97 kB / 0.5593 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1398, allocations: 83.69 kB / 0.5593 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.1399, allocations: 99 kB / 0.5594 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.1403, allocations: 274.5 kB / 0.5597 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1403, allocations: 4 kB / 0.5597 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1403, allocations: 0 / 0.5597 GB, free: 2.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1403, allocations: 0 / 0.5597 GB, free: 2.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00088/0.1412, allocations: 0.6684 MB / 0.5604 GB, free: 1.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1412, allocations: 12.03 kB / 0.5604 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.1412, allocations: 30.75 kB / 0.5604 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1413, allocations: 44.66 kB / 0.5604 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1417, allocations: 308.6 kB / 0.5607 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1417, allocations: 4.375 kB / 0.5607 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1417, allocations: 384 / 0.5607 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1419, allocations: 58.23 kB / 0.5608 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1419, allocations: 11.88 kB / 0.5608 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1419, allocations: 0 / 0.5608 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1419, allocations: 4 kB / 0.5608 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.142, allocations: 35.91 kB / 0.5608 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.1426, allocations: 400.6 kB / 0.5612 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1427, allocations: 42.56 kB / 0.5613 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.1428, allocations: 20.94 kB / 0.5613 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1428, allocations: 0 / 0.5613 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.1429, allocations: 46.48 kB / 0.5613 GB, free: 480 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 3.296e-06/0.1429, allocations: 3.984 kB / 0.5613 GB, free: 476 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008705/0.1437, allocations: 292.6 kB / 0.5616 GB, free: 176 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1438, allocations: 51.41 kB / 0.5617 GB, free: 112 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.1447, allocations: 0.866 MB / 0.5625 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1448, allocations: 29.7 kB / 0.5625 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.145, allocations: 220.1 kB / 0.5628 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.145, allocations: 19.75 kB / 0.5628 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.1451, allocations: 25.72 kB / 0.5628 GB, free: 14.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1453, allocations: 366.7 kB / 0.5631 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1454, allocations: 32.05 kB / 0.5632 GB, free: 14.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1455, allocations: 35.95 kB / 0.5632 GB, free: 14.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.1457, allocations: 77.03 kB / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1457, allocations: 0 / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003066/0.146, allocations: 149.3 kB / 0.5634 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1461, allocations: 8 kB / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1461, allocations: 0 / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1461, allocations: 0 / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1462, allocations: 27.91 kB / 0.5635 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.1462, allocations: 4 kB / 0.5635 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.1463, allocations: 7.984 kB / 0.5635 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1463, allocations: 4 kB / 0.5635 GB, free: 14.21 MB / 430.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 (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 prepare postOptimizeDAE: time 0.0002054/0.1465, allocations: 213.7 kB / 0.5637 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.1466, allocations: 43.72 kB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.147, allocations: 177.4 kB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.147, allocations: 4 kB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.147, allocations: 0 / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.147, allocations: 0 / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.1477, allocations: 0.4944 MB / 0.5644 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1477, allocations: 0 / 0.5644 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.1478, allocations: 31.91 kB / 0.5644 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1478, allocations: 0 / 0.5644 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1478, allocations: 4 kB / 0.5644 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1478, allocations: 3.938 kB / 0.5644 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1478, allocations: 0 / 0.5644 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.1482, allocations: 239.2 kB / 0.5646 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1483, allocations: 120.8 kB / 0.5648 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1483, allocations: 4 kB / 0.5648 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1484, allocations: 15.92 kB / 0.5648 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1485, allocations: 4 kB / 0.5648 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1485, allocations: 4 kB / 0.5648 GB, free: 12.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007034/0.1492, allocations: 0.655 MB / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1492, allocations: 0 / 0.5654 GB, free: 12.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1494, allocations: 31.94 kB / 0.5655 GB, free: 12.07 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.002088/0.1515, allocations: 1.076 MB / 0.5665 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.1518, allocations: 87.86 kB / 0.5666 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1518, allocations: 0 / 0.5666 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.152, allocations: 39.97 kB / 0.5666 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1524, allocations: 32.25 kB / 0.5667 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.1568, allocations: 3.327 MB / 0.5699 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.1573, allocations: 0.826 MB / 0.5707 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.1574, allocations: 12.98 kB / 0.5707 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1575, allocations: 107.3 kB / 0.5708 GB, free: 6.578 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1575, allocations: 0 / 0.5708 GB, free: 6.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.1878, allocations: 6.219 MB / 0.5769 GB, free: 424 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/8.984, allocations: 2.188 kB / 0.5769 GB, free: 424 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.951572725083679] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 9.12792878318578 9.141962049 8.998739712 Calling exit ...