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.001731/0.001731, allocations: 109 kB / 20.48 MB, free: 1.477 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.002185/0.002185, allocations: 209 kB / 23.79 MB, free: 4.688 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.654/1.654, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.2464/0.2464, allocations: 44.24 MB / 331.1 MB, free: 9.508 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.002574/0.002574, allocations: 67.91 kB / 468.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1473, allocations: 61.04 MB / 0.517 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004054/0.1514, allocations: 1.716 MB / 0.5186 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1531, allocations: 0.8362 MB / 0.5195 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1532, allocations: 0 / 0.5195 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.1536, allocations: 43.77 kB / 0.5195 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.1538, allocations: 55.77 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.1542, allocations: 87.69 kB / 0.5196 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1544, allocations: 99.69 kB / 0.5197 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1545, allocations: 12.22 kB / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1546, allocations: 43.78 kB / 0.5198 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1548, allocations: 35.84 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1548, allocations: 4 kB / 0.5198 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1549, allocations: 39.92 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.155, allocations: 19.92 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.155, allocations: 39.73 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1553, allocations: 115.6 kB / 0.52 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1553, allocations: 3.938 kB / 0.52 GB, free: 4.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1553, allocations: 0 / 0.52 GB, free: 4.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1553, allocations: 0 / 0.52 GB, free: 4.105 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.0006761/0.156, allocations: 341.6 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.1561, allocations: 12.03 kB / 0.5204 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.969e-05/0.1561, allocations: 4.125 kB / 0.5204 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.1561, allocations: 34.73 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.1562, allocations: 12.89 kB / 0.5204 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1565, allocations: 155 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1565, allocations: 8.125 kB / 0.5206 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1566, allocations: 0 / 0.5206 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1567, allocations: 61.66 kB / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1568, allocations: 4 kB / 0.5206 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1568, allocations: 0 / 0.5206 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1568, allocations: 0 / 0.5206 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.1569, allocations: 23.92 kB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.1573, allocations: 259.9 kB / 0.5209 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1575, allocations: 54.61 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1576, allocations: 16.92 kB / 0.521 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1576, allocations: 7.984 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1578, allocations: 67.33 kB / 0.5211 GB, free: 2.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1578, allocations: 3.938 kB / 0.5211 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005973/0.1584, allocations: 177.5 kB / 0.5212 GB, free: 2.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1584, allocations: 63.39 kB / 0.5213 GB, free: 2.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.1586, allocations: 199.2 kB / 0.5215 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/0.1587, allocations: 25.7 kB / 0.5215 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.1588, allocations: 104.1 kB / 0.5216 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1588, allocations: 23.84 kB / 0.5216 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.1589, allocations: 17.72 kB / 0.5216 GB, free: 2.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1591, allocations: 326.8 kB / 0.522 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.1591, allocations: 19.98 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.1592, allocations: 37.83 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1593, allocations: 73.7 kB / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1593, allocations: 0 / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002163/0.1596, allocations: 97.58 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1596, allocations: 8 kB / 0.5222 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1596, allocations: 3.938 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1596, allocations: 4.031 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.1597, allocations: 15.98 kB / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1597, allocations: 7.938 kB / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.1598, allocations: 4 kB / 0.5222 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1598, allocations: 4 kB / 0.5222 GB, free: 1.668 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.0001223/0.1599, allocations: 121.8 kB / 0.5223 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1599, allocations: 15.95 kB / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.1602, allocations: 114.9 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1602, allocations: 4 kB / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1602, allocations: 3.938 kB / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1602, allocations: 0 / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.1607, allocations: 366.4 kB / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1607, allocations: 0 / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1607, allocations: 11.98 kB / 0.5228 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1608, allocations: 7.938 kB / 0.5228 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1608, allocations: 192 / 0.5228 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1608, allocations: 0 / 0.5228 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1608, allocations: 7.969 kB / 0.5228 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.161, allocations: 208.2 kB / 0.523 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.1611, allocations: 11.84 kB / 0.523 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1611, allocations: 8 kB / 0.5231 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1612, allocations: 3.984 kB / 0.5231 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1612, allocations: 4 kB / 0.5231 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1612, allocations: 11.98 kB / 0.5231 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1614, allocations: 148.9 kB / 0.5232 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1614, allocations: 0 / 0.5232 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1617, allocations: 23.98 kB / 0.5232 GB, free: 0.5234 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.002616/0.1643, allocations: 1.098 MB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1645, allocations: 51.97 kB / 0.5244 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1645, allocations: 3.938 kB / 0.5244 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.1646, allocations: 32.05 kB / 0.5244 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.165, allocations: 23.97 kB / 0.5244 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1672, allocations: 1.662 MB / 0.526 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.1676, allocations: 0.708 MB / 0.5267 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.335e-05/0.1676, allocations: 17.27 kB / 0.5267 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.1677, allocations: 39.36 kB / 0.5268 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1677, allocations: 0 / 0.5268 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.1958, allocations: 3.635 MB / 0.5303 GB, free: 9.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.39, allocations: 5.062 kB / 0.5303 GB, free: 9.066 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: 14.955643975990824] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.60394580400316 11.807954133 11.64846754 Calling exit ...