Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001305/0.001305, allocations: 117.8 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.001449/0.001449, allocations: 208.9 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.49/1.49, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2259/0.2259, allocations: 46.88 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",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.002345/0.002345, allocations: 79.86 kB / 0.4912 GB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1211, allocations: 65.98 MB / 0.5557 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003191/0.1243, allocations: 1.606 MB / 0.5572 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1261, allocations: 1.167 MB / 0.5584 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.1261, allocations: 0 / 0.5584 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1263, allocations: 27.78 kB / 0.5584 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1266, allocations: 83.67 kB / 0.5585 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1269, allocations: 91.09 kB / 0.5586 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.127, allocations: 71.75 kB / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.1271, allocations: 8 kB / 0.5587 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.1271, allocations: 23.92 kB / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1273, allocations: 39.83 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1273, allocations: 4 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1275, allocations: 99.88 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.1275, allocations: 11.92 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.1275, allocations: 27.81 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1278, allocations: 139.5 kB / 0.559 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1278, allocations: 4 kB / 0.559 GB, free: 3.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1278, allocations: 3.938 kB / 0.559 GB, free: 3.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1278, allocations: 0 / 0.559 GB, free: 3.043 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.0005745/0.1284, allocations: 410.8 kB / 0.5594 GB, free: 2.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1284, allocations: 8.031 kB / 0.5594 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.1285, allocations: 34.75 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1285, allocations: 8.891 kB / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1287, allocations: 188.3 kB / 0.5596 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.1287, allocations: 4.375 kB / 0.5596 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1288, allocations: 8.375 kB / 0.5596 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1289, allocations: 59.91 kB / 0.5597 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1289, allocations: 3.938 kB / 0.5597 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.129, allocations: 11.98 kB / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.129, allocations: 0 / 0.5597 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.1291, allocations: 15.98 kB / 0.5597 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1294, allocations: 288.8 kB / 0.56 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1296, allocations: 42.5 kB / 0.56 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.1297, allocations: 20.92 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1297, allocations: 0 / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1297, allocations: 34.56 kB / 0.5601 GB, free: 1.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1297, allocations: 0 / 0.5601 GB, free: 1.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005523/0.1303, allocations: 145.4 kB / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1303, allocations: 77.11 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1305, allocations: 141.8 kB / 0.5604 GB, free: 1.355 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1305, allocations: 25.7 kB / 0.5605 GB, free: 1.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.1306, allocations: 96.12 kB / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.1306, allocations: 23.8 kB / 0.5606 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1307, allocations: 21.72 kB / 0.5606 GB, free: 1.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1308, allocations: 318.8 kB / 0.5609 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.1309, allocations: 19.98 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.1309, allocations: 29.7 kB / 0.5609 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1311, allocations: 56.7 kB / 0.561 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1311, allocations: 4.031 kB / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.1312, allocations: 77.62 kB / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1313, allocations: 4 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1313, allocations: 256 / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1313, allocations: 0 / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.1313, allocations: 19.98 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1314, allocations: 0 / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1314, allocations: 7.984 kB / 0.5611 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1314, allocations: 4 kB / 0.5611 GB, free: 0.6211 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 9.268e-05/0.1315, allocations: 125.7 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1315, allocations: 7.953 kB / 0.5612 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1318, allocations: 89.91 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1318, allocations: 0 / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1318, allocations: 0 / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1318, allocations: 0 / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.1323, allocations: 358.4 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1323, allocations: 0 / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.1323, allocations: 15.98 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1323, allocations: 0 / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1323, allocations: 0 / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1323, allocations: 0 / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1323, allocations: 3.938 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1326, allocations: 175.5 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1326, allocations: 93.05 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1327, allocations: 0 / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.1327, allocations: 4 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.1328, allocations: 7.922 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1328, allocations: 4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1329, allocations: 117.2 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1329, allocations: 0 / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1332, allocations: 43.86 kB / 0.5621 GB, free: 15.49 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 (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.002144/0.1353, allocations: 1.1 MB / 0.5632 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1355, allocations: 51.89 kB / 0.5632 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1355, allocations: 4 kB / 0.5632 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.1356, allocations: 23.98 kB / 0.5633 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1359, allocations: 15.94 kB / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1377, allocations: 1.416 MB / 0.5647 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.138, allocations: 0.6962 MB / 0.5653 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.1381, allocations: 19.98 kB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.1381, allocations: 27.42 kB / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1381, allocations: 0 / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.1638, allocations: 3.251 MB / 0.5686 GB, free: 8.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.271, allocations: 4.641 kB / 0.5686 GB, free: 8.953 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.240740614943206] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.39397144364193 8.410490483 8.279709764 Calling exit ...