Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001322/0.001322, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001548/0.001548, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.474/1.474, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2336/0.2336, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",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.002304/0.002304, allocations: 83.84 kB / 0.4913 GB, free: 8.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 65.98 MB / 0.5557 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003107/0.1225, allocations: 1.692 MB / 0.5573 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.1235, allocations: 0.5605 MB / 0.5579 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.1235, allocations: 4 kB / 0.5579 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.1241, allocations: 451.2 kB / 0.5583 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.1246, allocations: 295.2 kB / 0.5586 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1249, allocations: 138.8 kB / 0.5587 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1251, allocations: 171.7 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.1252, allocations: 16.16 kB / 0.5589 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1253, allocations: 115.7 kB / 0.559 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.1256, allocations: 259.4 kB / 0.5593 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1256, allocations: 4 kB / 0.5593 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1257, allocations: 51.98 kB / 0.5593 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1258, allocations: 91.67 kB / 0.5594 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.381e-05/0.1259, allocations: 107 kB / 0.5595 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1263, allocations: 278.5 kB / 0.5598 GB, free: 2.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1263, allocations: 3.938 kB / 0.5598 GB, free: 2.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1263, allocations: 0 / 0.5598 GB, free: 2.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1263, allocations: 4 kB / 0.5598 GB, free: 2.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007978/0.1271, allocations: 0.6684 MB / 0.5604 GB, free: 1.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1271, allocations: 12.03 kB / 0.5604 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.1272, allocations: 46.67 kB / 0.5605 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.1272, allocations: 44.66 kB / 0.5605 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.1275, allocations: 304.6 kB / 0.5608 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-06/0.1276, allocations: 384 / 0.5608 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1276, allocations: 8.375 kB / 0.5608 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1277, allocations: 62.17 kB / 0.5609 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1278, allocations: 11.92 kB / 0.5609 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1278, allocations: 0 / 0.5609 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1278, allocations: 0 / 0.5609 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1279, allocations: 43.97 kB / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.1284, allocations: 404.6 kB / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1286, allocations: 46.56 kB / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.1287, allocations: 24.97 kB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1287, allocations: 4 kB / 0.5614 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1288, allocations: 38.55 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1288, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001571/0.1303, allocations: 480.4 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1304, allocations: 59.39 kB / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/0.1313, allocations: 0.8737 MB / 0.5628 GB, free: 14.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1313, allocations: 29.7 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1315, allocations: 220 kB / 0.563 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1315, allocations: 35.69 kB / 0.5631 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1315, allocations: 25.66 kB / 0.5631 GB, free: 14.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1317, allocations: 366.8 kB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1318, allocations: 51.91 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.132, allocations: 39.97 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.1322, allocations: 105.1 kB / 0.5636 GB, free: 13.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1322, allocations: 0 / 0.5636 GB, free: 13.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003471/0.1326, allocations: 181.2 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1326, allocations: 4 kB / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1326, allocations: 0 / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1326, allocations: 0 / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1327, allocations: 31.97 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1327, allocations: 3.938 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.1328, allocations: 11.98 kB / 0.5639 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1328, allocations: 4 kB / 0.5639 GB, free: 13.73 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 (11): * Single equations (assignments): 11 * 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.0002079/0.133, allocations: 217.7 kB / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.1331, allocations: 51.66 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.1335, allocations: 201.5 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1335, allocations: 7.984 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1335, allocations: 4.5 kB / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1335, allocations: 0 / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008138/0.1343, allocations: 0.5702 MB / 0.5649 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.1344, allocations: 3.938 kB / 0.5649 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1345, allocations: 35.97 kB / 0.5649 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1345, allocations: 4 kB / 0.5649 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1345, allocations: 0 / 0.5649 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1345, allocations: 8 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1345, allocations: 4 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.1349, allocations: 281 kB / 0.5652 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.135, allocations: 124.7 kB / 0.5653 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.135, allocations: 3.984 kB / 0.5653 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1351, allocations: 12 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.1352, allocations: 7.984 kB / 0.5654 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1352, allocations: 7.938 kB / 0.5654 GB, free: 12.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006552/0.1358, allocations: 0.655 MB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1358, allocations: 0 / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1361, allocations: 39.88 kB / 0.566 GB, free: 11.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002326/0.1384, allocations: 1.164 MB / 0.5672 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1388, allocations: 99.92 kB / 0.5673 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1388, allocations: 7.938 kB / 0.5673 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1389, allocations: 59.84 kB / 0.5673 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1393, allocations: 31.48 kB / 0.5674 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.1436, allocations: 3.455 MB / 0.5707 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.144, allocations: 0.8259 MB / 0.5715 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.041e-05/0.1441, allocations: 28.47 kB / 0.5716 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1443, allocations: 115.4 kB / 0.5717 GB, free: 5.637 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1443, allocations: 0 / 0.5717 GB, free: 5.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.1723, allocations: 6.594 MB / 0.5781 GB, free: 15.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.856/9.028, allocations: 14.89 kB / 0.5781 GB, free: 15.08 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.954648355953395] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 9.152676845900714 9.16715684 9.03798089 Calling exit ...