Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001704/0.001704, allocations: 124.3 kB / 17.84 MB, free: 5.223 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.002072/0.002072, allocations: 203.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.759/1.759, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.3754/0.3754, allocations: 44.23 MB / 327.3 MB, free: 6.754 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.003914/0.003914, allocations: 75.91 kB / 463 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3324, allocations: 61 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002616/0.335, allocations: 1.712 MB / 0.5134 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3361, allocations: 0.8046 MB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.3362, allocations: 6.344 kB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.3365, allocations: 49.53 kB / 0.5142 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.3367, allocations: 70.16 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.3369, allocations: 89.33 kB / 0.5144 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.337, allocations: 92.09 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3371, allocations: 8.094 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.3372, allocations: 49.17 kB / 0.5145 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.3373, allocations: 37.73 kB / 0.5146 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3373, allocations: 2.781 kB / 0.5146 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.3374, allocations: 42.81 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.3374, allocations: 23.05 kB / 0.5146 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.3375, allocations: 40.86 kB / 0.5147 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3377, allocations: 133.1 kB / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3377, allocations: 1.438 kB / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3377, allocations: 0 / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3377, allocations: 0 / 0.5148 GB, free: 10.82 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.0004854/0.3382, allocations: 441.8 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3383, allocations: 17.59 kB / 0.5152 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.63e-05/0.3383, allocations: 1.562 kB / 0.5152 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.145e-05/0.3383, allocations: 36.28 kB / 0.5153 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.3383, allocations: 23.69 kB / 0.5153 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.3386, allocations: 222.2 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3386, allocations: 8.125 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.3387, allocations: 3.688 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3388, allocations: 53.08 kB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3388, allocations: 3.938 kB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3388, allocations: 2.094 kB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3388, allocations: 0 / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.3389, allocations: 18.58 kB / 0.5156 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.3392, allocations: 298.2 kB / 0.5159 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3394, allocations: 48.94 kB / 0.5159 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.3394, allocations: 24.34 kB / 0.5159 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.3394, allocations: 1.438 kB / 0.5159 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.3396, allocations: 68.23 kB / 0.516 GB, free: 9.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3396, allocations: 0 / 0.516 GB, free: 9.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005453/0.3401, allocations: 188.5 kB / 0.5162 GB, free: 9.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.3402, allocations: 57.25 kB / 0.5162 GB, free: 9.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3404, allocations: 265.7 kB / 0.5165 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3404, allocations: 27.08 kB / 0.5165 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.3405, allocations: 111 kB / 0.5166 GB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3405, allocations: 23.98 kB / 0.5166 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.3405, allocations: 24.58 kB / 0.5167 GB, free: 9.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.3406, allocations: 328.3 kB / 0.517 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.3407, allocations: 22.98 kB / 0.517 GB, free: 8.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.3407, allocations: 39.39 kB / 0.517 GB, free: 8.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3409, allocations: 54.41 kB / 0.5171 GB, free: 8.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3409, allocations: 4 kB / 0.5171 GB, free: 8.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.341, allocations: 121.4 kB / 0.5172 GB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3411, allocations: 5.5 kB / 0.5172 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3411, allocations: 0 / 0.5172 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3411, allocations: 1.375 kB / 0.5172 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3412, allocations: 16.36 kB / 0.5172 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3412, allocations: 5.312 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.3412, allocations: 3.125 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3412, allocations: 6.75 kB / 0.5172 GB, free: 8.531 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 8.919e-05/0.3413, allocations: 136.9 kB / 0.5174 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.3414, allocations: 14.78 kB / 0.5174 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.3414, allocations: 32.2 kB / 0.5174 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3414, allocations: 1.375 kB / 0.5174 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3414, allocations: 3.938 kB / 0.5174 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3414, allocations: 1.375 kB / 0.5174 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.3418, allocations: 398.6 kB / 0.5178 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3418, allocations: 5.406 kB / 0.5178 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.3418, allocations: 6.875 kB / 0.5178 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3418, allocations: 5.312 kB / 0.5178 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3418, allocations: 5.375 kB / 0.5178 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3418, allocations: 1.375 kB / 0.5178 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3418, allocations: 0 / 0.5178 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.342, allocations: 209.9 kB / 0.518 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.3421, allocations: 93.08 kB / 0.5181 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3421, allocations: 5.375 kB / 0.5181 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.3422, allocations: 2.75 kB / 0.5181 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3422, allocations: 10.67 kB / 0.5181 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3422, allocations: 4.062 kB / 0.5181 GB, free: 7.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.3424, allocations: 195.2 kB / 0.5183 GB, free: 7.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 1.25 kB / 0.5183 GB, free: 7.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3426, allocations: 24.17 kB / 0.5184 GB, free: 7.543 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.002033/0.3447, allocations: 1.108 MB / 0.5194 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.3449, allocations: 64.27 kB / 0.5195 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3449, allocations: 0 / 0.5195 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.345, allocations: 24.19 kB / 0.5195 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3453, allocations: 32.41 kB / 0.5195 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3469, allocations: 1.809 MB / 0.5213 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.347, allocations: 0.7119 MB / 0.522 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.611e-05/0.347, allocations: 25.17 kB / 0.522 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.3471, allocations: 47.42 kB / 0.5221 GB, free: 3.855 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3471, allocations: 0 / 0.5221 GB, free: 3.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.3649, allocations: 3.752 MB / 0.5257 GB, free: 40 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.945, allocations: 3.859 kB / 0.5257 GB, free: 40 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.260472466005012] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.13327713101171 9.157751636 8.815318901 Calling exit ...