Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001745/0.001745, allocations: 108.9 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.002329/0.002329, allocations: 221.8 kB / 23.79 MB, free: 4.699 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.48/1.48, 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.2216/0.2216, 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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",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.002224/0.002224, allocations: 78.56 kB / 468.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1073, allocations: 61.05 MB / 0.517 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003552/0.1108, allocations: 1.721 MB / 0.5187 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1124, allocations: 0.8207 MB / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.1125, allocations: 7.938 kB / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.1128, allocations: 35.83 kB / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.113, allocations: 59.69 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1133, allocations: 87.77 kB / 0.5196 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1135, allocations: 95.69 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.1135, allocations: 8.219 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.911e-05/0.1136, allocations: 47.78 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.1137, allocations: 39.78 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1137, allocations: 4 kB / 0.5198 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.1138, allocations: 39.97 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.1139, allocations: 15.94 kB / 0.5199 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.1139, allocations: 35.73 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1142, allocations: 111.6 kB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1142, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1142, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1142, allocations: 0 / 0.52 GB, free: 4.121 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.0005138/0.1147, allocations: 337.6 kB / 0.5203 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1147, allocations: 12.03 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.1147, allocations: 192 / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.1148, allocations: 38.67 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1148, allocations: 8.891 kB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1151, allocations: 150.3 kB / 0.5205 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1151, allocations: 4.125 kB / 0.5205 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.1151, allocations: 4 kB / 0.5205 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1153, allocations: 53.67 kB / 0.5206 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1153, allocations: 7.953 kB / 0.5206 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1153, allocations: 0 / 0.5206 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1153, allocations: 3.938 kB / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.1154, allocations: 23.92 kB / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1158, allocations: 252 kB / 0.5209 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.116, allocations: 58.69 kB / 0.5209 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.116, allocations: 24.78 kB / 0.521 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.116, allocations: 0 / 0.521 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.1162, allocations: 67.39 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1162, allocations: 0 / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005259/0.1167, allocations: 173.3 kB / 0.5212 GB, free: 2.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.1168, allocations: 59.41 kB / 0.5212 GB, free: 2.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1169, allocations: 170.2 kB / 0.5214 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.117, allocations: 25.7 kB / 0.5214 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.117, allocations: 100.1 kB / 0.5215 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1171, allocations: 27.83 kB / 0.5216 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1171, allocations: 25.72 kB / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1172, allocations: 322.8 kB / 0.5219 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.1173, allocations: 19.98 kB / 0.5219 GB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.1174, allocations: 37.7 kB / 0.5219 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1175, allocations: 57.66 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1175, allocations: 0 / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1177, allocations: 109.6 kB / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1177, allocations: 4 kB / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1177, allocations: 0 / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1177, allocations: 7.984 kB / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.1178, allocations: 24.02 kB / 0.5221 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1178, allocations: 3.938 kB / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.1178, allocations: 4 kB / 0.5221 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1179, allocations: 0 / 0.5221 GB, free: 1.742 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.0001062/0.118, allocations: 122 kB / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.1181, allocations: 15.94 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1183, allocations: 114.2 kB / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.1183, allocations: 0 / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1183, allocations: 7.938 kB / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1183, allocations: 3.984 kB / 0.5224 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.1188, allocations: 362.4 kB / 0.5227 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1188, allocations: 0 / 0.5227 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.1188, allocations: 15.92 kB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1188, allocations: 3.938 kB / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1188, allocations: 0 / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1188, allocations: 4 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1188, allocations: 32 / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1191, allocations: 208.3 kB / 0.523 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.1191, allocations: 7.891 kB / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1191, allocations: 8.359 kB / 0.523 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1192, allocations: 4 kB / 0.523 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1192, allocations: 11.98 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1192, allocations: 8 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1194, allocations: 135.9 kB / 0.5231 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1194, allocations: 0 / 0.5231 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1197, allocations: 23.98 kB / 0.5231 GB, free: 0.6172 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.002258/0.1219, allocations: 1.098 MB / 0.5242 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1221, allocations: 55.91 kB / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1221, allocations: 0 / 0.5243 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.1222, allocations: 24.06 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1225, allocations: 31.91 kB / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1243, allocations: 1.597 MB / 0.5259 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1247, allocations: 0.7118 MB / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.048e-05/0.1248, allocations: 17.28 kB / 0.5266 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.1248, allocations: 27.42 kB / 0.5266 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1248, allocations: 4 kB / 0.5266 GB, free: 12.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1484, allocations: 3.514 MB / 0.5301 GB, free: 9.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.43, allocations: 5.062 kB / 0.5301 GB, free: 9.348 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.751750562980305] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.652269067999441 11.979751741 11.862203002 Calling exit ...