Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001749/0.001749, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002143/0.002143, allocations: 215 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2471/0.2471, allocations: 44.27 MB / 331.1 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002248/0.002248, allocations: 67.91 kB / 468.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 61.05 MB / 0.517 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003608/0.1324, allocations: 1.686 MB / 0.5186 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1339, allocations: 0.7817 MB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.134, allocations: 4 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.1343, allocations: 39.77 kB / 0.5194 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.1346, allocations: 55.77 kB / 0.5195 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1348, allocations: 87.77 kB / 0.5196 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.135, allocations: 103.7 kB / 0.5197 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.1351, allocations: 4.219 kB / 0.5197 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.1352, allocations: 39.8 kB / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.1353, allocations: 39.78 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1353, allocations: 8 kB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.1354, allocations: 43.98 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.1355, allocations: 15.92 kB / 0.5198 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.1355, allocations: 31.78 kB / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1357, allocations: 111.6 kB / 0.5199 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1357, allocations: 3.938 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1357, allocations: 3.938 kB / 0.52 GB, free: 4.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1357, allocations: 0 / 0.52 GB, free: 4.051 MB / 398.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.000568/0.1363, allocations: 337.7 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1363, allocations: 8.031 kB / 0.5203 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.1364, allocations: 4.188 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.1364, allocations: 34.75 kB / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.1364, allocations: 16.84 kB / 0.5203 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1367, allocations: 138.4 kB / 0.5205 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1367, allocations: 8.125 kB / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1368, allocations: 0 / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1369, allocations: 61.61 kB / 0.5205 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1369, allocations: 0 / 0.5205 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1369, allocations: 0 / 0.5205 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1369, allocations: 0 / 0.5205 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.456e-05/0.137, allocations: 27.97 kB / 0.5206 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1375, allocations: 256 kB / 0.5208 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1376, allocations: 58.61 kB / 0.5209 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.1377, allocations: 24.78 kB / 0.5209 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1377, allocations: 0 / 0.5209 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1379, allocations: 71.34 kB / 0.521 GB, free: 2.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1379, allocations: 0 / 0.521 GB, free: 2.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006142/0.1385, allocations: 181.6 kB / 0.5211 GB, free: 2.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1386, allocations: 55.41 kB / 0.5212 GB, free: 2.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1389, allocations: 198 kB / 0.5214 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1389, allocations: 29.7 kB / 0.5214 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.139, allocations: 100.1 kB / 0.5215 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.139, allocations: 27.78 kB / 0.5215 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.139, allocations: 21.72 kB / 0.5215 GB, free: 2.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1392, allocations: 322.8 kB / 0.5218 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.1393, allocations: 23.98 kB / 0.5219 GB, free: 1.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.1394, allocations: 41.77 kB / 0.5219 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.1395, allocations: 65.7 kB / 0.522 GB, free: 1.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1395, allocations: 4 kB / 0.522 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.1397, allocations: 101.5 kB / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1397, allocations: 8 kB / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1397, allocations: 192 / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1397, allocations: 3.984 kB / 0.5221 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.1398, allocations: 19.94 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1399, allocations: 7.938 kB / 0.5221 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.1399, allocations: 0 / 0.5221 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1399, allocations: 4 kB / 0.5221 GB, free: 1.629 MB / 398.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.0001211/0.14, allocations: 133.8 kB / 0.5222 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.14, allocations: 7.953 kB / 0.5222 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1403, allocations: 122.5 kB / 0.5224 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1403, allocations: 3.938 kB / 0.5224 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1403, allocations: 3.938 kB / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1404, allocations: 3.984 kB / 0.5224 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.1409, allocations: 370.4 kB / 0.5227 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1409, allocations: 0 / 0.5227 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.1409, allocations: 11.98 kB / 0.5227 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1409, allocations: 7.969 kB / 0.5227 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1409, allocations: 4 kB / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1409, allocations: 0 / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1409, allocations: 3.938 kB / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1412, allocations: 212.3 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.1412, allocations: 19.83 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1413, allocations: 0 / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.1413, allocations: 8 kB / 0.523 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1414, allocations: 7.984 kB / 0.523 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1414, allocations: 4 kB / 0.523 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1415, allocations: 147.2 kB / 0.5231 GB, free: 500 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1415, allocations: 4 kB / 0.5231 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1418, allocations: 23.94 kB / 0.5232 GB, free: 472 kB / 398.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 (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.002363/0.1442, allocations: 1.129 MB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1444, allocations: 55.91 kB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1444, allocations: 0 / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.1445, allocations: 35.92 kB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1448, allocations: 27.58 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1469, allocations: 1.654 MB / 0.526 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.147, allocations: 100.2 kB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.147, allocations: 16.78 kB / 0.5261 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.1471, allocations: 35.42 kB / 0.5261 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1471, allocations: 0 / 0.5261 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.1716, allocations: 3.725 MB / 0.5298 GB, free: 9.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/11.97, allocations: 3.938 kB / 0.5298 GB, free: 9.477 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.175929773016833] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.188514515990391 12.413301813 12.275007957 Calling exit ...