Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001805/0.001805, 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.002771/0.002771, allocations: 209.7 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.524/1.524, allocations: 207.6 MB / 234.6 MB, free: 9.973 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.2325/0.2325, allocations: 44.24 MB / 331.1 MB, free: 9.504 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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.002162/0.002162, allocations: 74.88 kB / 468.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.112, allocations: 61.04 MB / 0.517 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003517/0.1155, allocations: 1.72 MB / 0.5187 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.117, allocations: 0.8246 MB / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1171, allocations: 7.938 kB / 0.5195 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1174, allocations: 47.81 kB / 0.5195 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1176, allocations: 63.69 kB / 0.5196 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1178, allocations: 91.7 kB / 0.5197 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.118, allocations: 95.69 kB / 0.5198 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.1181, allocations: 12.22 kB / 0.5198 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.1182, allocations: 47.77 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.1183, allocations: 31.8 kB / 0.5198 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1183, allocations: 4 kB / 0.5198 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1184, allocations: 39.98 kB / 0.5199 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.1184, allocations: 31.84 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.1185, allocations: 43.67 kB / 0.52 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1187, allocations: 135.4 kB / 0.5201 GB, free: 4.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1187, allocations: 4 kB / 0.5201 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1187, allocations: 0 / 0.5201 GB, free: 4.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1187, allocations: 0 / 0.5201 GB, free: 4.047 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.0005318/0.1193, allocations: 365.4 kB / 0.5204 GB, free: 3.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1193, allocations: 8.031 kB / 0.5204 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.293e-05/0.1193, allocations: 4.188 kB / 0.5204 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.1193, allocations: 34.75 kB / 0.5205 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1194, allocations: 12.84 kB / 0.5205 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1197, allocations: 166 kB / 0.5206 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1197, allocations: 8.125 kB / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1197, allocations: 4 kB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1199, allocations: 61.59 kB / 0.5207 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1199, allocations: 0 / 0.5207 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1199, allocations: 0 / 0.5207 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1199, allocations: 0 / 0.5207 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.12, allocations: 23.92 kB / 0.5207 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.1203, allocations: 275.9 kB / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1205, allocations: 58.61 kB / 0.5211 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1206, allocations: 16.86 kB / 0.5211 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1206, allocations: 0 / 0.5211 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1207, allocations: 71.39 kB / 0.5211 GB, free: 2.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1207, allocations: 0 / 0.5211 GB, free: 2.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005184/0.1213, allocations: 181.3 kB / 0.5213 GB, free: 2.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1213, allocations: 59.41 kB / 0.5214 GB, free: 2.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1216, allocations: 263.4 kB / 0.5216 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1216, allocations: 25.7 kB / 0.5217 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.1216, allocations: 112.1 kB / 0.5218 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.1217, allocations: 27.78 kB / 0.5218 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1217, allocations: 21.72 kB / 0.5218 GB, free: 2.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1219, allocations: 330.8 kB / 0.5221 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1219, allocations: 19.98 kB / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.122, allocations: 41.64 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1221, allocations: 53.7 kB / 0.5222 GB, free: 1.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1221, allocations: 0 / 0.5222 GB, free: 1.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.1223, allocations: 121.5 kB / 0.5223 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1223, allocations: 4.188 kB / 0.5224 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1223, allocations: 4 kB / 0.5224 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1223, allocations: 3.938 kB / 0.5224 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.1224, allocations: 15.98 kB / 0.5224 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1224, allocations: 3.938 kB / 0.5224 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1225, allocations: 4 kB / 0.5224 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.1225, allocations: 4 kB / 0.5224 GB, free: 1.477 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.0001208/0.1226, allocations: 137.8 kB / 0.5225 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1226, allocations: 15.91 kB / 0.5225 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.1229, allocations: 115.1 kB / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1229, allocations: 0 / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1229, allocations: 7.922 kB / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1229, allocations: 0 / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.1234, allocations: 374.4 kB / 0.523 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1234, allocations: 0 / 0.523 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1234, allocations: 16.34 kB / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1234, allocations: 7.922 kB / 0.523 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1234, allocations: 0 / 0.523 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1234, allocations: 8 kB / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1234, allocations: 0 / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1237, allocations: 204.2 kB / 0.5232 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.1237, allocations: 15.84 kB / 0.5232 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1237, allocations: 8 kB / 0.5233 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.1238, allocations: 3.984 kB / 0.5233 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1238, allocations: 8 kB / 0.5233 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1238, allocations: 7.984 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.124, allocations: 199.3 kB / 0.5235 GB, free: 288 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.124, allocations: 0 / 0.5235 GB, free: 288 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1243, allocations: 19.94 kB / 0.5235 GB, free: 268 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 (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.00217/0.1264, allocations: 1.105 MB / 0.5246 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1266, allocations: 55.91 kB / 0.5246 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1266, allocations: 0 / 0.5246 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.1267, allocations: 23.98 kB / 0.5246 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.127, allocations: 35.84 kB / 0.5247 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1291, allocations: 1.812 MB / 0.5264 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1294, allocations: 0.7158 MB / 0.5271 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.1295, allocations: 13.28 kB / 0.5272 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.1296, allocations: 39.42 kB / 0.5272 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.1296, allocations: 0 / 0.5272 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.1523, allocations: 3.92 MB / 0.531 GB, free: 8.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.52, allocations: 16.92 kB / 0.531 GB, free: 8.344 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.801581660984084] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.739862156973686 11.954959343 11.833337327 Calling exit ...