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.001478/0.001478, allocations: 116.7 kB / 17.84 MB, free: 5.242 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.001464/0.001464, allocations: 198.3 kB / 20.79 MB, free: 2.305 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.677/1.677, 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.4212/0.4212, allocations: 44.22 MB / 327.3 MB, free: 6.723 MB / 254.1 MB " [Timeout remaining time 179] 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.002438/0.002438, allocations: 79.89 kB / 463 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.27, allocations: 60.98 MB / 0.5117 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002806/0.2728, allocations: 1.711 MB / 0.5134 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2739, allocations: 0.8112 MB / 0.5142 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.274, allocations: 0 / 0.5142 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.2743, allocations: 49.95 kB / 0.5142 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.2745, allocations: 52.22 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.2748, allocations: 85.33 kB / 0.5143 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.2749, allocations: 93.66 kB / 0.5144 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.275, allocations: 17.11 kB / 0.5145 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.2751, allocations: 43.44 kB / 0.5145 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.551e-05/0.2752, allocations: 29.64 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2752, allocations: 9.406 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.592e-05/0.2753, allocations: 45 kB / 0.5146 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.2753, allocations: 18.67 kB / 0.5146 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.2754, allocations: 27.34 kB / 0.5146 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.2756, allocations: 113 kB / 0.5147 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2756, allocations: 1.281 kB / 0.5147 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2756, allocations: 0 / 0.5147 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2756, allocations: 0 / 0.5147 GB, free: 10.84 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.0004761/0.2761, allocations: 410.2 kB / 0.5151 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2761, allocations: 17.58 kB / 0.5151 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.442e-05/0.2761, allocations: 5.25 kB / 0.5151 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.12e-05/0.2761, allocations: 35.91 kB / 0.5152 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.2762, allocations: 9.609 kB / 0.5152 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.2764, allocations: 202.6 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2765, allocations: 9.188 kB / 0.5154 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2765, allocations: 2.188 kB / 0.5154 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2766, allocations: 53.98 kB / 0.5154 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2766, allocations: 13.11 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2766, allocations: 0 / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2767, allocations: 1.156 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.2767, allocations: 26.95 kB / 0.5155 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.277, allocations: 284 kB / 0.5157 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.2772, allocations: 52.33 kB / 0.5158 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.2772, allocations: 25.2 kB / 0.5158 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.2773, allocations: 1.188 kB / 0.5158 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.2774, allocations: 72.62 kB / 0.5159 GB, free: 9.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.2774, allocations: 0 / 0.5159 GB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005306/0.2779, allocations: 169.3 kB / 0.5161 GB, free: 9.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.278, allocations: 53.09 kB / 0.5161 GB, free: 9.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2781, allocations: 180 kB / 0.5163 GB, free: 9.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2781, allocations: 31.42 kB / 0.5163 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.2781, allocations: 96.64 kB / 0.5164 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2782, allocations: 30.52 kB / 0.5164 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2782, allocations: 21.09 kB / 0.5164 GB, free: 9.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.2783, allocations: 321.3 kB / 0.5168 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.2783, allocations: 23.14 kB / 0.5168 GB, free: 8.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.2784, allocations: 39.92 kB / 0.5168 GB, free: 8.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.2785, allocations: 58.33 kB / 0.5169 GB, free: 8.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2785, allocations: 1.562 kB / 0.5169 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.2787, allocations: 98.59 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2787, allocations: 5.5 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2787, allocations: 0 / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2787, allocations: 5.312 kB / 0.517 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.2788, allocations: 20.39 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2788, allocations: 5.312 kB / 0.517 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.2789, allocations: 2.75 kB / 0.517 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2789, allocations: 2.75 kB / 0.517 GB, free: 8.664 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 7.622e-05/0.2789, allocations: 126.1 kB / 0.5171 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.279, allocations: 8.078 kB / 0.5171 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.279, allocations: 12.84 kB / 0.5171 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.279, allocations: 5.312 kB / 0.5172 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.279, allocations: 5.312 kB / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.279, allocations: 7.984 kB / 0.5172 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.2794, allocations: 392 kB / 0.5175 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2794, allocations: 1.375 kB / 0.5175 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.2794, allocations: 14.75 kB / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2794, allocations: 5.312 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2794, allocations: 1.375 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2794, allocations: 1.75 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2794, allocations: 1.375 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.2796, allocations: 203 kB / 0.5178 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.2796, allocations: 95.73 kB / 0.5178 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.2797, allocations: 2.75 kB / 0.5179 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.2797, allocations: 1.375 kB / 0.5179 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.2798, allocations: 12.11 kB / 0.5179 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.2798, allocations: 2.75 kB / 0.5179 GB, free: 7.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.095e-05/0.2799, allocations: 135.5 kB / 0.518 GB, free: 7.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2799, allocations: 0 / 0.518 GB, free: 7.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.2801, allocations: 28.38 kB / 0.518 GB, free: 7.707 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.001859/0.282, allocations: 1.108 MB / 0.5191 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.2822, allocations: 55.53 kB / 0.5192 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2822, allocations: 0 / 0.5192 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.2823, allocations: 24.56 kB / 0.5192 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2826, allocations: 40.25 kB / 0.5192 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.284, allocations: 1.605 MB / 0.5208 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.2841, allocations: 0.7041 MB / 0.5215 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.313e-05/0.2842, allocations: 13.19 kB / 0.5215 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.2842, allocations: 35.42 kB / 0.5215 GB, free: 4.418 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2842, allocations: 0 / 0.5215 GB, free: 4.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.3021, allocations: 3.358 MB / 0.5248 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/8.68, allocations: 10.69 kB / 0.5248 GB, free: 0.9844 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.849335688049905] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.862406712025404 8.88469299 8.60493321 Calling exit ...