Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001851/0.001851, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.00191/0.00191, allocations: 211.9 kB / 23.78 MB, free: 4.523 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.386/1.386, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2193/0.2193, allocations: 44.27 MB / 331.1 MB, free: 9.297 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.002099/0.002099, allocations: 71.88 kB / 468.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 61.04 MB / 0.517 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00312/0.1127, allocations: 1.744 MB / 0.5187 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1149, allocations: 1.534 MB / 0.5202 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.115, allocations: 7.938 kB / 0.5202 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1153, allocations: 59.67 kB / 0.5202 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1156, allocations: 83.61 kB / 0.5203 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1159, allocations: 151.6 kB / 0.5205 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1162, allocations: 191.3 kB / 0.5206 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.1162, allocations: 14.02 kB / 0.5207 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1164, allocations: 83.62 kB / 0.5207 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1165, allocations: 67.69 kB / 0.5208 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.1166, allocations: 8 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1167, allocations: 59.98 kB / 0.5209 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.1168, allocations: 43.77 kB / 0.5209 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.1168, allocations: 43.73 kB / 0.5209 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1171, allocations: 175.2 kB / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1171, allocations: 0 / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1171, allocations: 0 / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1171, allocations: 0 / 0.5211 GB, free: 2.848 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006219/0.1177, allocations: 401.2 kB / 0.5215 GB, free: 2.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1178, allocations: 12.03 kB / 0.5215 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.426e-05/0.1178, allocations: 192 / 0.5215 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1178, allocations: 34.75 kB / 0.5215 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1179, allocations: 16.84 kB / 0.5216 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1182, allocations: 182 kB / 0.5217 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1182, allocations: 12.06 kB / 0.5217 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1182, allocations: 0 / 0.5217 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1185, allocations: 156.4 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1185, allocations: 4 kB / 0.5219 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1185, allocations: 4 kB / 0.5219 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1185, allocations: 3.984 kB / 0.5219 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1186, allocations: 31.98 kB / 0.5219 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.1189, allocations: 185.5 kB / 0.5221 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1191, allocations: 109.2 kB / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1193, allocations: 45.69 kB / 0.5223 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1193, allocations: 0 / 0.5223 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.1195, allocations: 109 kB / 0.5224 GB, free: 1.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1195, allocations: 0 / 0.5224 GB, free: 1.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004813/0.12, allocations: 177.5 kB / 0.5225 GB, free: 1.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.1201, allocations: 128.5 kB / 0.5227 GB, free: 1.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1203, allocations: 223.8 kB / 0.5229 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1204, allocations: 33.7 kB / 0.5229 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.1204, allocations: 108.1 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.1205, allocations: 31.75 kB / 0.523 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.1205, allocations: 33.7 kB / 0.5231 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1207, allocations: 326.8 kB / 0.5234 GB, free: 280 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.1208, allocations: 31.97 kB / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.1209, allocations: 128.5 kB / 0.5235 GB, free: 88 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1211, allocations: 99.83 kB / 0.5236 GB, free: 15.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1211, allocations: 4 kB / 0.5236 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003009/0.1214, allocations: 141.5 kB / 0.5238 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1215, allocations: 8 kB / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1215, allocations: 0 / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1215, allocations: 0 / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1216, allocations: 23.98 kB / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1216, allocations: 3.938 kB / 0.5238 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.1217, allocations: 7.953 kB / 0.5238 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1217, allocations: 4 kB / 0.5238 GB, free: 15.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001536/0.1219, allocations: 141.8 kB / 0.5239 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1219, allocations: 19.91 kB / 0.524 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.1223, allocations: 166.6 kB / 0.5241 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1223, allocations: 3.938 kB / 0.5241 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.1223, allocations: 4 kB / 0.5241 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1223, allocations: 0 / 0.5241 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1225, allocations: 188.5 kB / 0.5243 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1225, allocations: 0 / 0.5243 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.1225, allocations: 8.25 kB / 0.5243 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1225, allocations: 0 / 0.5243 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1226, allocations: 19.92 kB / 0.5243 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1226, allocations: 7.938 kB / 0.5243 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1226, allocations: 0 / 0.5243 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1229, allocations: 181.8 kB / 0.5245 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.1229, allocations: 11.91 kB / 0.5245 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.123, allocations: 8 kB / 0.5245 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.1231, allocations: 7.984 kB / 0.5245 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1231, allocations: 11.98 kB / 0.5246 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1231, allocations: 4 kB / 0.5246 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1233, allocations: 165.5 kB / 0.5247 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1233, allocations: 4 kB / 0.5247 GB, free: 14.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1236, allocations: 39.94 kB / 0.5248 GB, free: 14.73 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002751/0.1263, allocations: 1.091 MB / 0.5258 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.1267, allocations: 87.95 kB / 0.5259 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1267, allocations: 4.062 kB / 0.5259 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.1269, allocations: 47.89 kB / 0.526 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.1275, allocations: 51.89 kB / 0.526 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.1308, allocations: 1.847 MB / 0.5278 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.131, allocations: 102.3 kB / 0.5279 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.1311, allocations: 33.95 kB / 0.5279 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.1312, allocations: 55.41 kB / 0.528 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1312, allocations: 0 / 0.528 GB, free: 11.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.1575, allocations: 5.26 MB / 0.5331 GB, free: 5.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.06, allocations: 4.062 kB / 0.5331 GB, free: 5.898 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.229546649032272] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 12.2826053960016 12.517584677 12.397441895 Calling exit ...