Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.001818/0.001818, allocations: 116.4 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.002176/0.002176, 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.596/1.596, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.2344/0.2344, allocations: 46.88 MB / 357.4 MB, free: 10.57 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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",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.002298/0.002298, allocations: 74.31 kB / 0.4913 GB, free: 26.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1218, allocations: 65.97 MB / 0.5557 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003763/0.1256, allocations: 1.954 MB / 0.5576 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1277, allocations: 1.071 MB / 0.5587 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1278, allocations: 0 / 0.5587 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.1281, allocations: 51.64 kB / 0.5587 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1285, allocations: 91.55 kB / 0.5588 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1287, allocations: 95.64 kB / 0.5589 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.129, allocations: 147.5 kB / 0.559 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1291, allocations: 33.75 kB / 0.5591 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1292, allocations: 55.72 kB / 0.5591 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1293, allocations: 55.64 kB / 0.5592 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1293, allocations: 8 kB / 0.5592 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1295, allocations: 55.92 kB / 0.5592 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1295, allocations: 23.92 kB / 0.5593 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.1296, allocations: 47.61 kB / 0.5593 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1299, allocations: 159.3 kB / 0.5595 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1299, allocations: 3.938 kB / 0.5595 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.13, allocations: 0 / 0.5595 GB, free: 5.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.13, allocations: 0 / 0.5595 GB, free: 5.359 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007625/0.1307, allocations: 488.1 kB / 0.5599 GB, free: 4.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1308, allocations: 12.03 kB / 0.5599 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.184e-05/0.1309, allocations: 38.73 kB / 0.56 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1309, allocations: 16.84 kB / 0.56 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.1313, allocations: 236.8 kB / 0.5602 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1313, allocations: 8.375 kB / 0.5602 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1313, allocations: 4.375 kB / 0.5602 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1316, allocations: 109.8 kB / 0.5603 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1316, allocations: 0 / 0.5603 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.1316, allocations: 8 kB / 0.5603 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1316, allocations: 0 / 0.5603 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1318, allocations: 51.91 kB / 0.5604 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.1325, allocations: 0.5048 MB / 0.5609 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.1328, allocations: 86.64 kB / 0.561 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.1329, allocations: 36.83 kB / 0.561 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1329, allocations: 4 kB / 0.561 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1331, allocations: 87.31 kB / 0.5611 GB, free: 3.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1331, allocations: 0 / 0.5611 GB, free: 3.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004171/0.1335, allocations: 149.4 kB / 0.5612 GB, free: 3.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1336, allocations: 51.41 kB / 0.5613 GB, free: 3.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1338, allocations: 202.2 kB / 0.5615 GB, free: 3.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1338, allocations: 30.08 kB / 0.5615 GB, free: 3.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.134, allocations: 124 kB / 0.5616 GB, free: 2.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.134, allocations: 23.81 kB / 0.5616 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.1341, allocations: 29.7 kB / 0.5617 GB, free: 2.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1343, allocations: 330.8 kB / 0.562 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1344, allocations: 23.98 kB / 0.562 GB, free: 2.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1345, allocations: 76.33 kB / 0.5621 GB, free: 2.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1347, allocations: 100.2 kB / 0.5622 GB, free: 2.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1347, allocations: 0 / 0.5622 GB, free: 2.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002903/0.135, allocations: 141.4 kB / 0.5623 GB, free: 2.148 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.135, allocations: 4 kB / 0.5623 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.135, allocations: 4 kB / 0.5623 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.135, allocations: 0 / 0.5623 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1351, allocations: 23.98 kB / 0.5623 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1351, allocations: 7.875 kB / 0.5623 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.1352, allocations: 19.89 kB / 0.5624 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1352, allocations: 8.125 kB / 0.5624 GB, free: 2.082 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001303/0.1354, allocations: 125.8 kB / 0.5625 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1354, allocations: 15.91 kB / 0.5625 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.1354, allocations: 13.41 kB / 0.5625 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1354, allocations: 0 / 0.5625 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1354, allocations: 3.938 kB / 0.5625 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1355, allocations: 7.984 kB / 0.5625 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1357, allocations: 213.6 kB / 0.5627 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1357, allocations: 0 / 0.5627 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.1358, allocations: 15.94 kB / 0.5628 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1358, allocations: 0 / 0.5628 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.1358, allocations: 11.98 kB / 0.5628 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1358, allocations: 0 / 0.5628 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1358, allocations: 3.938 kB / 0.5628 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1362, allocations: 181 kB / 0.5629 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.1363, allocations: 92.98 kB / 0.563 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1363, allocations: 4.062 kB / 0.563 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1364, allocations: 15.92 kB / 0.563 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.1364, allocations: 11.92 kB / 0.5631 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1364, allocations: 4 kB / 0.5631 GB, free: 1.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1366, allocations: 144.4 kB / 0.5632 GB, free: 1.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1366, allocations: 0 / 0.5632 GB, free: 1.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1368, allocations: 24 kB / 0.5632 GB, free: 1.113 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00216/0.139, allocations: 1.023 MB / 0.5642 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1392, allocations: 75.78 kB / 0.5643 GB, free: 148 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1392, allocations: 0 / 0.5643 GB, free: 148 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1393, allocations: 40.22 kB / 0.5643 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1397, allocations: 35.67 kB / 0.5644 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.1423, allocations: 1.768 MB / 0.5661 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1427, allocations: 0.7123 MB / 0.5668 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.1427, allocations: 21.41 kB / 0.5668 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.1428, allocations: 43.42 kB / 0.5668 GB, free: 13.39 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1428, allocations: 4 kB / 0.5669 GB, free: 13.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.1721, allocations: 3.858 MB / 0.5706 GB, free: 9.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.17, allocations: 9.734 kB / 0.5706 GB, free: 9.594 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.32790795294568] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.297538654878736 8.321579772 8.187108734 Calling exit ...