Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001831/0.001831, allocations: 109 kB / 20.48 MB, free: 1.492 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.002416/0.002416, allocations: 214 kB / 23.79 MB, free: 4.707 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.739/1.739, allocations: 207.6 MB / 234.6 MB, free: 10 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.2492/0.2492, allocations: 44.24 MB / 331.1 MB, free: 9.531 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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.002514/0.002514, allocations: 72.41 kB / 468.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1324, allocations: 61.04 MB / 0.517 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003257/0.1356, allocations: 1.732 MB / 0.5187 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1371, allocations: 0.8285 MB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.1372, allocations: 3.938 kB / 0.5195 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.1375, allocations: 35.83 kB / 0.5195 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1377, allocations: 59.7 kB / 0.5196 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.138, allocations: 83.7 kB / 0.5196 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1382, allocations: 99.69 kB / 0.5197 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1383, allocations: 12.2 kB / 0.5197 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.1384, allocations: 43.8 kB / 0.5198 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.1385, allocations: 35.77 kB / 0.5198 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1385, allocations: 7.938 kB / 0.5198 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.1386, allocations: 40 kB / 0.5199 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.1387, allocations: 19.92 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.1387, allocations: 39.72 kB / 0.5199 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1389, allocations: 99.66 kB / 0.52 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1389, allocations: 3.938 kB / 0.52 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1389, allocations: 0 / 0.52 GB, free: 4.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.139, allocations: 0 / 0.52 GB, free: 4.141 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.0005527/0.1395, allocations: 333.6 kB / 0.5203 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1395, allocations: 12.03 kB / 0.5204 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.838e-05/0.1396, allocations: 8.188 kB / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.1396, allocations: 30.75 kB / 0.5204 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1396, allocations: 8.891 kB / 0.5204 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1399, allocations: 154.3 kB / 0.5205 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1399, allocations: 4.125 kB / 0.5206 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1399, allocations: 4 kB / 0.5206 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1401, allocations: 53.67 kB / 0.5206 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1401, allocations: 3.953 kB / 0.5206 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1401, allocations: 4 kB / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1401, allocations: 4 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.1402, allocations: 19.92 kB / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1406, allocations: 252 kB / 0.5209 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1408, allocations: 54.69 kB / 0.5209 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.1408, allocations: 24.84 kB / 0.521 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1409, allocations: 0 / 0.521 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.141, allocations: 63.33 kB / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.141, allocations: 3.938 kB / 0.521 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.1416, allocations: 181.3 kB / 0.5212 GB, free: 2.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1416, allocations: 55.41 kB / 0.5212 GB, free: 2.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1418, allocations: 174.2 kB / 0.5214 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1418, allocations: 25.7 kB / 0.5214 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1418, allocations: 104.1 kB / 0.5215 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1419, allocations: 23.84 kB / 0.5216 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.1419, allocations: 17.72 kB / 0.5216 GB, free: 2.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1421, allocations: 326.8 kB / 0.5219 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.1422, allocations: 19.98 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.1422, allocations: 37.64 kB / 0.5219 GB, free: 1.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1423, allocations: 66.03 kB / 0.522 GB, free: 1.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1423, allocations: 0 / 0.522 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1425, allocations: 105.5 kB / 0.5221 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1426, allocations: 4 kB / 0.5221 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1426, allocations: 4 kB / 0.5221 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1426, allocations: 4 kB / 0.5221 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.1427, allocations: 16 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1427, allocations: 7.969 kB / 0.5221 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1427, allocations: 7.984 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1427, allocations: 0 / 0.5221 GB, free: 1.762 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.0001052/0.1428, allocations: 117.8 kB / 0.5223 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1428, allocations: 15.95 kB / 0.5223 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.1431, allocations: 114.4 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1431, allocations: 0 / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1431, allocations: 3.938 kB / 0.5224 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1431, allocations: 7.984 kB / 0.5224 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.1436, allocations: 370.4 kB / 0.5227 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1436, allocations: 0 / 0.5227 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1436, allocations: 11.98 kB / 0.5228 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1436, allocations: 3.938 kB / 0.5228 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1436, allocations: 0 / 0.5228 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.1436, allocations: 4 kB / 0.5228 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1436, allocations: 0 / 0.5228 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1439, allocations: 208.2 kB / 0.523 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.1439, allocations: 11.89 kB / 0.523 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1439, allocations: 3.984 kB / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.144, allocations: 4 kB / 0.523 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.144, allocations: 4 kB / 0.523 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1441, allocations: 7.984 kB / 0.523 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1442, allocations: 135.9 kB / 0.5231 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1442, allocations: 0 / 0.5231 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1445, allocations: 20 kB / 0.5231 GB, free: 0.6484 MB / 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 (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.002221/0.1467, allocations: 1.098 MB / 0.5242 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1469, allocations: 55.91 kB / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1469, allocations: 0 / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.147, allocations: 23.98 kB / 0.5243 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1473, allocations: 40.34 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1491, allocations: 1.604 MB / 0.5259 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1495, allocations: 0.704 MB / 0.5266 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.1495, allocations: 16.98 kB / 0.5266 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.1496, allocations: 31.42 kB / 0.5266 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1496, allocations: 0 / 0.5266 GB, free: 12.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.1736, allocations: 3.511 MB / 0.5301 GB, free: 9.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.22, allocations: 9.047 kB / 0.5301 GB, free: 9.371 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.951838064007461] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.443087119958363 11.752607537 11.610943842 Calling exit ...