Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001304/0.001304, allocations: 109 kB / 20.48 MB, free: 1.492 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.001413/0.001413, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.416/1.416, allocations: 207.6 MB / 234.6 MB, free: 10 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.24 MB / 331.1 MB, free: 9.523 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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.002357/0.002357, allocations: 67.91 kB / 468.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1141, allocations: 61.04 MB / 0.517 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003564/0.1176, allocations: 1.716 MB / 0.5186 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1192, allocations: 0.8284 MB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1193, allocations: 8 kB / 0.5195 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1196, allocations: 43.75 kB / 0.5195 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1198, allocations: 55.77 kB / 0.5196 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1201, allocations: 99.69 kB / 0.5197 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1203, allocations: 95.69 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.1204, allocations: 16.2 kB / 0.5198 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1205, allocations: 47.8 kB / 0.5198 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.1206, allocations: 27.84 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1206, allocations: 4 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1207, allocations: 47.91 kB / 0.5199 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.1207, allocations: 23.86 kB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.1208, allocations: 31.75 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.121, allocations: 123.5 kB / 0.5201 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.121, allocations: 3.938 kB / 0.5201 GB, free: 4.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.121, allocations: 0 / 0.5201 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.121, allocations: 4 kB / 0.5201 GB, free: 4.094 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.0006312/0.1217, allocations: 349.5 kB / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1217, allocations: 12.03 kB / 0.5204 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.875e-05/0.1217, allocations: 4.188 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1218, allocations: 38.67 kB / 0.5204 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1218, allocations: 20.84 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1221, allocations: 154.3 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1221, allocations: 4.125 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1221, allocations: 12 kB / 0.5206 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1223, allocations: 49.67 kB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1223, allocations: 0 / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1223, allocations: 4 kB / 0.5207 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1223, allocations: 0 / 0.5207 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.1224, allocations: 23.92 kB / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1228, allocations: 256 kB / 0.5209 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.123, allocations: 58.67 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.1231, allocations: 20.84 kB / 0.521 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1231, allocations: 4 kB / 0.521 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1233, allocations: 71.31 kB / 0.5211 GB, free: 2.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1233, allocations: 0 / 0.5211 GB, free: 2.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.1239, allocations: 181.3 kB / 0.5213 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1239, allocations: 55.41 kB / 0.5213 GB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.1242, allocations: 222.7 kB / 0.5215 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1242, allocations: 29.69 kB / 0.5216 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.1243, allocations: 108.1 kB / 0.5217 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1243, allocations: 23.84 kB / 0.5217 GB, free: 2.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1244, allocations: 21.66 kB / 0.5217 GB, free: 2.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1245, allocations: 326.8 kB / 0.522 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.1246, allocations: 23.98 kB / 0.522 GB, free: 1.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.1247, allocations: 37.7 kB / 0.5221 GB, free: 1.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1248, allocations: 65.7 kB / 0.5221 GB, free: 1.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1248, allocations: 0 / 0.5221 GB, free: 1.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.125, allocations: 101.6 kB / 0.5222 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.125, allocations: 4.031 kB / 0.5222 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.125, allocations: 4.188 kB / 0.5222 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1251, allocations: 0 / 0.5222 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.1252, allocations: 28.23 kB / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1252, allocations: 3.938 kB / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.1252, allocations: 8 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1252, allocations: 4 kB / 0.5223 GB, free: 1.598 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.0001956/0.1254, allocations: 129.8 kB / 0.5224 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1254, allocations: 15.95 kB / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1257, allocations: 122.9 kB / 0.5225 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1257, allocations: 4 kB / 0.5225 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1257, allocations: 3.938 kB / 0.5225 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1257, allocations: 0 / 0.5225 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.1263, allocations: 366.4 kB / 0.5229 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1263, allocations: 0 / 0.5229 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.1263, allocations: 8 kB / 0.5229 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1263, allocations: 3.938 kB / 0.5229 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1263, allocations: 12.03 kB / 0.5229 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1263, allocations: 0 / 0.5229 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1263, allocations: 0 / 0.5229 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.1266, allocations: 200.2 kB / 0.5231 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.1266, allocations: 19.88 kB / 0.5231 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1266, allocations: 4 kB / 0.5231 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.1267, allocations: 4 kB / 0.5231 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1267, allocations: 7.984 kB / 0.5231 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1268, allocations: 8 kB / 0.5232 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1269, allocations: 172.2 kB / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1269, allocations: 0 / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1272, allocations: 23.98 kB / 0.5233 GB, free: 436 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.002367/0.1296, allocations: 1.101 MB / 0.5244 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1298, allocations: 55.97 kB / 0.5245 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1298, allocations: 0 / 0.5245 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.1298, allocations: 27.92 kB / 0.5245 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1302, allocations: 27.98 kB / 0.5245 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.1324, allocations: 1.715 MB / 0.5262 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1327, allocations: 0.7196 MB / 0.5269 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1328, allocations: 21.27 kB / 0.5269 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.1329, allocations: 35.42 kB / 0.527 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1329, allocations: 0 / 0.527 GB, free: 12.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.1556, allocations: 3.746 MB / 0.5306 GB, free: 8.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.57, allocations: 16.94 kB / 0.5306 GB, free: 8.781 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.722489052976016] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.793785773974378 12.011194988 11.887115363 Calling exit ...