Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001336/0.001336, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001518/0.001518, allocations: 213.8 kB / 23.77 MB, free: 4.551 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.639/1.639, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2777/0.2777, allocations: 44.26 MB / 331.1 MB, free: 9.312 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.002201/0.002201, allocations: 71.89 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1522, allocations: 61.05 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003606/0.1558, allocations: 1.686 MB / 0.5186 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1574, allocations: 0.7778 MB / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.1574, allocations: 4 kB / 0.5194 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.1578, allocations: 87.69 kB / 0.5195 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1581, allocations: 67.73 kB / 0.5195 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1584, allocations: 95.75 kB / 0.5196 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1586, allocations: 111.6 kB / 0.5197 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1587, allocations: 8.219 kB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.1588, allocations: 43.84 kB / 0.5198 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1589, allocations: 71.73 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1589, allocations: 8 kB / 0.5199 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.159, allocations: 47.97 kB / 0.5199 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.1591, allocations: 19.92 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.1592, allocations: 31.73 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1594, allocations: 111.6 kB / 0.5201 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1594, allocations: 3.938 kB / 0.5201 GB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1594, allocations: 0 / 0.5201 GB, free: 3.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1594, allocations: 0 / 0.5201 GB, free: 3.941 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.0006373/0.1601, allocations: 349.5 kB / 0.5204 GB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1601, allocations: 8.031 kB / 0.5204 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.363e-05/0.1601, allocations: 8.188 kB / 0.5204 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1602, allocations: 34.75 kB / 0.5204 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1602, allocations: 12.84 kB / 0.5205 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1605, allocations: 147.3 kB / 0.5206 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1606, allocations: 12.12 kB / 0.5206 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1606, allocations: 3.938 kB / 0.5206 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1608, allocations: 53.67 kB / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1608, allocations: 0 / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1608, allocations: 7.984 kB / 0.5207 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1608, allocations: 0 / 0.5207 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.1609, allocations: 23.98 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1613, allocations: 255.9 kB / 0.5209 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1615, allocations: 62.61 kB / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.1616, allocations: 16.86 kB / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1616, allocations: 0 / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.1618, allocations: 71.38 kB / 0.5211 GB, free: 2.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 6.632e-06/0.1618, allocations: 3.984 kB / 0.5211 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006698/0.1625, allocations: 189.6 kB / 0.5213 GB, free: 2.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1625, allocations: 55.41 kB / 0.5213 GB, free: 2.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1628, allocations: 218.2 kB / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.1628, allocations: 33.7 kB / 0.5216 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.1629, allocations: 100.1 kB / 0.5216 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1629, allocations: 27.78 kB / 0.5217 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.163, allocations: 25.72 kB / 0.5217 GB, free: 2.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1631, allocations: 322.8 kB / 0.522 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.1632, allocations: 31.98 kB / 0.522 GB, free: 1.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.1633, allocations: 33.7 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1634, allocations: 65.7 kB / 0.5221 GB, free: 1.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1634, allocations: 3.938 kB / 0.5221 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.1636, allocations: 105.5 kB / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1636, allocations: 4 kB / 0.5222 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1636, allocations: 4.188 kB / 0.5222 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1636, allocations: 0 / 0.5222 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1637, allocations: 15.94 kB / 0.5223 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1637, allocations: 3.938 kB / 0.5223 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.1638, allocations: 11.98 kB / 0.5223 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1638, allocations: 8.031 kB / 0.5223 GB, free: 1.453 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.0001179/0.1639, allocations: 129.8 kB / 0.5224 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1639, allocations: 11.95 kB / 0.5224 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1642, allocations: 123 kB / 0.5225 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.1642, allocations: 4 kB / 0.5225 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1642, allocations: 3.938 kB / 0.5225 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1642, allocations: 0 / 0.5225 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.1647, allocations: 366.4 kB / 0.5229 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1647, allocations: 0 / 0.5229 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.1648, allocations: 12.03 kB / 0.5229 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1648, allocations: 7.938 kB / 0.5229 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1648, allocations: 7.984 kB / 0.5229 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1648, allocations: 0 / 0.5229 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1648, allocations: 0 / 0.5229 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1651, allocations: 216.5 kB / 0.5231 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.1651, allocations: 11.89 kB / 0.5231 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1651, allocations: 11.98 kB / 0.5231 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.1652, allocations: 0 / 0.5231 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1652, allocations: 7.984 kB / 0.5232 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1652, allocations: 8 kB / 0.5232 GB, free: 468 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1654, allocations: 164.2 kB / 0.5233 GB, free: 304 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1654, allocations: 0 / 0.5233 GB, free: 304 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1657, allocations: 23.94 kB / 0.5233 GB, free: 280 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.002441/0.1681, allocations: 1.149 MB / 0.5245 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1683, allocations: 59.91 kB / 0.5245 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1683, allocations: 0 / 0.5245 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.1684, allocations: 31.97 kB / 0.5246 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1688, allocations: 27.42 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1708, allocations: 1.705 MB / 0.5262 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.928e-05/0.1709, allocations: 100.9 kB / 0.5263 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.171, allocations: 12.8 kB / 0.5264 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.1711, allocations: 39.42 kB / 0.5264 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1711, allocations: 112 / 0.5264 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.1968, allocations: 3.844 MB / 0.5301 GB, free: 9.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.62, allocations: 4.062 kB / 0.5301 GB, free: 9.109 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.264799903030507] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.840887004043907 12.075679348 11.913440715 Calling exit ...