Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001315/0.001315, 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.001394/0.001394, 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.445/1.445, allocations: 207.6 MB / 234.5 MB, free: 9.98 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.2165/0.2165, allocations: 44.23 MB / 331.1 MB, free: 9.512 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.00224/0.00224, allocations: 74.56 kB / 468.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1229, allocations: 61.04 MB / 0.517 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003187/0.1261, allocations: 1.72 MB / 0.5187 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1276, allocations: 0.8323 MB / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.1276, allocations: 0 / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1279, allocations: 47.75 kB / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1281, allocations: 51.77 kB / 0.5196 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1284, allocations: 95.75 kB / 0.5197 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1285, allocations: 95.64 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.1286, allocations: 12.2 kB / 0.5198 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.1287, allocations: 43.78 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.1288, allocations: 35.86 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1288, allocations: 4 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.1289, allocations: 39.98 kB / 0.5199 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.129, allocations: 23.84 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.129, allocations: 35.73 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1292, allocations: 111.6 kB / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1292, allocations: 0 / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1292, allocations: 4 kB / 0.52 GB, free: 4.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1292, allocations: 0 / 0.52 GB, free: 4.113 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.0005106/0.1298, allocations: 333.7 kB / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1298, allocations: 8.031 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.736e-05/0.1298, allocations: 8.125 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.1298, allocations: 34.73 kB / 0.5204 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1299, allocations: 12.84 kB / 0.5204 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1301, allocations: 150.3 kB / 0.5206 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1301, allocations: 4.125 kB / 0.5206 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1302, allocations: 4 kB / 0.5206 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1303, allocations: 53.67 kB / 0.5206 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1303, allocations: 4 kB / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1303, allocations: 0 / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1303, allocations: 0 / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.1304, allocations: 23.98 kB / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.1308, allocations: 263.8 kB / 0.5209 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.131, allocations: 58.67 kB / 0.521 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.131, allocations: 16.86 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.131, allocations: 0 / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.1312, allocations: 71.28 kB / 0.521 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1312, allocations: 0 / 0.521 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005385/0.1317, allocations: 169.6 kB / 0.5212 GB, free: 2.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1318, allocations: 67.34 kB / 0.5213 GB, free: 2.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.132, allocations: 190 kB / 0.5214 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.132, allocations: 33.64 kB / 0.5215 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.1321, allocations: 104.1 kB / 0.5216 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1321, allocations: 23.8 kB / 0.5216 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1321, allocations: 21.7 kB / 0.5216 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1323, allocations: 322.8 kB / 0.5219 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.948e-05/0.1323, allocations: 20 kB / 0.5219 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.1324, allocations: 37.7 kB / 0.522 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1325, allocations: 69.62 kB / 0.522 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1325, allocations: 0 / 0.522 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.1327, allocations: 101.6 kB / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1327, allocations: 4 kB / 0.5221 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1327, allocations: 4 kB / 0.5222 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1328, allocations: 0 / 0.5222 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.1329, allocations: 19.97 kB / 0.5222 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1329, allocations: 7.875 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.1329, allocations: 11.98 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1329, allocations: 4 kB / 0.5222 GB, free: 1.695 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.0001038/0.133, allocations: 117.8 kB / 0.5223 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.133, allocations: 7.953 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.1333, allocations: 114.3 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1333, allocations: 4 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1333, allocations: 7.938 kB / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1333, allocations: 0 / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.1338, allocations: 362.4 kB / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1338, allocations: 4 kB / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.1338, allocations: 11.98 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1338, allocations: 3.938 kB / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1338, allocations: 0 / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1338, allocations: 0 / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1338, allocations: 8.031 kB / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1341, allocations: 200.3 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.1341, allocations: 19.83 kB / 0.523 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1341, allocations: 7.922 kB / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1342, allocations: 0 / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.1342, allocations: 8 kB / 0.523 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1342, allocations: 11.98 kB / 0.523 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1344, allocations: 135.4 kB / 0.5232 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1344, allocations: 0 / 0.5232 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1346, allocations: 35.86 kB / 0.5232 GB, free: 0.5664 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.002171/0.1368, allocations: 1.086 MB / 0.5243 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.137, allocations: 55.97 kB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.137, allocations: 0 / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.1371, allocations: 28 kB / 0.5243 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1375, allocations: 35.91 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1393, allocations: 1.63 MB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1398, allocations: 0.7079 MB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.1398, allocations: 21.27 kB / 0.5267 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.1399, allocations: 35.42 kB / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1399, allocations: 0 / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.1635, allocations: 3.575 MB / 0.5302 GB, free: 9.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.62, allocations: 9 kB / 0.5302 GB, free: 9.203 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.811697623052169] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.843967373017222 12.064507039 11.932482328 Calling exit ...