Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.002073/0.002073, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.002573/0.002573, allocations: 203 kB / 20.79 MB, free: 2.297 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.497/1.497, allocations: 207.6 MB / 231.2 MB, free: 4.117 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.3563/0.3563, allocations: 44.23 MB / 327.3 MB, free: 6.703 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.002195/0.002195, allocations: 76.36 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2932, allocations: 61 MB / 0.5117 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002922/0.2961, allocations: 1.706 MB / 0.5134 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2973, allocations: 0.8174 MB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.2974, allocations: 0 / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.2977, allocations: 43.98 kB / 0.5142 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2979, allocations: 56.97 kB / 0.5143 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.2982, allocations: 82.89 kB / 0.5144 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2983, allocations: 98.41 kB / 0.5144 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2984, allocations: 16.25 kB / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.2985, allocations: 48.2 kB / 0.5145 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.2986, allocations: 30.11 kB / 0.5145 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2986, allocations: 3.969 kB / 0.5145 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.908e-05/0.2987, allocations: 42.03 kB / 0.5146 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.2987, allocations: 23.08 kB / 0.5146 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.2988, allocations: 26.84 kB / 0.5146 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.299, allocations: 115 kB / 0.5147 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.299, allocations: 0 / 0.5147 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.299, allocations: 2.812 kB / 0.5147 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.299, allocations: 4 kB / 0.5147 GB, free: 10.92 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.0004461/0.2994, allocations: 414 kB / 0.5151 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.2995, allocations: 13.77 kB / 0.5151 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.2995, allocations: 192 / 0.5151 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.991e-05/0.2995, allocations: 36.34 kB / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.2996, allocations: 13.84 kB / 0.5152 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.2998, allocations: 215.7 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2998, allocations: 9.5 kB / 0.5154 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.2998, allocations: 1.375 kB / 0.5154 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3, allocations: 54.05 kB / 0.5155 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3, allocations: 1.375 kB / 0.5155 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3, allocations: 3.938 kB / 0.5155 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3, allocations: 1.375 kB / 0.5155 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.3001, allocations: 21.61 kB / 0.5155 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.3003, allocations: 286.8 kB / 0.5158 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3005, allocations: 55.17 kB / 0.5158 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3005, allocations: 21.09 kB / 0.5158 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3006, allocations: 1.375 kB / 0.5158 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.3007, allocations: 73.03 kB / 0.5159 GB, free: 9.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3007, allocations: 0 / 0.5159 GB, free: 9.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005452/0.3012, allocations: 173.3 kB / 0.5161 GB, free: 9.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.3013, allocations: 56.72 kB / 0.5161 GB, free: 9.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.3014, allocations: 186.4 kB / 0.5163 GB, free: 9.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3014, allocations: 31.08 kB / 0.5163 GB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.3014, allocations: 100.3 kB / 0.5164 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.3015, allocations: 28.27 kB / 0.5165 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3015, allocations: 20.44 kB / 0.5165 GB, free: 9.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.3016, allocations: 330.2 kB / 0.5168 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.3016, allocations: 23.05 kB / 0.5168 GB, free: 8.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.3017, allocations: 34.86 kB / 0.5168 GB, free: 8.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3018, allocations: 63.81 kB / 0.5169 GB, free: 8.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3018, allocations: 0 / 0.5169 GB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001679/0.302, allocations: 99.23 kB / 0.517 GB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.302, allocations: 9.25 kB / 0.517 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.302, allocations: 0.8438 kB / 0.517 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.302, allocations: 1.281 kB / 0.517 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.3021, allocations: 21.11 kB / 0.517 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3021, allocations: 5.125 kB / 0.517 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.3022, allocations: 6.594 kB / 0.517 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3022, allocations: 2.156 kB / 0.517 GB, free: 8.727 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.053e-05/0.3022, allocations: 122.7 kB / 0.5172 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.3023, allocations: 9.516 kB / 0.5172 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.3023, allocations: 17.06 kB / 0.5172 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3023, allocations: 1.125 kB / 0.5172 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3023, allocations: 5.188 kB / 0.5172 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3023, allocations: 0 / 0.5172 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.3026, allocations: 396.5 kB / 0.5176 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3026, allocations: 6.266 kB / 0.5176 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.3027, allocations: 6.594 kB / 0.5176 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3027, allocations: 9.219 kB / 0.5176 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3027, allocations: 9.312 kB / 0.5176 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3027, allocations: 1.312 kB / 0.5176 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3027, allocations: 5.219 kB / 0.5176 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3029, allocations: 192.5 kB / 0.5178 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.3029, allocations: 95.69 kB / 0.5179 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.3029, allocations: 9.422 kB / 0.5179 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.303, allocations: 5.406 kB / 0.5179 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.303, allocations: 8.172 kB / 0.5179 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3031, allocations: 2.812 kB / 0.5179 GB, free: 7.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.944e-05/0.3032, allocations: 146.3 kB / 0.5181 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3032, allocations: 3.938 kB / 0.5181 GB, free: 7.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3034, allocations: 19.73 kB / 0.5181 GB, free: 7.77 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.001913/0.3053, allocations: 1.111 MB / 0.5192 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3055, allocations: 59.53 kB / 0.5192 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3055, allocations: 1.375 kB / 0.5192 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.3056, allocations: 23.11 kB / 0.5192 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.306, allocations: 28.27 kB / 0.5193 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.3075, allocations: 1.633 MB / 0.5209 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3076, allocations: 0.7079 MB / 0.5216 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.3077, allocations: 21.17 kB / 0.5216 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.3078, allocations: 35.36 kB / 0.5216 GB, free: 4.348 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3078, allocations: 0 / 0.5216 GB, free: 4.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.3256, allocations: 3.416 MB / 0.5249 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.686/9.012, allocations: 11.94 kB / 0.525 GB, free: 0.8438 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.9510018969886] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.196927496988792 9.223614871 8.919573202 Calling exit ...