Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001835/0.001835, 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.002171/0.002171, 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.5/1.5, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2267/0.2267, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",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.002285/0.002285, allocations: 83.86 kB / 0.4913 GB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1208, allocations: 65.98 MB / 0.5558 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003831/0.1246, allocations: 1.929 MB / 0.5576 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1266, allocations: 1.141 MB / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.1267, allocations: 0 / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.1272, allocations: 259.3 kB / 0.559 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.1277, allocations: 231.2 kB / 0.5592 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.128, allocations: 115.6 kB / 0.5593 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.1284, allocations: 267.3 kB / 0.5596 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1285, allocations: 25.67 kB / 0.5596 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1287, allocations: 135.5 kB / 0.5597 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.129, allocations: 211.4 kB / 0.5599 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.129, allocations: 8 kB / 0.5599 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1292, allocations: 63.98 kB / 0.56 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.1293, allocations: 67.69 kB / 0.5601 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1294, allocations: 99.22 kB / 0.5602 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.1297, allocations: 254.7 kB / 0.5604 GB, free: 1.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1297, allocations: 0 / 0.5604 GB, free: 1.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1297, allocations: 3.984 kB / 0.5604 GB, free: 1.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1297, allocations: 3.938 kB / 0.5604 GB, free: 1.605 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008182/0.1306, allocations: 0.591 MB / 0.561 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1306, allocations: 8.031 kB / 0.561 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.1307, allocations: 42.73 kB / 0.561 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.1307, allocations: 32.75 kB / 0.5611 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.1311, allocations: 302.6 kB / 0.5614 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1312, allocations: 8.375 kB / 0.5614 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1312, allocations: 8.375 kB / 0.5614 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.1314, allocations: 116.9 kB / 0.5615 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1314, allocations: 0 / 0.5615 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1314, allocations: 3.938 kB / 0.5615 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1314, allocations: 4 kB / 0.5615 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1316, allocations: 47.95 kB / 0.5615 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.1322, allocations: 488.7 kB / 0.562 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1326, allocations: 113.2 kB / 0.5621 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.1327, allocations: 41.81 kB / 0.5622 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1327, allocations: 11.94 kB / 0.5622 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1329, allocations: 121 kB / 0.5623 GB, free: 15.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1329, allocations: 4 kB / 0.5623 GB, free: 15.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001295/0.1342, allocations: 0.5044 MB / 0.5628 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.1343, allocations: 81.05 kB / 0.5629 GB, free: 14.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.1348, allocations: 0.4938 MB / 0.5633 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1348, allocations: 33.7 kB / 0.5634 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.135, allocations: 168.4 kB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/0.135, allocations: 79.41 kB / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.1351, allocations: 41.7 kB / 0.5637 GB, free: 14.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1353, allocations: 346.8 kB / 0.564 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1354, allocations: 55.98 kB / 0.564 GB, free: 13.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1355, allocations: 99.33 kB / 0.5641 GB, free: 13.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.1358, allocations: 159.5 kB / 0.5643 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1358, allocations: 0 / 0.5643 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004184/0.1363, allocations: 241.3 kB / 0.5645 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1363, allocations: 7.938 kB / 0.5645 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1363, allocations: 7.938 kB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1363, allocations: 0 / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1364, allocations: 39.98 kB / 0.5646 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1364, allocations: 0 / 0.5646 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.762e-05/0.1365, allocations: 15.98 kB / 0.5646 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1366, allocations: 9.172 kB / 0.5646 GB, free: 13.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001675/0.1367, allocations: 173.8 kB / 0.5648 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.1368, allocations: 39.8 kB / 0.5648 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.891e-05/0.1369, allocations: 46.83 kB / 0.5648 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.1369, allocations: 7.922 kB / 0.5648 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1369, allocations: 0 / 0.5648 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.1369, allocations: 7.984 kB / 0.5649 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009753/0.1379, allocations: 0.7389 MB / 0.5656 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1379, allocations: 0 / 0.5656 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.1379, allocations: 31.92 kB / 0.5656 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1379, allocations: 4 kB / 0.5656 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.138, allocations: 8 kB / 0.5656 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.138, allocations: 3.984 kB / 0.5656 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.138, allocations: 4 kB / 0.5656 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.1385, allocations: 428.7 kB / 0.566 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.1386, allocations: 108.9 kB / 0.5661 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.1386, allocations: 8 kB / 0.5661 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1387, allocations: 8 kB / 0.5662 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.1388, allocations: 31.84 kB / 0.5662 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1388, allocations: 8 kB / 0.5662 GB, free: 11.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003833/0.1392, allocations: 375.1 kB / 0.5665 GB, free: 10.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1392, allocations: 0 / 0.5665 GB, free: 10.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000356/0.1396, allocations: 51.92 kB / 0.5666 GB, free: 10.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002588/0.1421, allocations: 1.363 MB / 0.5679 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.1425, allocations: 155.7 kB / 0.5681 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1425, allocations: 0 / 0.5681 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1427, allocations: 79.83 kB / 0.5682 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.1432, allocations: 68.31 kB / 0.5682 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.1469, allocations: 3.001 MB / 0.5711 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.1473, allocations: 0.787 MB / 0.5719 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1474, allocations: 45.91 kB / 0.572 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1475, allocations: 103.4 kB / 0.5721 GB, free: 5.285 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1475, allocations: 0 / 0.5721 GB, free: 5.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.1758, allocations: 6.699 MB / 0.5786 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/8.738, allocations: 15.48 kB / 0.5786 GB, free: 14.63 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.636591516900808] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.862114342860878 8.882899166 8.749392597 Calling exit ...