Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.001951/0.001951, allocations: 120.3 kB / 17.83 MB, free: 5.227 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.00245/0.00245, allocations: 199.9 kB / 20.79 MB, free: 2.281 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.83/1.83, allocations: 207.6 MB / 231.2 MB, free: 4.102 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.4636/0.4636, allocations: 44.23 MB / 327.3 MB, free: 6.703 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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.002437/0.002437, allocations: 71.89 kB / 463 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3281, allocations: 61 MB / 0.5117 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002859/0.3309, allocations: 1.711 MB / 0.5134 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3322, allocations: 0.81 MB / 0.5142 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.3323, allocations: 3.938 kB / 0.5142 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.3327, allocations: 37.45 kB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.3329, allocations: 62.25 kB / 0.5143 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.3331, allocations: 93.81 kB / 0.5144 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3333, allocations: 92.23 kB / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3334, allocations: 12.88 kB / 0.5145 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.3335, allocations: 48.8 kB / 0.5145 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.3336, allocations: 29.95 kB / 0.5145 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3336, allocations: 7.281 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3337, allocations: 38.58 kB / 0.5146 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.3338, allocations: 22.97 kB / 0.5146 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.3339, allocations: 32.14 kB / 0.5146 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3341, allocations: 115.7 kB / 0.5147 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3341, allocations: 5.109 kB / 0.5148 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3341, allocations: 4 kB / 0.5148 GB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3341, allocations: 0 / 0.5148 GB, free: 10.9 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.0005431/0.3346, allocations: 416.4 kB / 0.5152 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3347, allocations: 14.3 kB / 0.5152 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.3347, allocations: 192 / 0.5152 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.3347, allocations: 39.95 kB / 0.5152 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.3348, allocations: 10.83 kB / 0.5152 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.335, allocations: 212.5 kB / 0.5154 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.335, allocations: 10.19 kB / 0.5154 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3351, allocations: 5.969 kB / 0.5154 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3352, allocations: 53.05 kB / 0.5155 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3352, allocations: 2 kB / 0.5155 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3352, allocations: 0 / 0.5155 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3352, allocations: 0 / 0.5155 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.3353, allocations: 27.61 kB / 0.5155 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.3356, allocations: 286.2 kB / 0.5158 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3358, allocations: 55.67 kB / 0.5158 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.3359, allocations: 16.33 kB / 0.5159 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3359, allocations: 5.156 kB / 0.5159 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.336, allocations: 68.89 kB / 0.5159 GB, free: 9.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.336, allocations: 5.219 kB / 0.5159 GB, free: 9.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005481/0.3366, allocations: 177.2 kB / 0.5161 GB, free: 9.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.3366, allocations: 56.62 kB / 0.5162 GB, free: 9.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3368, allocations: 199.1 kB / 0.5163 GB, free: 9.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3368, allocations: 31.89 kB / 0.5164 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.3368, allocations: 100.2 kB / 0.5165 GB, free: 9.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3368, allocations: 27.91 kB / 0.5165 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.3369, allocations: 24.59 kB / 0.5165 GB, free: 9.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.3369, allocations: 325.6 kB / 0.5168 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.337, allocations: 18.98 kB / 0.5168 GB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.337, allocations: 35.45 kB / 0.5169 GB, free: 8.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.794e-05/0.3371, allocations: 63.77 kB / 0.5169 GB, free: 8.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3371, allocations: 0 / 0.5169 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001656/0.3373, allocations: 112.1 kB / 0.5171 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3373, allocations: 4.125 kB / 0.5171 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3373, allocations: 1.375 kB / 0.5171 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3373, allocations: 1.375 kB / 0.5171 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.3374, allocations: 16.36 kB / 0.5171 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3374, allocations: 5.312 kB / 0.5171 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3375, allocations: 2.75 kB / 0.5171 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3375, allocations: 2.75 kB / 0.5171 GB, free: 8.699 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.997e-05/0.3376, allocations: 131.1 kB / 0.5172 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.3376, allocations: 13.48 kB / 0.5172 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.3376, allocations: 14.91 kB / 0.5172 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3376, allocations: 1.375 kB / 0.5172 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3376, allocations: 3.938 kB / 0.5172 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3376, allocations: 3.984 kB / 0.5172 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.338, allocations: 394.5 kB / 0.5176 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.338, allocations: 5.359 kB / 0.5176 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.338, allocations: 14.75 kB / 0.5176 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.338, allocations: 9.344 kB / 0.5176 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.338, allocations: 1.375 kB / 0.5176 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.338, allocations: 1.375 kB / 0.5177 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.338, allocations: 0 / 0.5177 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.3382, allocations: 200.6 kB / 0.5178 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.3382, allocations: 93.08 kB / 0.5179 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3383, allocations: 1.75 kB / 0.5179 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.3383, allocations: 9.375 kB / 0.5179 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.3384, allocations: 16.23 kB / 0.518 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3384, allocations: 2.75 kB / 0.518 GB, free: 7.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.936e-05/0.3385, allocations: 156.8 kB / 0.5181 GB, free: 7.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3385, allocations: 0 / 0.5181 GB, free: 7.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.3387, allocations: 24.44 kB / 0.5181 GB, free: 7.727 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.001945/0.3407, allocations: 1.097 MB / 0.5192 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3409, allocations: 56.02 kB / 0.5193 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3409, allocations: 1.25 kB / 0.5193 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.3409, allocations: 32.27 kB / 0.5193 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3413, allocations: 31.28 kB / 0.5193 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3429, allocations: 1.662 MB / 0.5209 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.343, allocations: 0.7041 MB / 0.5216 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.3431, allocations: 17.17 kB / 0.5216 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.3432, allocations: 35.42 kB / 0.5217 GB, free: 4.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3432, allocations: 0 / 0.5217 GB, free: 4.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.3616, allocations: 3.49 MB / 0.5251 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.692, allocations: 10.78 kB / 0.5251 GB, free: 0.8281 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.16597452701535] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.871545067988336 8.894068459 8.555847342 Calling exit ...