Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.002063/0.002063, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.002312/0.002312, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.55/1.55, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2431/0.2431, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",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.002372/0.002372, allocations: 91.78 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1319, allocations: 66.03 MB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003093/0.1349, allocations: 1.653 MB / 0.5578 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.136, allocations: 0.5605 MB / 0.5583 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.1361, allocations: 4 kB / 0.5584 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.1365, allocations: 95.67 kB / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1368, allocations: 111.6 kB / 0.5586 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1371, allocations: 119.2 kB / 0.5587 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1373, allocations: 103.7 kB / 0.5588 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1374, allocations: 27.98 kB / 0.5588 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.1375, allocations: 47.83 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1376, allocations: 67.75 kB / 0.5589 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1376, allocations: 11.92 kB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.1377, allocations: 47.98 kB / 0.559 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.1378, allocations: 23.92 kB / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.1378, allocations: 35.69 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.138, allocations: 143.3 kB / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.138, allocations: 0 / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.138, allocations: 0 / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1381, allocations: 4 kB / 0.5592 GB, free: 2.484 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005921/0.1386, allocations: 442.5 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1387, allocations: 8.031 kB / 0.5596 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.1387, allocations: 38.75 kB / 0.5596 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.1388, allocations: 12.84 kB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1391, allocations: 208.1 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1391, allocations: 8.312 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1391, allocations: 4.375 kB / 0.5598 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1393, allocations: 78.17 kB / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1393, allocations: 11.89 kB / 0.5599 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1393, allocations: 4 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1393, allocations: 7.984 kB / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1395, allocations: 39.97 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.1401, allocations: 344.7 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1402, allocations: 70.48 kB / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.1403, allocations: 28.77 kB / 0.5604 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1403, allocations: 4 kB / 0.5604 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1403, allocations: 30.56 kB / 0.5604 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1403, allocations: 0 / 0.5604 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001173/0.1415, allocations: 341.6 kB / 0.5608 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1416, allocations: 59.34 kB / 0.5608 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1418, allocations: 240 kB / 0.561 GB, free: 344 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1418, allocations: 25.7 kB / 0.5611 GB, free: 312 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.1419, allocations: 112.1 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.142, allocations: 47.64 kB / 0.5612 GB, free: 148 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.142, allocations: 25.72 kB / 0.5612 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1422, allocations: 326.8 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1423, allocations: 43.97 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1424, allocations: 43.97 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1426, allocations: 111.9 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1426, allocations: 4 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002978/0.1429, allocations: 157.6 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1429, allocations: 8 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1429, allocations: 0 / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.143, allocations: 0 / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1431, allocations: 27.92 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1431, allocations: 4 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.1432, allocations: 7.984 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1432, allocations: 4 kB / 0.562 GB, free: 15.38 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 (13): * Single equations (assignments): 13 * 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.0001282/0.1433, allocations: 137.8 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.1433, allocations: 11.91 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.1437, allocations: 195 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1438, allocations: 7.938 kB / 0.5623 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1438, allocations: 7.938 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1438, allocations: 3.984 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.1445, allocations: 0.4914 MB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1445, allocations: 0 / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1446, allocations: 27.92 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.1446, allocations: 7.938 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1446, allocations: 0 / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1446, allocations: 4 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1446, allocations: 0 / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.1449, allocations: 260.2 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.145, allocations: 89.02 kB / 0.5632 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.145, allocations: 8 kB / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.1451, allocations: 0 / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1451, allocations: 15.92 kB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1451, allocations: 8 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.1453, allocations: 181.2 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1453, allocations: 3.938 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1456, allocations: 27.94 kB / 0.5634 GB, free: 13.79 MB / 430.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 (13): * Single equations (assignments): 13 * 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.002273/0.1478, allocations: 1.141 MB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.1481, allocations: 107.9 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1482, allocations: 0 / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1483, allocations: 63.84 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1487, allocations: 26.41 kB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1511, allocations: 1.913 MB / 0.5666 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1515, allocations: 0.7197 MB / 0.5673 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.29e-05/0.1515, allocations: 24.53 kB / 0.5673 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/0.1516, allocations: 47.42 kB / 0.5673 GB, free: 9.781 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1516, allocations: 0 / 0.5673 GB, free: 9.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.1773, allocations: 3.648 MB / 0.5709 GB, free: 6.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.246, allocations: 12.41 kB / 0.5709 GB, free: 6.191 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.449265647213906] 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', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.372137872967869 8.387712657 8.246858271 Calling exit ...