Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001491/0.001491, allocations: 126.2 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.001539/0.001539, allocations: 203.8 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.477/1.477, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.3267/0.3267, allocations: 44.23 MB / 327.3 MB, free: 6.711 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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.002389/0.002389, allocations: 71.91 kB / 463 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3306, allocations: 61.01 MB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003371/0.334, allocations: 1.701 MB / 0.5134 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3358, allocations: 1.419 MB / 0.5148 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.3359, allocations: 1.812 kB / 0.5148 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3362, allocations: 44.2 kB / 0.5148 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3365, allocations: 54 kB / 0.5149 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3368, allocations: 88.61 kB / 0.5149 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3369, allocations: 94.19 kB / 0.515 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.337, allocations: 13.03 kB / 0.515 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.519e-05/0.3371, allocations: 48.45 kB / 0.5151 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3373, allocations: 49.38 kB / 0.5151 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.3373, allocations: 3.969 kB / 0.5151 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3374, allocations: 61.22 kB / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.3375, allocations: 19.86 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.3375, allocations: 30.89 kB / 0.5152 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3377, allocations: 122.8 kB / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3378, allocations: 0 / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3378, allocations: 0 / 0.5154 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3378, allocations: 1.5 kB / 0.5154 GB, free: 10.3 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.0004742/0.3382, allocations: 413.3 kB / 0.5158 GB, free: 9.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3383, allocations: 13.8 kB / 0.5158 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.445e-05/0.3383, allocations: 5.469 kB / 0.5158 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.477e-05/0.3383, allocations: 31.97 kB / 0.5158 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3383, allocations: 8.797 kB / 0.5158 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3386, allocations: 206.2 kB / 0.516 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3386, allocations: 5.406 kB / 0.516 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3386, allocations: 6.516 kB / 0.516 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3388, allocations: 69.27 kB / 0.5161 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3388, allocations: 3.938 kB / 0.5161 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3388, allocations: 1 kB / 0.5161 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3388, allocations: 5.156 kB / 0.5161 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.3389, allocations: 21.98 kB / 0.5161 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3392, allocations: 284.1 kB / 0.5164 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.3394, allocations: 60.42 kB / 0.5165 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.3395, allocations: 20.23 kB / 0.5165 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3395, allocations: 5.141 kB / 0.5165 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3397, allocations: 65.83 kB / 0.5165 GB, free: 9.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3397, allocations: 0 / 0.5165 GB, free: 9.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005487/0.3402, allocations: 165.2 kB / 0.5167 GB, free: 8.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3403, allocations: 82.88 kB / 0.5168 GB, free: 8.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3404, allocations: 162.9 kB / 0.5169 GB, free: 8.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3404, allocations: 27.45 kB / 0.517 GB, free: 8.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3404, allocations: 95.78 kB / 0.517 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.3405, allocations: 22.73 kB / 0.5171 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.3405, allocations: 33.17 kB / 0.5171 GB, free: 8.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.3406, allocations: 325.6 kB / 0.5174 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.3406, allocations: 19.22 kB / 0.5174 GB, free: 8.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.3407, allocations: 44.97 kB / 0.5175 GB, free: 8.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3408, allocations: 63.53 kB / 0.5175 GB, free: 8.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.3408, allocations: 0 / 0.5175 GB, free: 8.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001716/0.341, allocations: 98.42 kB / 0.5176 GB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.341, allocations: 13.55 kB / 0.5176 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.341, allocations: 1.281 kB / 0.5176 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.341, allocations: 0 / 0.5176 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.3411, allocations: 13.62 kB / 0.5177 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3411, allocations: 5.312 kB / 0.5177 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3412, allocations: 6.75 kB / 0.5177 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3412, allocations: 6.734 kB / 0.5177 GB, free: 8.062 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.698e-05/0.3413, allocations: 115.3 kB / 0.5178 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.3413, allocations: 13.39 kB / 0.5178 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3413, allocations: 15.47 kB / 0.5178 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3413, allocations: 5.359 kB / 0.5178 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3413, allocations: 3.938 kB / 0.5178 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3413, allocations: 1.375 kB / 0.5178 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3417, allocations: 390.4 kB / 0.5182 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3417, allocations: 384 / 0.5182 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.3417, allocations: 8.25 kB / 0.5182 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3417, allocations: 9.312 kB / 0.5182 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3417, allocations: 9.391 kB / 0.5182 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3417, allocations: 1.375 kB / 0.5182 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3417, allocations: 0 / 0.5182 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.3419, allocations: 196.3 kB / 0.5184 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.342, allocations: 87.75 kB / 0.5185 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.342, allocations: 5.375 kB / 0.5185 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.3421, allocations: 10.67 kB / 0.5185 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3421, allocations: 6.75 kB / 0.5185 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3421, allocations: 4.125 kB / 0.5185 GB, free: 7.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.3422, allocations: 119.8 kB / 0.5186 GB, free: 7.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3422, allocations: 0 / 0.5186 GB, free: 7.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3425, allocations: 32.55 kB / 0.5187 GB, free: 7.121 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.002119/0.3446, allocations: 1.143 MB / 0.5198 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.3448, allocations: 56.91 kB / 0.5198 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3448, allocations: 0 / 0.5198 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.3449, allocations: 32.42 kB / 0.5199 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3452, allocations: 28.25 kB / 0.5199 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.3467, allocations: 1.567 MB / 0.5214 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3468, allocations: 0.6963 MB / 0.5221 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.3469, allocations: 17.33 kB / 0.5221 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.3469, allocations: 39.42 kB / 0.5222 GB, free: 3.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3469, allocations: 0 / 0.5222 GB, free: 3.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.3684, allocations: 3.592 MB / 0.5257 GB, free: 52 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.732/9.101, allocations: 13.8 kB / 0.5257 GB, free: 40 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.984037163027097] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.286548422998749 9.313357652 8.970800986 Calling exit ...