Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.002164/0.002164, 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.00263/0.00263, allocations: 211.9 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.453/1.453, 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.2212/0.2212, allocations: 44.24 MB / 331.1 MB, free: 9.535 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.002316/0.002316, allocations: 74.56 kB / 468.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1139, allocations: 61.05 MB / 0.517 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003252/0.1172, allocations: 1.717 MB / 0.5187 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1186, allocations: 0.8285 MB / 0.5195 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.1187, allocations: 3.938 kB / 0.5195 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.119, allocations: 83.75 kB / 0.5195 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.1192, allocations: 75.66 kB / 0.5196 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1195, allocations: 87.77 kB / 0.5197 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1197, allocations: 107.7 kB / 0.5198 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.1198, allocations: 8.219 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1199, allocations: 59.69 kB / 0.5199 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.12, allocations: 63.83 kB / 0.5199 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.12, allocations: 0 / 0.5199 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1201, allocations: 47.97 kB / 0.52 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.1202, allocations: 19.92 kB / 0.52 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.1203, allocations: 31.75 kB / 0.52 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1205, allocations: 127.4 kB / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1205, allocations: 0 / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1205, allocations: 0 / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1205, allocations: 0 / 0.5201 GB, free: 4.02 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.0005511/0.1211, allocations: 349.6 kB / 0.5205 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1211, allocations: 12.03 kB / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/0.1211, allocations: 192 / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.1211, allocations: 34.73 kB / 0.5205 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1212, allocations: 12.84 kB / 0.5205 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1215, allocations: 155.3 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1215, allocations: 8.125 kB / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1215, allocations: 0 / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1217, allocations: 61.61 kB / 0.5208 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1217, allocations: 0 / 0.5208 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1217, allocations: 4 kB / 0.5208 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.1217, allocations: 0 / 0.5208 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.1218, allocations: 15.98 kB / 0.5208 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1222, allocations: 267.9 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1224, allocations: 66.61 kB / 0.5211 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.1224, allocations: 16.84 kB / 0.5211 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1224, allocations: 4 kB / 0.5211 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.1226, allocations: 63.39 kB / 0.5212 GB, free: 2.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1226, allocations: 0 / 0.5212 GB, free: 2.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005685/0.1232, allocations: 177.3 kB / 0.5213 GB, free: 2.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1232, allocations: 59.39 kB / 0.5214 GB, free: 2.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1234, allocations: 214.2 kB / 0.5216 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1235, allocations: 29.7 kB / 0.5216 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.1235, allocations: 104.1 kB / 0.5217 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1236, allocations: 23.8 kB / 0.5218 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1236, allocations: 25.7 kB / 0.5218 GB, free: 2.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1238, allocations: 322.8 kB / 0.5221 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.1238, allocations: 23.98 kB / 0.5221 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.1239, allocations: 41.66 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.124, allocations: 57.77 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.124, allocations: 0 / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.1242, allocations: 113.5 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1243, allocations: 4.188 kB / 0.5223 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1243, allocations: 0 / 0.5223 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1243, allocations: 3.938 kB / 0.5223 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.1244, allocations: 20.03 kB / 0.5223 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1244, allocations: 3.938 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.1244, allocations: 3.984 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1244, allocations: 4 kB / 0.5223 GB, free: 1.559 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.0001144/0.1245, allocations: 133.8 kB / 0.5225 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.1246, allocations: 7.953 kB / 0.5225 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1248, allocations: 123 kB / 0.5226 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1248, allocations: 3.984 kB / 0.5226 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1248, allocations: 7.938 kB / 0.5226 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1248, allocations: 0 / 0.5226 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1253, allocations: 362.4 kB / 0.523 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1253, allocations: 0 / 0.523 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.1253, allocations: 8.375 kB / 0.523 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.1254, allocations: 7.938 kB / 0.523 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1254, allocations: 4 kB / 0.523 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1254, allocations: 3.938 kB / 0.523 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1254, allocations: 4.031 kB / 0.523 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1256, allocations: 208.3 kB / 0.5232 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.1256, allocations: 7.891 kB / 0.5232 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1257, allocations: 4 kB / 0.5232 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.1257, allocations: 4 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1258, allocations: 7.984 kB / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1258, allocations: 8 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1259, allocations: 156.2 kB / 0.5234 GB, free: 436 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1259, allocations: 0 / 0.5234 GB, free: 436 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1262, allocations: 27.92 kB / 0.5234 GB, free: 408 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.002245/0.1284, allocations: 1.098 MB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1286, allocations: 63.89 kB / 0.5245 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1286, allocations: 0 / 0.5245 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.1287, allocations: 28.05 kB / 0.5245 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1291, allocations: 31.86 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.131, allocations: 1.682 MB / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1313, allocations: 0.7119 MB / 0.5269 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.1314, allocations: 16.89 kB / 0.5269 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1314, allocations: 39.42 kB / 0.527 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1314, allocations: 0 / 0.527 GB, free: 12.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.1541, allocations: 3.692 MB / 0.5306 GB, free: 8.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.61, allocations: 4 kB / 0.5306 GB, free: 8.852 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.825412873004097] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.82802813797025 12.073809673 11.950418309 Calling exit ...