Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001258/0.001258, allocations: 122.1 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.001332/0.001332, 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.619/1.619, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.4261/0.4261, allocations: 44.24 MB / 327.3 MB, free: 6.707 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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.002439/0.002439, allocations: 75.89 kB / 463 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4207, allocations: 61 MB / 0.5117 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003328/0.424, allocations: 1.668 MB / 0.5133 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.4255, allocations: 0.7915 MB / 0.5141 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.4256, allocations: 5.75 kB / 0.5141 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.426, allocations: 62.3 kB / 0.5142 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.4263, allocations: 72.27 kB / 0.5142 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.4265, allocations: 79.83 kB / 0.5143 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.4267, allocations: 99.23 kB / 0.5144 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.4268, allocations: 6.797 kB / 0.5144 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.4269, allocations: 48.16 kB / 0.5145 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.427, allocations: 57.47 kB / 0.5145 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.427, allocations: 2.531 kB / 0.5145 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.4271, allocations: 35.86 kB / 0.5146 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.4272, allocations: 17.45 kB / 0.5146 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.4272, allocations: 31.67 kB / 0.5146 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.4274, allocations: 97.27 kB / 0.5147 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4274, allocations: 1.375 kB / 0.5147 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4274, allocations: 0 / 0.5147 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.4275, allocations: 0 / 0.5147 GB, free: 11.06 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005693/0.428, allocations: 409.1 kB / 0.5151 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.4281, allocations: 14.42 kB / 0.5151 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.498e-05/0.4281, allocations: 192 / 0.5151 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.4281, allocations: 32.25 kB / 0.5151 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.4282, allocations: 16.59 kB / 0.5151 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4284, allocations: 210.5 kB / 0.5153 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4285, allocations: 9.625 kB / 0.5154 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.4285, allocations: 1.281 kB / 0.5154 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4286, allocations: 52.56 kB / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4286, allocations: 4 kB / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4287, allocations: 0 / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.4287, allocations: 1.688 kB / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.4288, allocations: 14.83 kB / 0.5154 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.429, allocations: 179.2 kB / 0.5156 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.4291, allocations: 53.62 kB / 0.5157 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.4292, allocations: 23.53 kB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.4292, allocations: 1.562 kB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4294, allocations: 64.33 kB / 0.5157 GB, free: 9.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.4294, allocations: 0 / 0.5157 GB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003051/0.4297, allocations: 99.16 kB / 0.5158 GB, free: 9.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.4298, allocations: 52.75 kB / 0.5159 GB, free: 9.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.4299, allocations: 192.9 kB / 0.5161 GB, free: 9.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.43, allocations: 30.83 kB / 0.5161 GB, free: 9.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.43, allocations: 100.4 kB / 0.5162 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.43, allocations: 6.828 kB / 0.5162 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.4301, allocations: 18.16 kB / 0.5162 GB, free: 9.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.4301, allocations: 327.1 kB / 0.5165 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.4302, allocations: 18.67 kB / 0.5165 GB, free: 9.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.4303, allocations: 28.62 kB / 0.5166 GB, free: 9.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.539e-05/0.4303, allocations: 50.08 kB / 0.5166 GB, free: 9.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4304, allocations: 1.375 kB / 0.5166 GB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001617/0.4305, allocations: 78.47 kB / 0.5167 GB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4305, allocations: 5.5 kB / 0.5167 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4305, allocations: 9.297 kB / 0.5167 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4306, allocations: 3.938 kB / 0.5167 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.4306, allocations: 9.625 kB / 0.5167 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4307, allocations: 5.406 kB / 0.5167 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.4307, allocations: 1.375 kB / 0.5167 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.4307, allocations: 2.75 kB / 0.5167 GB, free: 9.055 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 (7): * Single equations (assignments): 7 * 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.0001088/0.4308, allocations: 132.5 kB / 0.5169 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.4308, allocations: 9.453 kB / 0.5169 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.4309, allocations: 12.44 kB / 0.5169 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4309, allocations: 3.984 kB / 0.5169 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4309, allocations: 1.375 kB / 0.5169 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4309, allocations: 0 / 0.5169 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.431, allocations: 192.6 kB / 0.5171 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.431, allocations: 0 / 0.5171 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.4311, allocations: 2.75 kB / 0.5171 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4311, allocations: 1.375 kB / 0.5171 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4311, allocations: 4.312 kB / 0.5171 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4311, allocations: 1.375 kB / 0.5171 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4311, allocations: 7.938 kB / 0.5171 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.4313, allocations: 110 kB / 0.5172 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.4313, allocations: 91.73 kB / 0.5173 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.4313, allocations: 0 / 0.5173 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.4314, allocations: 6.75 kB / 0.5173 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.4314, allocations: 1.375 kB / 0.5173 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4314, allocations: 2.75 kB / 0.5173 GB, free: 8.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.4316, allocations: 145.2 kB / 0.5174 GB, free: 8.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4316, allocations: 0 / 0.5174 GB, free: 8.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.4318, allocations: 16.38 kB / 0.5174 GB, free: 8.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00206/0.4339, allocations: 0.9674 MB / 0.5184 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.4341, allocations: 37.97 kB / 0.5184 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4341, allocations: 0 / 0.5184 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.4342, allocations: 18.94 kB / 0.5184 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.4345, allocations: 36.41 kB / 0.5185 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4363, allocations: 1.475 MB / 0.5199 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.4365, allocations: 0.7013 MB / 0.5206 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.4366, allocations: 16.72 kB / 0.5206 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.4366, allocations: 29.97 kB / 0.5206 GB, free: 5.387 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4367, allocations: 0 / 0.5206 GB, free: 5.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.4564, allocations: 3.124 MB / 0.5237 GB, free: 2.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.857, allocations: 8 kB / 0.5237 GB, free: 2.262 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.062347745988518] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 9.040290616976563 9.065908115 8.633960657 Calling exit ...