Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.001543/0.001543, 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.001741/0.001741, 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.502/1.502, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.2246/0.2246, allocations: 44.24 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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",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.002347/0.002347, allocations: 67.91 kB / 468.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.118, allocations: 61.05 MB / 0.517 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003531/0.1215, allocations: 1.72 MB / 0.5187 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1231, allocations: 0.8285 MB / 0.5195 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1232, allocations: 3.938 kB / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1236, allocations: 35.83 kB / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1239, allocations: 55.7 kB / 0.5196 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1242, allocations: 95.75 kB / 0.5196 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1244, allocations: 91.7 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1245, allocations: 12.2 kB / 0.5197 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1246, allocations: 43.78 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1247, allocations: 35.8 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1248, allocations: 8 kB / 0.5198 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1249, allocations: 39.98 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.1249, allocations: 19.91 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.125, allocations: 35.73 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1253, allocations: 111.6 kB / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1253, allocations: 0 / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1253, allocations: 0 / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1253, allocations: 4 kB / 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.0005819/0.1259, allocations: 333.6 kB / 0.5203 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1259, allocations: 19.91 kB / 0.5204 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.3e-05/0.1259, allocations: 192 / 0.5204 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1259, allocations: 42.73 kB / 0.5204 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.126, allocations: 12.84 kB / 0.5204 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.1263, allocations: 150.3 kB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1263, allocations: 4.125 kB / 0.5206 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1264, allocations: 8 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1265, allocations: 49.67 kB / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1265, allocations: 0 / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1266, allocations: 8 kB / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1266, allocations: 0 / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.1266, allocations: 23.92 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.127, allocations: 255.9 kB / 0.5209 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1272, allocations: 54.67 kB / 0.5209 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.1273, allocations: 16.86 kB / 0.521 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1273, allocations: 7.938 kB / 0.521 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.1275, allocations: 67.34 kB / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1275, allocations: 0 / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006356/0.1281, allocations: 173.4 kB / 0.5212 GB, free: 2.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1281, allocations: 55.41 kB / 0.5213 GB, free: 2.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1284, allocations: 198 kB / 0.5214 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1284, allocations: 25.7 kB / 0.5215 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.1285, allocations: 104.1 kB / 0.5216 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.1285, allocations: 19.8 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1285, allocations: 25.7 kB / 0.5216 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1287, allocations: 326.8 kB / 0.5219 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.1288, allocations: 16 kB / 0.5219 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.1289, allocations: 38.08 kB / 0.522 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.129, allocations: 73.69 kB / 0.522 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.129, allocations: 0 / 0.522 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.1292, allocations: 105.5 kB / 0.5221 GB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1292, allocations: 4 kB / 0.5221 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1292, allocations: 4 kB / 0.5222 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1292, allocations: 0 / 0.5222 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1293, allocations: 15.94 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1293, allocations: 7.969 kB / 0.5222 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.1294, allocations: 12.17 kB / 0.5222 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1294, allocations: 4 kB / 0.5222 GB, free: 1.691 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.0001241/0.1295, allocations: 125.8 kB / 0.5223 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1296, allocations: 7.953 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.1298, allocations: 110.3 kB / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1298, allocations: 4 kB / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1298, allocations: 3.938 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1298, allocations: 4 kB / 0.5224 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.1303, allocations: 362.4 kB / 0.5228 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1303, allocations: 4 kB / 0.5228 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.1304, allocations: 7.984 kB / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1304, allocations: 7.938 kB / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1304, allocations: 0 / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1304, allocations: 0 / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1304, allocations: 4 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1306, allocations: 208.3 kB / 0.523 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.1307, allocations: 11.84 kB / 0.523 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1307, allocations: 7.984 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1307, allocations: 4 kB / 0.523 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1308, allocations: 4 kB / 0.523 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1308, allocations: 11.97 kB / 0.523 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1309, allocations: 139.2 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1309, allocations: 0 / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1312, allocations: 27.92 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.1334, allocations: 1.09 MB / 0.5243 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1336, allocations: 55.91 kB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1336, allocations: 3.938 kB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.1336, allocations: 20 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.0003728/0.134, allocations: 44.03 kB / 0.5244 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1359, 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.0003242/0.1362, allocations: 0.704 MB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.328e-05/0.1363, allocations: 25.27 kB / 0.5267 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.1363, allocations: 35.42 kB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1363, allocations: 0 / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1584, allocations: 3.574 MB / 0.5302 GB, free: 9.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.58, allocations: 5.062 kB / 0.5302 GB, free: 9.199 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.754848806012888] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.795956392947119 11.995987342 11.867369249 Calling exit ...