Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001377/0.001377, allocations: 122.2 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.001624/0.001624, allocations: 211.8 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.727/1.727, allocations: 207.6 MB / 231.2 MB, free: 4.141 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.3706/0.3706, allocations: 44.23 MB / 327.3 MB, free: 6.684 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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.002204/0.002204, allocations: 68.47 kB / 463 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3214, allocations: 60.99 MB / 0.5117 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002742/0.3241, allocations: 1.71 MB / 0.5134 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3252, allocations: 0.8147 MB / 0.5142 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.3253, allocations: 5.219 kB / 0.5142 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.3256, allocations: 45.39 kB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.3258, allocations: 56.62 kB / 0.5143 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.326, allocations: 85.53 kB / 0.5144 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3262, allocations: 99.02 kB / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.3263, allocations: 8.469 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.3263, allocations: 44.09 kB / 0.5145 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.3264, allocations: 34.41 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3264, allocations: 4.625 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.3265, allocations: 44.92 kB / 0.5146 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.3266, allocations: 21.83 kB / 0.5146 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.3266, allocations: 32.3 kB / 0.5146 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3268, allocations: 108.8 kB / 0.5147 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3268, allocations: 0 / 0.5147 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3268, allocations: 0 / 0.5147 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3268, allocations: 1.375 kB / 0.5147 GB, free: 10.95 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.000432/0.3272, allocations: 410.2 kB / 0.5151 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3272, allocations: 13.48 kB / 0.5151 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.3273, allocations: 12.12 kB / 0.5152 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.001e-05/0.3273, allocations: 32.12 kB / 0.5152 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.3273, allocations: 9.016 kB / 0.5152 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3275, allocations: 199.1 kB / 0.5154 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3275, allocations: 13.34 kB / 0.5154 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3276, allocations: 3.344 kB / 0.5154 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3277, allocations: 53.61 kB / 0.5154 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3277, allocations: 3.953 kB / 0.5155 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3277, allocations: 1.312 kB / 0.5155 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3277, allocations: 7.938 kB / 0.5155 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.3278, allocations: 22.83 kB / 0.5155 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.3281, allocations: 285.4 kB / 0.5158 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3282, allocations: 51.95 kB / 0.5158 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.3283, allocations: 20.39 kB / 0.5158 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3283, allocations: 1.219 kB / 0.5158 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.3285, allocations: 69.39 kB / 0.5159 GB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3285, allocations: 0 / 0.5159 GB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.329, allocations: 177.5 kB / 0.5161 GB, free: 9.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.329, allocations: 52.56 kB / 0.5161 GB, free: 9.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3291, allocations: 175.9 kB / 0.5163 GB, free: 9.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.3291, allocations: 31.05 kB / 0.5163 GB, free: 9.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.3292, allocations: 96.17 kB / 0.5164 GB, free: 9.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3292, allocations: 27.72 kB / 0.5164 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3292, allocations: 20.69 kB / 0.5164 GB, free: 9.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.564e-05/0.3293, allocations: 322.1 kB / 0.5168 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.3293, allocations: 23.42 kB / 0.5168 GB, free: 8.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.3294, allocations: 34.55 kB / 0.5168 GB, free: 8.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3295, allocations: 67.81 kB / 0.5169 GB, free: 8.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3295, allocations: 0 / 0.5169 GB, free: 8.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001635/0.3297, allocations: 102.8 kB / 0.517 GB, free: 8.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.3297, allocations: 5.594 kB / 0.517 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3297, allocations: 5.344 kB / 0.517 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3297, allocations: 0 / 0.517 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.3298, allocations: 21.81 kB / 0.517 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3298, allocations: 5.312 kB / 0.517 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.3298, allocations: 9.25 kB / 0.517 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3298, allocations: 3.594 kB / 0.517 GB, free: 8.77 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 6.759e-05/0.3299, allocations: 121.2 kB / 0.5171 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.3299, allocations: 8.672 kB / 0.5171 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.33, allocations: 13.56 kB / 0.5172 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.33, allocations: 5.031 kB / 0.5172 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.33, allocations: 3.938 kB / 0.5172 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.33, allocations: 1.312 kB / 0.5172 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.3303, allocations: 391.9 kB / 0.5175 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3303, allocations: 0 / 0.5175 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.3303, allocations: 16.14 kB / 0.5176 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3303, allocations: 5.156 kB / 0.5176 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3304, allocations: 5.125 kB / 0.5176 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3304, allocations: 1.406 kB / 0.5176 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3304, allocations: 1.625 kB / 0.5176 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.3305, allocations: 202.9 kB / 0.5178 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.3306, allocations: 87.75 kB / 0.5178 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.3306, allocations: 6.734 kB / 0.5179 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.3307, allocations: 5.375 kB / 0.5179 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.3307, allocations: 4.125 kB / 0.5179 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3307, allocations: 6.734 kB / 0.5179 GB, free: 7.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.3308, allocations: 135.5 kB / 0.518 GB, free: 7.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3308, allocations: 7.938 kB / 0.518 GB, free: 7.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.331, allocations: 24.44 kB / 0.518 GB, free: 7.82 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.3329, allocations: 1.104 MB / 0.5191 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3331, allocations: 51.55 kB / 0.5192 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3331, allocations: 0 / 0.5192 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.3331, allocations: 36.41 kB / 0.5192 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3335, allocations: 28.38 kB / 0.5192 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3347, allocations: 1.611 MB / 0.5208 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.3349, allocations: 0.7001 MB / 0.5215 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.3349, allocations: 21.17 kB / 0.5215 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.335, allocations: 31.42 kB / 0.5215 GB, free: 4.441 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.335, allocations: 0 / 0.5215 GB, free: 4.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.3527, allocations: 3.351 MB / 0.5248 GB, free: 1.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.831, allocations: 10.69 kB / 0.5248 GB, free: 1.016 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.011404293007217] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.011291733011603 9.034717592 8.703869549 Calling exit ...