Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.215/0.215, allocations: 44.9 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1211, allocations: 65.43 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003578/0.1247, allocations: 1.727 MB / 0.5542 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1267, allocations: 1.03 MB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.1268, allocations: 4 kB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.127, allocations: 43.7 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1274, allocations: 95.55 kB / 0.5554 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1276, allocations: 79.72 kB / 0.5554 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1278, allocations: 99.7 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1279, allocations: 16.27 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1281, allocations: 47.72 kB / 0.5556 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.1282, allocations: 31.84 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1282, allocations: 4 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1283, allocations: 47.97 kB / 0.5557 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.1284, allocations: 23.86 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.1285, allocations: 31.75 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1287, allocations: 119.5 kB / 0.5558 GB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1287, allocations: 0 / 0.5558 GB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1287, allocations: 3.938 kB / 0.5558 GB, free: 6.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1287, allocations: 0 / 0.5558 GB, free: 6.633 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.0006778/0.1294, allocations: 426.6 kB / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1294, allocations: 8.031 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.1295, allocations: 192 / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.1295, allocations: 46.67 kB / 0.5563 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1296, allocations: 12.89 kB / 0.5563 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.1299, allocations: 219.1 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1299, allocations: 4.125 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1299, allocations: 8 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1301, allocations: 49.67 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1301, allocations: 0 / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1301, allocations: 4 kB / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1301, allocations: 4 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.235e-05/0.1302, allocations: 19.98 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.1306, allocations: 292.8 kB / 0.5569 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1308, allocations: 54.66 kB / 0.5569 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.1309, allocations: 16.86 kB / 0.557 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1309, allocations: 4 kB / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1311, allocations: 71.33 kB / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1311, allocations: 0 / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.1317, allocations: 185.3 kB / 0.5572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1317, allocations: 55.34 kB / 0.5573 GB, free: 4.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1319, allocations: 198.3 kB / 0.5574 GB, free: 4.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1319, allocations: 29.7 kB / 0.5575 GB, free: 4.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.132, allocations: 100.1 kB / 0.5576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1321, allocations: 27.84 kB / 0.5576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.1321, allocations: 21.72 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1322, allocations: 326.8 kB / 0.5579 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.1323, allocations: 19.98 kB / 0.5579 GB, free: 4.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.1324, allocations: 33.7 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1325, allocations: 61.72 kB / 0.558 GB, free: 4.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1325, allocations: 8 kB / 0.558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.1327, allocations: 97.58 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1328, allocations: 6.188 kB / 0.5581 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1328, allocations: 4 kB / 0.5581 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1328, allocations: 0 / 0.5581 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/0.1329, allocations: 23.92 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1329, allocations: 3.938 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.1329, allocations: 4 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1329, allocations: 4 kB / 0.5582 GB, free: 3.992 MB / 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.0001201/0.1331, allocations: 133.4 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1331, allocations: 11.91 kB / 0.5583 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.1331, allocations: 21.34 kB / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1331, allocations: 0 / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.1331, allocations: 3.938 kB / 0.5583 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1331, allocations: 3.984 kB / 0.5583 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.1336, allocations: 395.3 kB / 0.5587 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1336, allocations: 4.406 kB / 0.5587 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1337, allocations: 8 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1337, allocations: 3.938 kB / 0.5587 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1337, allocations: 11.98 kB / 0.5588 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1337, allocations: 3.938 kB / 0.5588 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1337, allocations: 0 / 0.5588 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.134, allocations: 204.3 kB / 0.559 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.134, allocations: 96.95 kB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1341, allocations: 0 / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.1341, allocations: 8 kB / 0.5591 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1342, allocations: 7.984 kB / 0.5591 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1342, allocations: 4 kB / 0.5591 GB, free: 2.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1344, allocations: 148.2 kB / 0.5592 GB, free: 2.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1344, allocations: 0 / 0.5592 GB, free: 2.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1346, allocations: 20 kB / 0.5592 GB, free: 2.816 MB / 414.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.002254/0.1369, allocations: 1.099 MB / 0.5603 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1371, allocations: 51.92 kB / 0.5603 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1371, allocations: 0 / 0.5603 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.1372, allocations: 31.97 kB / 0.5604 GB, free: 1.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1375, allocations: 33.16 kB / 0.5604 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1396, allocations: 1.669 MB / 0.562 GB, free: 0 / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.1401, allocations: 0.7041 MB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.1402, allocations: 13.19 kB / 0.5627 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.1403, allocations: 35.42 kB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1403, allocations: 4 kB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.1598, allocations: 3.516 MB / 0.5662 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.638, allocations: 10.86 kB / 0.5662 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.645248389977496] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.81506105500739 8.835078891 8.702568319 Calling exit ...