Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.00142/0.00142, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.001441/0.001441, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.503/1.503, allocations: 207.6 MB / 231.2 MB, free: 4.113 MB / 174.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.3359/0.3359, allocations: 44.22 MB / 327.3 MB, free: 6.723 MB / 254.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.002463/0.002463, allocations: 67.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.269, allocations: 61 MB / 0.5117 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002594/0.2716, allocations: 1.717 MB / 0.5134 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2726, allocations: 0.8041 MB / 0.5142 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.2727, allocations: 5.375 kB / 0.5142 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.273, allocations: 42.83 kB / 0.5142 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.2732, allocations: 61.03 kB / 0.5143 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.2734, allocations: 88.95 kB / 0.5144 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.2735, allocations: 95.06 kB / 0.5144 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.774e-05/0.2736, allocations: 7.062 kB / 0.5145 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.2736, allocations: 50.27 kB / 0.5145 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.2737, allocations: 41.02 kB / 0.5145 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2737, allocations: 4.125 kB / 0.5145 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.2738, allocations: 37.48 kB / 0.5146 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.2738, allocations: 22.78 kB / 0.5146 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.2739, allocations: 28.06 kB / 0.5146 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.274, allocations: 114.1 kB / 0.5147 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2741, allocations: 1.375 kB / 0.5147 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2741, allocations: 7.938 kB / 0.5147 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.2741, allocations: 0 / 0.5147 GB, free: 10.98 MB / 382.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.000402/0.2745, allocations: 415.6 kB / 0.5151 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2745, allocations: 13.48 kB / 0.5152 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.113e-05/0.2745, allocations: 1.562 kB / 0.5152 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.848e-05/0.2745, allocations: 30.75 kB / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.2746, allocations: 14.34 kB / 0.5152 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2748, allocations: 215.1 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2748, allocations: 9.469 kB / 0.5154 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.2748, allocations: 2.688 kB / 0.5154 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2749, allocations: 57.33 kB / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2749, allocations: 1.531 kB / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2749, allocations: 0 / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.275, allocations: 0 / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/0.275, allocations: 19.67 kB / 0.5155 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.2753, allocations: 285.6 kB / 0.5158 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2754, allocations: 59.58 kB / 0.5158 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.2755, allocations: 24.52 kB / 0.5158 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2755, allocations: 1.719 kB / 0.5158 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.2756, allocations: 73.03 kB / 0.5159 GB, free: 9.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2756, allocations: 4 kB / 0.5159 GB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004861/0.2761, allocations: 173.8 kB / 0.5161 GB, free: 9.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.2761, allocations: 52.5 kB / 0.5161 GB, free: 9.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2763, allocations: 186.9 kB / 0.5163 GB, free: 9.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.2763, allocations: 25.7 kB / 0.5163 GB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.2763, allocations: 105.3 kB / 0.5164 GB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2763, allocations: 23.47 kB / 0.5165 GB, free: 9.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2764, allocations: 25.44 kB / 0.5165 GB, free: 9.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.2764, allocations: 325.9 kB / 0.5168 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.2765, allocations: 22.73 kB / 0.5168 GB, free: 8.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.2765, allocations: 43.98 kB / 0.5169 GB, free: 8.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.2766, allocations: 54.55 kB / 0.5169 GB, free: 8.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2766, allocations: 0 / 0.5169 GB, free: 8.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001606/0.2768, allocations: 112.2 kB / 0.517 GB, free: 8.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2768, allocations: 4.219 kB / 0.517 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.2768, allocations: 1.688 kB / 0.517 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2768, allocations: 0 / 0.517 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.2769, allocations: 18.05 kB / 0.517 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2769, allocations: 3.938 kB / 0.517 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.277, allocations: 2.531 kB / 0.517 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.277, allocations: 7.812 kB / 0.5171 GB, free: 8.785 MB / 382.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 6.65e-05/0.277, allocations: 125.6 kB / 0.5172 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.277, allocations: 13.45 kB / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.2771, allocations: 13.09 kB / 0.5172 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2771, allocations: 1.156 kB / 0.5172 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2771, allocations: 5.156 kB / 0.5172 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2771, allocations: 0 / 0.5172 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.2774, allocations: 401.8 kB / 0.5176 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2774, allocations: 0 / 0.5176 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.2775, allocations: 7.312 kB / 0.5176 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2775, allocations: 9.25 kB / 0.5176 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2775, allocations: 2.75 kB / 0.5176 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2775, allocations: 0 / 0.5176 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2775, allocations: 1.281 kB / 0.5176 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.2776, allocations: 204.3 kB / 0.5178 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.2777, allocations: 95.69 kB / 0.5179 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.2777, allocations: 1.75 kB / 0.5179 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.2777, allocations: 10.75 kB / 0.5179 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.2778, allocations: 10.73 kB / 0.5179 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.2778, allocations: 4.125 kB / 0.5179 GB, free: 7.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.2779, allocations: 141.2 kB / 0.5181 GB, free: 7.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2779, allocations: 3.938 kB / 0.5181 GB, free: 7.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.2781, allocations: 24.48 kB / 0.5181 GB, free: 7.824 MB / 382.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.001835/0.28, allocations: 1.102 MB / 0.5192 GB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.2801, allocations: 55.59 kB / 0.5192 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2801, allocations: 0 / 0.5192 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.2802, allocations: 28.42 kB / 0.5192 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.2805, allocations: 32.2 kB / 0.5193 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2818, allocations: 1.625 MB / 0.5209 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.2819, allocations: 0.704 MB / 0.5215 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.534e-05/0.282, allocations: 21.17 kB / 0.5216 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.282, allocations: 35.42 kB / 0.5216 GB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.282, allocations: 0 / 0.5216 GB, free: 4.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3001, allocations: 3.424 MB / 0.5249 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.697/8.997, allocations: 4.062 kB / 0.5249 GB, free: 0.8594 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.93347000097856] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.178094485017937 9.19296946 8.915903521 Calling exit ...