Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.001928/0.001928, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002337/0.002337, allocations: 210.4 kB / 22.99 MB, free: 4.602 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.528/1.528, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2233/0.2233, allocations: 44.25 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 180] 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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",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.002563/0.002563, allocations: 71.17 kB / 467.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1292, allocations: 61.04 MB / 0.5162 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005975/0.1352, allocations: 1.958 MB / 0.5181 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1378, allocations: 0.8662 MB / 0.519 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.138, allocations: 11.94 kB / 0.519 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.1384, allocations: 35.72 kB / 0.519 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.1388, allocations: 79.55 kB / 0.5191 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.1394, allocations: 123.7 kB / 0.5192 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.1398, allocations: 199.4 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1399, allocations: 29.77 kB / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1401, allocations: 75.64 kB / 0.5195 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1403, allocations: 75.61 kB / 0.5196 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.1404, allocations: 19.94 kB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.1406, allocations: 51.98 kB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.1406, allocations: 35.91 kB / 0.5197 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1408, allocations: 55.66 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.1412, allocations: 199.1 kB / 0.5199 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1412, allocations: 0 / 0.5199 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1412, allocations: 0 / 0.5199 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1412, allocations: 0 / 0.5199 GB, free: 3.305 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001346/0.1426, allocations: 0.4888 MB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1426, allocations: 8.031 kB / 0.5204 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.491e-05/0.1427, allocations: 38.75 kB / 0.5204 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.1428, allocations: 20.83 kB / 0.5205 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.1432, allocations: 187.1 kB / 0.5206 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.1432, allocations: 4.375 kB / 0.5206 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.1433, allocations: 15.92 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.1438, allocations: 173.9 kB / 0.5208 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1438, allocations: 7.938 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1438, allocations: 0 / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1438, allocations: 4 kB / 0.5208 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.1443, allocations: 107.9 kB / 0.5209 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.1449, allocations: 0.4922 MB / 0.5214 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.1456, allocations: 166.5 kB / 0.5216 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.1458, allocations: 68.8 kB / 0.5216 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1459, allocations: 0 / 0.5216 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.1463, allocations: 176.9 kB / 0.5218 GB, free: 1.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.1463, allocations: 0 / 0.5218 GB, free: 1.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008858/0.1472, allocations: 265.2 kB / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1472, allocations: 63.34 kB / 0.5221 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1475, allocations: 224.3 kB / 0.5223 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1475, allocations: 29.7 kB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.1476, allocations: 128.4 kB / 0.5225 GB, free: 464 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.1476, allocations: 43.72 kB / 0.5225 GB, free: 420 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.1477, allocations: 33.7 kB / 0.5226 GB, free: 380 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1478, allocations: 330.8 kB / 0.5229 GB, free: 40 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.1481, allocations: 93.64 kB / 0.523 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.1484, allocations: 137.9 kB / 0.5231 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.149, allocations: 193.8 kB / 0.5233 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.149, allocations: 4 kB / 0.5233 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000708/0.1497, allocations: 288.7 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.1497, allocations: 30.64 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1497, allocations: 4 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.1497, allocations: 4.062 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1499, allocations: 39.91 kB / 0.5236 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1499, allocations: 4 kB / 0.5236 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1501, allocations: 27.92 kB / 0.5237 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1501, allocations: 8 kB / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001394/0.1503, allocations: 138.8 kB / 0.5238 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1503, allocations: 19.89 kB / 0.5238 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.151, allocations: 222.9 kB / 0.524 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.151, allocations: 3.938 kB / 0.524 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.151, allocations: 4 kB / 0.524 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.151, allocations: 0 / 0.524 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1512, allocations: 188.6 kB / 0.5242 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1512, allocations: 4 kB / 0.5242 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1513, allocations: 23.97 kB / 0.5243 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1513, allocations: 4 kB / 0.5243 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1514, allocations: 8 kB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1514, allocations: 7.922 kB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1514, allocations: 3.938 kB / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.1523, allocations: 317 kB / 0.5246 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.1523, allocations: 19.95 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1523, allocations: 8 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1525, allocations: 23.91 kB / 0.5246 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.1526, allocations: 15.97 kB / 0.5246 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1526, allocations: 4 kB / 0.5246 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1528, allocations: 171.5 kB / 0.5248 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1528, allocations: 3.938 kB / 0.5248 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.153, allocations: 43.92 kB / 0.5249 GB, free: 13.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002789/0.1558, allocations: 1.173 MB / 0.526 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.1565, allocations: 244.9 kB / 0.5262 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1565, allocations: 0 / 0.5262 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.1568, allocations: 79.88 kB / 0.5263 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1572, allocations: 51.11 kB / 0.5264 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.161, allocations: 2.287 MB / 0.5286 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.1611, allocations: 112.1 kB / 0.5287 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1612, allocations: 25.47 kB / 0.5287 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1614, allocations: 59.41 kB / 0.5288 GB, free: 9.691 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1614, allocations: 0 / 0.5288 GB, free: 9.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.197, allocations: 5.82 MB / 0.5345 GB, free: 3.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.9, allocations: 7.938 kB / 0.5345 GB, free: 3.746 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.25557283591479] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 12.058695868123323 12.285044446 12.140606881 Calling exit ...