Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.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.001793/0.001793, 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.002313/0.002313, 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.435/1.435, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.2244/0.2244, allocations: 46.89 MB / 357.4 MB, free: 10.55 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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",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.002236/0.002236, allocations: 83.86 kB / 0.4913 GB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1224, allocations: 65.97 MB / 0.5557 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003057/0.1254, allocations: 1.739 MB / 0.5574 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1271, allocations: 1.034 MB / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.1272, allocations: 0 / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1274, allocations: 43.75 kB / 0.5585 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1278, allocations: 99.59 kB / 0.5586 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1279, allocations: 79.67 kB / 0.5587 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1281, allocations: 103.7 kB / 0.5588 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.1282, allocations: 12 kB / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.1283, allocations: 43.78 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.1284, allocations: 31.78 kB / 0.5588 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1284, allocations: 7.938 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.1285, allocations: 43.98 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1285, allocations: 23.91 kB / 0.5589 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1286, allocations: 39.73 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1288, allocations: 123.4 kB / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1288, allocations: 0 / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1288, allocations: 0 / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1288, allocations: 0 / 0.5591 GB, free: 2.961 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005494/0.1294, allocations: 422.6 kB / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1294, allocations: 12.03 kB / 0.5595 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.1294, allocations: 30.75 kB / 0.5595 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.1295, allocations: 8.891 kB / 0.5595 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1297, allocations: 220.8 kB / 0.5597 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1298, allocations: 4.375 kB / 0.5597 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1298, allocations: 384 / 0.5597 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1299, allocations: 61.8 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1299, allocations: 0 / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1299, allocations: 3.984 kB / 0.5598 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1299, allocations: 0 / 0.5598 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.13, allocations: 23.92 kB / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.1304, allocations: 288.9 kB / 0.5601 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1306, allocations: 46.62 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.1306, allocations: 20.91 kB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1306, allocations: 11.88 kB / 0.5602 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.1308, allocations: 71.39 kB / 0.5602 GB, free: 1.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1308, allocations: 0 / 0.5602 GB, free: 1.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.1313, allocations: 177.3 kB / 0.5604 GB, free: 1.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1314, allocations: 55.41 kB / 0.5605 GB, free: 1.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1316, allocations: 190.4 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1316, allocations: 29.7 kB / 0.5607 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.1317, allocations: 104.1 kB / 0.5608 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1317, allocations: 23.8 kB / 0.5608 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.1317, allocations: 25.7 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1319, allocations: 326.8 kB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.1319, allocations: 23.98 kB / 0.5612 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.132, allocations: 41.69 kB / 0.5612 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1321, allocations: 57.84 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1321, allocations: 0 / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.1323, allocations: 117.4 kB / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1323, allocations: 4 kB / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1323, allocations: 0 / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1323, allocations: 0 / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.1324, allocations: 16 kB / 0.5614 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1325, allocations: 3.984 kB / 0.5614 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1325, allocations: 4 kB / 0.5614 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1325, allocations: 4 kB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001105/0.1326, allocations: 126.9 kB / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1327, allocations: 19.89 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.1327, allocations: 13.41 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1327, allocations: 0 / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1327, allocations: 0 / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1327, allocations: 7.938 kB / 0.5615 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1332, allocations: 399.5 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1332, allocations: 0 / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1332, allocations: 11.97 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1332, allocations: 8 kB / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1333, allocations: 0 / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1333, allocations: 4.312 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1333, allocations: 3.938 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1335, allocations: 200.3 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.1336, allocations: 89 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1336, allocations: 12 kB / 0.5622 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.1337, allocations: 3.938 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1337, allocations: 11.92 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1337, allocations: 8 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1339, allocations: 148.2 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1339, allocations: 0 / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1341, allocations: 19.94 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002118/0.1362, allocations: 1.088 MB / 0.5635 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1364, allocations: 59.86 kB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1364, allocations: 0 / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.1365, allocations: 31.86 kB / 0.5636 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1369, allocations: 30.73 kB / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1387, allocations: 1.665 MB / 0.5652 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1391, allocations: 0.7158 MB / 0.5659 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.169e-05/0.1391, allocations: 8.891 kB / 0.5659 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.1392, allocations: 35.42 kB / 0.566 GB, free: 11.56 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1392, allocations: 3.938 kB / 0.566 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.1646, allocations: 3.495 MB / 0.5694 GB, free: 8.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.369, allocations: 6.938 kB / 0.5694 GB, free: 8.125 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.232331941835582] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.490134799387306 8.504646298 8.373041274 Calling exit ...