Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001659/0.001659, 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.002148/0.002148, allocations: 215.5 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.772/1.772, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.2356/0.2356, allocations: 44.28 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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.00227/0.00227, allocations: 74.23 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1405, allocations: 61.05 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003455/0.144, allocations: 1.682 MB / 0.5186 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1454, allocations: 0.7739 MB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.1455, allocations: 4 kB / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1458, allocations: 43.75 kB / 0.5194 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.146, allocations: 55.77 kB / 0.5195 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1463, allocations: 95.75 kB / 0.5196 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1465, allocations: 91.7 kB / 0.5197 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.1466, allocations: 16.16 kB / 0.5197 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.586e-05/0.1467, allocations: 43.83 kB / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.1468, allocations: 31.8 kB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1468, allocations: 4 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1469, allocations: 43.97 kB / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.147, allocations: 23.92 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.147, allocations: 27.75 kB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1473, allocations: 115.5 kB / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1473, allocations: 0 / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1473, allocations: 0 / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1473, allocations: 0 / 0.5199 GB, free: 4.062 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.0006121/0.1479, allocations: 349.6 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.148, allocations: 8.031 kB / 0.5203 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.465e-05/0.148, allocations: 4.188 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.148, allocations: 34.73 kB / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1481, allocations: 8.891 kB / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1484, allocations: 159 kB / 0.5205 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1484, allocations: 4.125 kB / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1484, allocations: 4 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1486, allocations: 61.59 kB / 0.5206 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1486, allocations: 0 / 0.5206 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1486, allocations: 7.938 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1486, allocations: 4 kB / 0.5206 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.1487, allocations: 23.98 kB / 0.5206 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.1491, allocations: 252 kB / 0.5208 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1493, allocations: 58.61 kB / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.1494, allocations: 20.84 kB / 0.5209 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1494, allocations: 0 / 0.5209 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1496, allocations: 67.39 kB / 0.521 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1496, allocations: 4 kB / 0.521 GB, free: 2.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000623/0.1502, allocations: 181.7 kB / 0.5211 GB, free: 2.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1503, allocations: 55.39 kB / 0.5212 GB, free: 2.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1505, allocations: 207.2 kB / 0.5214 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1505, allocations: 25.7 kB / 0.5214 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.1506, allocations: 108.1 kB / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1507, allocations: 23.84 kB / 0.5215 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.1507, allocations: 17.72 kB / 0.5216 GB, free: 2.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1508, allocations: 322.8 kB / 0.5219 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.1509, allocations: 28.05 kB / 0.5219 GB, free: 1.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.151, allocations: 45.64 kB / 0.5219 GB, free: 1.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1511, allocations: 61.7 kB / 0.522 GB, free: 1.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1511, allocations: 0 / 0.522 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.1513, allocations: 109.8 kB / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1513, allocations: 8 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1513, allocations: 3.938 kB / 0.5221 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1514, allocations: 0 / 0.5221 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1515, allocations: 16 kB / 0.5221 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.1515, allocations: 11.95 kB / 0.5221 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.1515, allocations: 0 / 0.5221 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1515, allocations: 4 kB / 0.5221 GB, free: 1.605 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.0001258/0.1516, allocations: 133.8 kB / 0.5223 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1517, allocations: 7.953 kB / 0.5223 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.152, allocations: 119 kB / 0.5224 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.152, allocations: 4 kB / 0.5224 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.152, allocations: 3.938 kB / 0.5224 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.152, allocations: 0 / 0.5224 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.1525, allocations: 374.4 kB / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1525, allocations: 3.938 kB / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.1526, allocations: 12 kB / 0.5228 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1526, allocations: 3.938 kB / 0.5228 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1526, allocations: 7.984 kB / 0.5228 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1526, allocations: 0 / 0.5228 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1526, allocations: 0 / 0.5228 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.1529, allocations: 208.3 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.1529, allocations: 19.78 kB / 0.523 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.153, allocations: 4 kB / 0.523 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.153, allocations: 12.02 kB / 0.523 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1531, allocations: 4 kB / 0.523 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1531, allocations: 11.98 kB / 0.523 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1532, allocations: 152.9 kB / 0.5232 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1532, allocations: 0 / 0.5232 GB, free: 464 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1535, allocations: 16 kB / 0.5232 GB, free: 448 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.00249/0.156, allocations: 1.153 MB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1562, allocations: 55.97 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1562, allocations: 0 / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.1563, allocations: 31.92 kB / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1567, allocations: 36.25 kB / 0.5244 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1586, allocations: 1.677 MB / 0.5261 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.1587, allocations: 92.19 kB / 0.5262 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.1588, allocations: 12.48 kB / 0.5262 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.1589, allocations: 35.42 kB / 0.5262 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1589, allocations: 0 / 0.5262 GB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1825, allocations: 3.786 MB / 0.5299 GB, free: 9.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.47, allocations: 0 / 0.5299 GB, free: 9.355 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.189201698987745] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.691760490066372 11.893215392 11.742109712 Calling exit ...