Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001215/0.001215, 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.001409/0.001409, 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.533/1.533, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2298/0.2298, allocations: 46.89 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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",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.002414/0.002414, allocations: 77.5 kB / 0.4912 GB, free: 26.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1446, allocations: 65.98 MB / 0.5557 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003204/0.1478, allocations: 1.607 MB / 0.5572 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1489, allocations: 0.5489 MB / 0.5578 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.149, allocations: 0 / 0.5578 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.1492, allocations: 27.78 kB / 0.5578 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.1495, allocations: 79.67 kB / 0.5579 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1498, allocations: 111.5 kB / 0.558 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1499, allocations: 71.83 kB / 0.5581 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.15, allocations: 15.88 kB / 0.5581 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.1501, allocations: 19.92 kB / 0.5581 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.1501, allocations: 27.84 kB / 0.5581 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1502, allocations: 0 / 0.5581 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.1502, allocations: 31.98 kB / 0.5581 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1503, allocations: 15.94 kB / 0.5582 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.1503, allocations: 27.8 kB / 0.5582 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1505, allocations: 87.59 kB / 0.5583 GB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1505, allocations: 0 / 0.5583 GB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1505, allocations: 4 kB / 0.5583 GB, free: 6.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1505, allocations: 0 / 0.5583 GB, free: 6.434 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.0006168/0.1512, allocations: 390.9 kB / 0.5586 GB, free: 6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1512, allocations: 8.031 kB / 0.5587 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1512, allocations: 38.73 kB / 0.5587 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.1513, allocations: 12.84 kB / 0.5587 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1515, allocations: 196.8 kB / 0.5589 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1515, allocations: 4.375 kB / 0.5589 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1515, allocations: 4.375 kB / 0.5589 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1517, allocations: 53.56 kB / 0.559 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1517, allocations: 4 kB / 0.559 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1517, allocations: 3.984 kB / 0.559 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1517, allocations: 3.938 kB / 0.559 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.1518, allocations: 23.97 kB / 0.559 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.1522, allocations: 280.9 kB / 0.5593 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1524, allocations: 54.48 kB / 0.5593 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.1525, allocations: 16.86 kB / 0.5593 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1525, allocations: 0 / 0.5593 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1525, allocations: 38.5 kB / 0.5594 GB, free: 5.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1525, allocations: 0 / 0.5594 GB, free: 5.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005838/0.1531, allocations: 165.4 kB / 0.5595 GB, free: 4.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1531, allocations: 55.39 kB / 0.5596 GB, free: 4.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1533, allocations: 170.5 kB / 0.5597 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1534, allocations: 25.7 kB / 0.5598 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.1534, allocations: 100.1 kB / 0.5599 GB, free: 4.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1535, allocations: 15.84 kB / 0.5599 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1535, allocations: 17.72 kB / 0.5599 GB, free: 4.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1537, allocations: 330.8 kB / 0.5602 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.1537, allocations: 19.98 kB / 0.5602 GB, free: 4.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.1538, allocations: 19.98 kB / 0.5602 GB, free: 4.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.154, allocations: 56.75 kB / 0.5603 GB, free: 4.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.154, allocations: 0 / 0.5603 GB, free: 4.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001939/0.1541, allocations: 89.58 kB / 0.5604 GB, free: 4.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1542, allocations: 8 kB / 0.5604 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1542, allocations: 0 / 0.5604 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1542, allocations: 4 kB / 0.5604 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.1542, allocations: 11.98 kB / 0.5604 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1543, allocations: 0 / 0.5604 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.1543, allocations: 7.984 kB / 0.5604 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.1543, allocations: 3.938 kB / 0.5604 GB, free: 4 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 (5): * Single equations (assignments): 5 * 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.0001096/0.1544, allocations: 117.8 kB / 0.5605 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.1544, allocations: 7.953 kB / 0.5605 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1547, allocations: 105.9 kB / 0.5606 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1547, allocations: 0 / 0.5606 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1547, allocations: 0 / 0.5606 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1547, allocations: 0 / 0.5606 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.1552, allocations: 366.8 kB / 0.561 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1552, allocations: 0 / 0.561 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.1553, allocations: 19.98 kB / 0.561 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1553, allocations: 0 / 0.561 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1553, allocations: 0 / 0.561 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1553, allocations: 3.938 kB / 0.561 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1553, allocations: 0 / 0.561 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1555, allocations: 187.4 kB / 0.5612 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1556, allocations: 92.95 kB / 0.5613 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1556, allocations: 11.98 kB / 0.5613 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1557, allocations: 7.938 kB / 0.5613 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.1557, allocations: 0 / 0.5613 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1557, allocations: 7.938 kB / 0.5613 GB, free: 2.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1559, allocations: 139.9 kB / 0.5614 GB, free: 2.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1559, allocations: 0 / 0.5614 GB, free: 2.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1561, allocations: 12 kB / 0.5614 GB, free: 2.836 MB / 414.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 (5): * Single equations (assignments): 5 * 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.002011/0.1581, allocations: 1.009 MB / 0.5624 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1583, allocations: 59.89 kB / 0.5625 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1583, allocations: 0 / 0.5625 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.1584, allocations: 27.98 kB / 0.5625 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1588, allocations: 27.8 kB / 0.5625 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.1607, allocations: 1.523 MB / 0.564 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1611, allocations: 0.6924 MB / 0.5647 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.1612, allocations: 19.98 kB / 0.5647 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.1612, allocations: 27.42 kB / 0.5647 GB, free: 15.47 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1612, allocations: 0 / 0.5647 GB, free: 15.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.1889, allocations: 2.7 MB / 0.5674 GB, free: 12.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.24, allocations: 11.67 kB / 0.5674 GB, free: 12.82 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.323651710990816] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.363204796332866 8.390530517 8.23521782 Calling exit ...