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.001708/0.001708, allocations: 120.3 kB / 17.84 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.00208/0.00208, allocations: 211.9 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.48/1.48, 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.3544/0.3544, allocations: 44.23 MB / 327.3 MB, free: 6.695 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.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.002249/0.002249, allocations: 67.91 kB / 463 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3084, allocations: 61.01 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002891/0.3113, allocations: 1.802 MB / 0.5135 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3132, allocations: 1.49 MB / 0.5149 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3133, allocations: 5.031 kB / 0.5149 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.3137, allocations: 57.38 kB / 0.515 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.314, allocations: 87.3 kB / 0.5151 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.3144, allocations: 141 kB / 0.5152 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3146, allocations: 184.1 kB / 0.5154 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.3147, allocations: 18.22 kB / 0.5154 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3148, allocations: 78.8 kB / 0.5155 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.315, allocations: 76.33 kB / 0.5155 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3151, allocations: 11.41 kB / 0.5155 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.3152, allocations: 63.56 kB / 0.5156 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.3153, allocations: 36.25 kB / 0.5156 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.413e-05/0.3154, allocations: 52.52 kB / 0.5157 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.3157, allocations: 176.4 kB / 0.5159 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3157, allocations: 1.375 kB / 0.5159 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3157, allocations: 0 / 0.5159 GB, free: 9.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3157, allocations: 4 kB / 0.5159 GB, free: 9.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006153/0.3163, allocations: 471.6 kB / 0.5163 GB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3164, allocations: 14.86 kB / 0.5163 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.354e-05/0.3164, allocations: 192 / 0.5163 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.427e-05/0.3164, allocations: 37.5 kB / 0.5164 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.3165, allocations: 15.72 kB / 0.5164 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.3168, allocations: 246.1 kB / 0.5166 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3168, allocations: 10.88 kB / 0.5166 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3168, allocations: 2.75 kB / 0.5166 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.317, allocations: 95.08 kB / 0.5167 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.317, allocations: 0 / 0.5167 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.317, allocations: 1.375 kB / 0.5167 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.317, allocations: 1.375 kB / 0.5167 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3171, allocations: 35.05 kB / 0.5168 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.3173, allocations: 216.5 kB / 0.517 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3175, allocations: 106.1 kB / 0.5171 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.3176, allocations: 39.45 kB / 0.5171 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3176, allocations: 2.75 kB / 0.5171 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.3179, allocations: 112.5 kB / 0.5172 GB, free: 8.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3179, allocations: 0 / 0.5172 GB, free: 8.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004361/0.3183, allocations: 170.9 kB / 0.5174 GB, free: 8.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3183, allocations: 133.8 kB / 0.5175 GB, free: 8.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3185, allocations: 214.7 kB / 0.5177 GB, free: 8.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3186, allocations: 31.05 kB / 0.5177 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.3186, allocations: 110.7 kB / 0.5178 GB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3186, allocations: 29.14 kB / 0.5179 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.3187, allocations: 26.78 kB / 0.5179 GB, free: 8.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.3187, allocations: 335.2 kB / 0.5182 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.3188, allocations: 30.48 kB / 0.5182 GB, free: 7.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.3189, allocations: 66.08 kB / 0.5183 GB, free: 7.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3191, allocations: 103.2 kB / 0.5184 GB, free: 7.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3191, allocations: 0 / 0.5184 GB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002444/0.3193, allocations: 129.5 kB / 0.5185 GB, free: 7.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3193, allocations: 5.594 kB / 0.5185 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3193, allocations: 0 / 0.5185 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3194, allocations: 2.812 kB / 0.5185 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3195, allocations: 24.27 kB / 0.5186 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3195, allocations: 2.375 kB / 0.5186 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.3196, allocations: 21.52 kB / 0.5186 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3196, allocations: 7.234 kB / 0.5186 GB, free: 7.43 MB / 382.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 8.575e-05/0.3197, allocations: 128.2 kB / 0.5187 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3197, allocations: 16.81 kB / 0.5187 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.3197, allocations: 22.3 kB / 0.5187 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3197, allocations: 1.969 kB / 0.5187 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3197, allocations: 5.188 kB / 0.5188 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3197, allocations: 0 / 0.5188 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3199, allocations: 221.7 kB / 0.519 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3199, allocations: 4 kB / 0.519 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.3199, allocations: 11.97 kB / 0.519 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3199, allocations: 0 / 0.519 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3199, allocations: 2.469 kB / 0.519 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3199, allocations: 1.188 kB / 0.519 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3199, allocations: 0 / 0.519 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3202, allocations: 177.4 kB / 0.5191 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.3202, allocations: 89.16 kB / 0.5192 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3203, allocations: 7.938 kB / 0.5192 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.3203, allocations: 7.984 kB / 0.5192 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3204, allocations: 8 kB / 0.5193 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3204, allocations: 7.984 kB / 0.5193 GB, free: 6.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.3205, allocations: 161.5 kB / 0.5194 GB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3205, allocations: 0 / 0.5194 GB, free: 6.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3208, allocations: 43.88 kB / 0.5195 GB, free: 6.555 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001909/0.3227, allocations: 1.05 MB / 0.5205 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3229, allocations: 91.83 kB / 0.5206 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3229, allocations: 0 / 0.5206 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.323, allocations: 31.98 kB / 0.5206 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3234, allocations: 51.89 kB / 0.5207 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.325, allocations: 1.828 MB / 0.5224 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3251, allocations: 0.7164 MB / 0.5231 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.909e-05/0.3252, allocations: 33.52 kB / 0.5232 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.3252, allocations: 59.34 kB / 0.5232 GB, free: 2.574 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3252, allocations: 0 / 0.5232 GB, free: 2.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.3466, allocations: 4.761 MB / 0.5279 GB, free: 13.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/9.213, allocations: 9.688 kB / 0.5279 GB, free: 13.68 MB / 398.1 MB " [Timeout remaining time 651] (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: 12.089141882024705] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 9.399111156002618 9.421934619 9.102084336 Calling exit ...